@charset "UTF-8";

/* ==========================================================================
   1. CSS VARIABLES & DESIGN TOKENS (AMAZON-INSPIRED THEME)
   ========================================================================== */
:root {
  /* Colors - Backgrounds (#FFFFFF primary, #F5F5F5 secondary alternating) */
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-subtle: #f5f5f5;
  --bg-muted: #f5f5f5;

  /* Colors - Amazon Header & Footer Dark Navy Palette */
  --nav-dark: #131921;
  --nav-sub: #232f3e;
  --nav-footer: #232f3e;
  --nav-footer-bottom: #131a22;

  /* Colors - Typography */
  --text-primary: #0f1111;
  --text-secondary: #565959;
  --text-muted: #767676;
  --text-inverse: #ffffff;
  --text-link: #007185;
  --text-link-hover: #c7511f;
  --text-price: #b12704;
  --text-success: #007600;
  --text-danger: #cc0c39;

  /* Colors - Interactive & CTA (Amber / Orange) */
  --cta-amber: #ffa41c;
  --cta-amber-hover: #fa8900;
  --cta-yellow: #ffd814;
  --cta-yellow-hover: #f7ca00;
  --cta-search: #febd69;
  --cta-search-hover: #f3a847;
  --focus-ring: #e77600;
  --focus-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);

  /* Borders & Elevations */
  --border-color: #d5d9d9;
  --border-light: #e7e7e7;
  --border-input: #888c8c;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-card: 0 1px 2px rgba(15, 17, 17, 0.15);
  --shadow-hover: 0 4px 12px rgba(15, 17, 17, 0.12);
  --shadow-dropdown: 0 4px 16px rgba(15, 17, 17, 0.2);

  /* Layout & Typography */
  --container-max: 1400px;
  --font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --transition-fast: 0.15s ease-in-out;
  --transition-base: 0.25s ease;
}

/* ==========================================================================
   2. ICON FONTS (FONTAWESOME & GLYPHICONS FALLBACK FOR LEGACY/C# MARKUP)
   ========================================================================== */
@font-face {
  font-family: "FontAwesome";
  font-display: swap;
  src:
    url("../Fonts/fontawesome-webfont.woff2?v=4.4.1") format("woff2"),
    url("../Fonts/fontawesome-webfont.woff?v=4.4.1") format("woff"),
    url("../Fonts/fontawesome-webfont.ttf?v=4.4.1") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Glyphicons Halflings";
  font-display: swap;
  src:
    url("../Fonts/glyphicons-halflings-regular.woff2") format("woff2"),
    url("../Fonts/glyphicons-halflings-regular.woff") format("woff"),
    url("../Fonts/glyphicons-halflings-regular.ttf") format("truetype");
}

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.glyphicon {
  display: inline-block;
  font-family: "Glyphicons Halflings";
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.fa-filter:before {
  content: "\f0b0";
}
.fa-search::before {
  content: "\f002";
}
.fa-user::before {
  content: "\f007";
}
.fa-map-marker:before {
  content: "\f041";
}
.fa-check::before {
  content: "\f00c";
}
.fa-key:before {
  content: "\f084";
}
.fa-remove::before,
.fa-close::before,
.fa-times::before {
  content: "\f00d";
}
.fa-home::before {
  content: "\f015";
}
.fa-envelope-o:before {
  content: "\f003";
}
.fa-file-text-o:before {
  content: "\f0f6";
}
.fa-unlock:before {
  content: "\f09c";
}
.fa-info-circle:before {
  content: "\f05a";
}
.fa-sign-out:before {
  content: "\f08b";
}
.fa-refresh::before {
  content: "\f021";
}
.fa-tag::before {
  content: "\f02b";
}
.fa-book::before {
  content: "\f02d";
}
.fa-print::before {
  content: "\f02f";
}
.fa-chevron-left::before {
  content: "\f053";
}
.fa-chevron-right::before {
  content: "\f054";
}
.fa-arrow-up::before {
  content: "\f062";
}
.fa-plus::before {
  content: "\f067";
}
.fa-minus::before {
  content: "\f068";
}
.fa-shopping-cart::before {
  content: "\f07a";
}
.fa-thumbs-o-up::before {
  content: "\f087";
}
.fa-phone::before {
  content: "\f095";
}
.fa-twitter::before {
  content: "\f099";
}
.fa-facebook-f::before,
.fa-facebook::before {
  content: "\f09a";
}
.fa-bars::before,
.fa-navicon::before {
  content: "\f0c9";
}
.fa-truck::before {
  content: "\f0d1";
}
.fa-google-plus::before {
  content: "\f0d5";
}
.fa-money::before {
  content: "\f0d6";
}
.fa-caret-down::before {
  content: "\f0d7";
}
.fa-envelope::before {
  content: "\f0e0";
}
.fa-linkedin::before {
  content: "\f0e1";
}
.fa-link::before {
  content: "\f0c1";
}
.fa-angle-double-left::before {
  content: "\f100";
}
.fa-angle-double-right::before {
  content: "\f101";
}
.fa-angle-left::before {
  content: "\f104";
}
.fa-angle-right::before {
  content: "\f105";
}
.fa-angle-down::before {
  content: "\f107";
}
.fa-ellipsis-v::before {
  content: "\f142";
}
.fa-youtube::before {
  content: "\f167";
}
.fa-share-alt::before {
  content: "\f1e0";
}
.fa-cart-plus::before {
  content: "\f217";
}
.glyphicon-chevron-left::before {
  content: "\e079";
}
.glyphicon-chevron-right::before {
  content: "\e080";
}

/* ==========================================================================
   3. MODERN CSS RESET & BASE ELEMENTS
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 991px) {
  body.hide-srcoll {
    overflow: hidden;
  }
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

p {
  margin: 0 0 0.75rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-link-hover);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

/* Focus State (Amazon Orange Outline) */
input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 0;
  box-shadow: var(--focus-shadow);
}

/* Accessibility & Utilities */
.sr-only,
.ui-helper-hidden-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hidden,
.hide {
  display: none !important;
}

.show {
  display: block !important;
}

.required {
  color: var(--text-danger);
  font-weight: 700;
  margin-left: 2px;
}

/* Container (Amazon 1600px fluid layout) */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Card / Box Surface */
.card,
.box {
  background-color: var(--bg-surface);
  border: 1px solid #eaeaea;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.section-header,
.g-Tab,
.tab-pro-page {
  padding: 0 88px 18px 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #171f26;
  border-bottom: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-pro-page {
  padding: 14px 18px;
  font-size: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-surface);
}

.tab-pro-page span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ==========================================================================
   4. HEADER & NAVIGATION (AMAZON DARK NAVY BELT)
   ========================================================================== */
.ads-top-page {
  background-color: var(--nav-dark);
  text-align: center;
  overflow: hidden;
}

.ads-top-page a {
  display: block;
  max-width: var(--container-max);
  margin: 0 auto;
}

.ads-top-page img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: var(--container-max);
  height: auto !important;
  object-fit: contain;
}

header {
  background-color: #ffffff;
  color: var(--text-primary);
  position: relative;
}

.header-top-belt {
  background-color: #ffffff;
  color: var(--text-primary);
  border-bottom: 1px solid #ececec;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

#logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0;
  background-color: transparent;
  transition: opacity var(--transition-fast);
}

#logo:hover {
  opacity: 0.9;
}

#logo img {
  max-height: 62px;
  height: 62px;
  width: auto;
  object-fit: contain;
}

/* Center Section: Pill Search Bar + Hotline */
.head-mid {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  max-width: 820px;
}

.search-from-boday {
  flex: 1 1 auto;
  max-width: 580px;
}

.search-box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 3px 4px 3px 18px;
  background-color: #f8f9fa;
  border-radius: 999px;
  border: 1.5px solid #d5d9d9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.search-box:focus-within {
  background-color: #ffffff;
  border-color: #c7511f;
  box-shadow: 0 0 0 3px rgba(199, 81, 31, 0.18);
}

.input-bar {
  flex: 1 1 auto;
  display: flex;
  height: 100%;
}

.inputSearch {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0 10px 0 0;
  font-size: 0.9375rem;
  color: #171f26;
  background: transparent;
}

.inputSearch:focus {
  outline: none;
  box-shadow: none;
}

.search-icon-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#btnSearch,
.btn-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background-color: #c7511f;
  color: #ffffff;
  font-size: 0;
  border: 0;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

#btnSearch::before,
.btn-search-submit::before {
  font-family: FontAwesome;
  content: "\f002";
  font-size: 0.9375rem;
  color: #ffffff;
}

#btnSearch:hover,
.btn-search-submit:hover {
  background-color: #e65a22;
  transform: scale(1.05);
}

/* Hotline */
.hotline-branch {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.35;
  white-space: nowrap;
  flex-shrink: 0;
}

.hotline-branch .hotline-label {
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 500;
}

.hotline-branch b {
  display: block;
  font-weight: 700;
}

.hotline-branch a {
  color: #c7511f;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hotline-branch a:hover {
  color: #e65a22;
  text-decoration: underline;
}

/* Right Actions: Account + Cart */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.account-area,
.cart-link {
  position: relative;
}

.account-link-pad {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: #171f26;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.account-link-pad:hover {
  background-color: #f8f9fa;
  color: #c7511f;
}

.account-link-pad .fa-user {
  display: inline-flex !important;
  font-size: 1.25rem;
  color: #c7511f;
}

.account-link-pad .i-view-more,
.account-login {
  display: none !important;
}

.account-login-more {
  display: inline-block !important;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #171f26;
  transition: color var(--transition-fast);
}

.account-link-pad:hover .account-login-more {
  color: #c7511f;
}

/* Cart Button */
.cart-link > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  background-color: #c7511f;
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(199, 81, 31, 0.25);
  transition: all var(--transition-fast);
}

.cart-link > a:hover {
  background-color: #e65a22;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(199, 81, 31, 0.35);
}

.cart-link .fa-shopping-cart {
  font-size: 1.15rem;
  color: #ffffff;
}

.cart-link-pad {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-link-pad .i-view-more,
.cart-unit-text {
  display: none;
}

.cart-title {
  display: inline;
  font-size: 0.875rem;
  color: #ffffff;
}

.cart-title b {
  font-weight: 600;
}

.cart-status {
  display: inline-flex;
  align-items: center;
}

.total-quantity-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: #ffffff;
  color: #c7511f;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

body.modal-open {
  overflow: hidden;
}

/* ==========================================================================
   CENTERED ACCOUNT MODAL POPUP (.contentEGP)
   ========================================================================== */
.contentEGP {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  z-index: 999999 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.contentEGP.show-modal {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.contentEGP .form-head {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 420px;
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contentEGP.show-modal .form-head {
  transform: scale(1);
}

.contentEGP .close-form {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  background-color: #f3f4f6;
  color: #6b7280;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contentEGP .close-form:hover {
  background-color: #e5e7eb;
  color: #111827;
  transform: rotate(90deg);
}

.account-modal-title {
  margin: 0 0 4px 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.account-modal-title .fa {
  color: #c7511f;
}

.account-modal-userinfo {
  background: #fff8f5;
  border: 1px solid #ffe2d4;
  border-radius: 8px;
  padding: 10px 14px;
  color: #c7511f;
  font-size: 0.9375rem;
  text-align: center;
}

.contentEGP .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #1f2937;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  transition: all 0.2s;
}

.contentEGP .dropdown-item:hover {
  background-color: #fff4ed;
  color: #c7511f;
  border-color: #ffd2b8;
  transform: translateX(3px);
}

.contentEGP .dropdown-item.logout-link {
  color: #dc2626;
  background-color: #fef2f2;
  border-color: #fee2e2;
}

.contentEGP .dropdown-item.logout-link:hover {
  background-color: #fee2e2;
  color: #b91c1c;
}

.contentEGP .input-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contentEGP .modal-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}

.contentEGP .input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.contentEGP .input-wrap .fa {
  position: absolute;
  left: 14px;
  color: #9ca3af;
  font-size: 0.95rem;
}

.contentEGP .input-wrap input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 38px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  color: #111827;
  background-color: #f9fafb;
  font-size: 0.9375rem;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.contentEGP .input-wrap input:focus {
  border-color: #c7511f;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(199, 81, 31, 0.15);
}

.contentEGP .btn-submit-login,
.contentEGP .button {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #ffa41c 0%, #fa8900 100%);
  color: #0f1111;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(250, 137, 0, 0.35);
  transition: all 0.2s;
}

.contentEGP .btn-submit-login:hover,
.contentEGP .button:hover {
  background: linear-gradient(135deg, #ff9900 0%, #e77600 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(231, 118, 0, 0.45);
}

.contentEGP .note-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84375rem;
  padding-top: 4px;
}

.contentEGP .note-wrapper a {
  color: #c7511f;
  text-decoration: none;
  font-weight: 600;
}

.contentEGP .note-wrapper a:hover {
  text-decoration: underline;
}

.contentEGP .note-wrapper .sep {
  color: #d1d5db;
}

/* ==========================================================================
   CENTERED SEARCH MODAL POPUP (#search-modal-popup)
   ========================================================================== */
.search-modal-backdrop {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  z-index: 999999 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.search-modal-backdrop.show-modal {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.search-modal-dialog {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 620px;
  padding: 32px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-backdrop.show-modal .search-modal-dialog {
  transform: scale(1);
}

.search-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background-color: #f3f4f6;
  color: #6b7280;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.search-modal-close:hover {
  background-color: #e5e7eb;
  color: #111827;
  transform: rotate(90deg);
}

.search-modal-header {
  padding-right: 32px;
}

.search-modal-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-modal-title .fa {
  color: #c7511f;
}

.search-modal-subtitle {
  margin: 6px 0 0 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.search-modal-bar {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #c7511f;
  border-radius: 999px;
  padding: 3px 4px 3px 18px;
  box-shadow: 0 4px 16px rgba(199, 81, 31, 0.15);
  transition: box-shadow 0.2s;
}

.search-modal-bar:focus-within {
  box-shadow: 0 6px 24px rgba(199, 81, 31, 0.28);
}

.search-input-icon {
  color: #9ca3af;
  font-size: 1.1rem;
  margin-right: 10px;
}

.search-modal-input {
  flex: 1;
  border: 0;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  font-size: 1rem;
  color: #111827;
  min-width: 0;
  padding: 8px 0;
}

.search-modal-input::placeholder {
  color: #9ca3af;
}

.search-modal-clear {
  display: none;
  background: transparent;
  border: 0;
  color: #9ca3af;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 8px;
}

.search-modal-clear:hover {
  color: #4b5563;
}

.search-modal-btn {
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffa41c 0%, #fa8900 100%);
  color: #0f1111;
  font-weight: 700;
  font-size: 0.8rem;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(250, 137, 0, 0.35);
  transition: all 0.2s;
  flex-shrink: 0;
}

.search-modal-btn:hover {
  background: linear-gradient(135deg, #ff9900 0%, #e77600 100%);
  transform: translateY(-1px);
}

.search-modal-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.tags-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-tag-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.84375rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s;
}

.search-tag-item:hover {
  background: #fff3eb;
  color: #c7511f;
  border-color: #ffcdb5;
  transform: translateY(-1px);
}

/* ==========================================================================
   ORANGE NAVIGATION BAR (.head-bottom #C7511F) & STICKY SCROLL
   ========================================================================== */
.head-bottom-holder {
  position: relative;
  width: 100%;
  min-height: 46px;
  z-index: 1010;
}

.head-bottom {
  background-color: #c7511f;
  border-top: 0;
  border-bottom: 0;
  box-shadow: 0 2px 8px rgba(199, 81, 31, 0.2);
  position: relative;
  width: 100%;
  z-index: 1010;
  transition: box-shadow var(--transition-fast);
}

.head-bottom.is-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1050;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: stickySlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stickySlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.head-bottom > .container {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 46px;
}

.head-bottom-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.all-categories {
  position: relative;
  flex-shrink: 0;
  z-index: 1020;
  height: 100%;
}

.dropdown-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.dropdown-nav .tab-menu {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  height: 46px;
  padding: 0 16px;
  background-color: rgba(0, 0, 0, 0.12);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.dropdown-nav .tab-menu:hover,
.all-categories:hover .dropdown-nav .tab-menu {
  background-color: rgba(0, 0, 0, 0.24);
  color: #ffffff;
}

.hamburger-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 14px;
  gap: 3px;
  flex-shrink: 0;
  color: #ffffff;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
}

.tab-menu-text {
  line-height: 1;
  white-space: nowrap;
}

.tab-menu-caret {
  margin-left: auto;
  font-size: 0.875rem;
  color: #ffffff;
  transition: transform var(--transition-fast);
}

.all-categories:hover .tab-menu-caret {
  transform: rotate(180deg);
}

/* Category Flyout Menu (#maincate-nav) - FIXED HOVER WITHOUT CLOSING */
.show-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-top: 2px solid #c7511f;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  z-index: 1030;
  margin: 0;
}

/* Invisible bridge so mouse never drops hover */
.drawer-header-mobile {
  display: none;
}

.show-menu::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Hide mobile-only accordion toggle and overlay on Desktop */
.nav-menu .dropdown-toggle {
  display: none;
}

.overlay-menu {
  display: none !important;
}

.nav-menu li {
  position: relative;
}

.nav-menu > li {
  border-bottom: 1px solid var(--border-light);
}

.nav-menu > li:last-child {
  border-bottom: 0;
}

.nav-menu li h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.nav-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 16px;
  font-size: 0.875rem;
  color: #171f26;
  font-weight: 500;
  line-height: 1.35;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.nav-menu li:hover > a,
.nav-menu li:hover > h3 > a {
  background-color: #fff5f0;
  color: #c7511f;
  font-weight: 600;
}

/* Default state: hide all nested category sub-menus on all viewports unless activated */
.nav-menu ul.dropdown-menu {
  display: none;
}

@media (min-width: 992px) {
  #maincate-nav {
    display: none !important;
    padding: 4px 0;
  }

  .drawer-secondary-menu {
    display: none !important;
  }

  .all-categories.is-active #maincate-nav,
  .all-categories:hover #maincate-nav,
  .all-categories:focus-within #maincate-nav {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-menu li.dropdown > a::after,
  .nav-menu li.dropdown > h3 > a::after {
    font-family: FontAwesome;
    content: "\f054";
    font-size: 0.6875rem;
    color: #9ca3af;
    flex-shrink: 0;
  }

  .nav-menu li.dropdown:hover > a::after,
  .nav-menu li.dropdown:hover > h3 > a::after {
    color: #c7511f;
  }

  .nav-menu ul.dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 250px;
    width: max-content;
    max-width: 340px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    padding: 4px 0;
    z-index: 1040;
  }

  /* Invisible bridge for submenus */
  .nav-menu ul.dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px;
    width: 15px;
    background: transparent;
  }

  .nav-menu ul.dropdown-menu > li {
    border-bottom: 1px solid var(--border-light);
  }

  .nav-menu ul.dropdown-menu > li:last-child {
    border-bottom: 0;
  }

  .nav-menu li:hover > ul.dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #right-top-main > ul.main-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
  }
}

/* Horizontal Top Menu (#right-top-main) on Orange Bar */
#right-top-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding-left: 14px;
}

.btn-menu-top-mobile,
#menu-button {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.main-nav > li {
  display: inline-flex;
  align-items: center;
}

.main-nav > li > a {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 16px;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.main-nav > li > a:hover {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.12);
}

.mobile-head-search {
  display: none;
}

/* Sticky Action Icons in head-bottom (Search, Account, Cart) */
.head-bottom-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px) scale(0.92);
  pointer-events: none;
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s;
}

.head-bottom.is-sticky .head-bottom-actions {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.sticky-act-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sticky-icon-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  cursor: pointer;
  position: relative;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.sticky-icon-btn:hover {
  background-color: #ffffff;
  color: #c7511f;
  transform: scale(1.08);
}

.sticky-cart-link .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background-color: #ffa41c;
  color: #171f26;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* Desktop sticky inline search bar (max-width 200px); Mobile keeps modal icon */
@media (min-width: 992px) {
  .sticky-act-search .btn-open-search-modal {
    display: none !important;
  }

  .sticky-desktop-search {
    display: block;
    width: 320px;
    max-width: 320px;
    flex: 0 0 320px;
  }

  .sticky-desktop-search .search-box {
    height: 36px;
    padding: 2px 3px 2px 12px;
    border: 1.5px solid #d5d9d9;
    background-color: #f8f9fa;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  }

  .sticky-desktop-search .search-box:focus-within {
    background-color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
  }

  .sticky-desktop-search .inputSearch {
    font-size: 0.8125rem;
    padding: 0 6px 0 0;
  }

  .sticky-desktop-search .btn-search-submit {
    width: 28px;
    height: 28px;
  }

  .sticky-desktop-search .btn-search-submit::before {
    font-size: 0.8125rem;
  }
}

@media (max-width: 991px) {
  .sticky-desktop-search {
    display: none !important;
  }
}

.sticky-search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background-color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 2px solid #c7511f;
  padding: 3px 4px 3px 16px;
  z-index: 1060;
  align-items: center;
}

.sticky-search-dropdown.show {
  display: flex;
  animation: fadeInScale 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sticky-search-input {
  flex: 1 1 auto;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  color: #171f26;
  padding: 0 8px 0 0;
}

.sticky-search-submit {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #c7511f;
  color: #ffffff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.sticky-search-submit:hover {
  background-color: #e65a22;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast);
}

.main-nav > li > a:hover {
  color: var(--text-link-hover);
  background-color: #f9fafb;
}

/* ==========================================================================
   5. FLOATING ACTION BARS (#menuFixed & .toolFixed)
   ========================================================================== */
.menuFixed {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translate(100%, -50%);
  z-index: 990;
  transition: transform var(--transition-base);
  pointer-events: none;
}

.menuFixed.active {
  transform: translate(0, -50%);
}

.menuFixed li {
  position: relative;
  height: 42px;
  margin-bottom: 2px;
  pointer-events: auto;
}

.menuFixed li .divIcon {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  background-color: var(--nav-sub);
  color: var(--cta-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  cursor: pointer;
  z-index: 2;
  font-size: 1.125rem;
  box-shadow: var(--shadow-card);
}

.menuFixed li .divText {
  position: absolute;
  right: 42px;
  top: 0;
  height: 42px;
  white-space: nowrap;
  background-color: var(--nav-dark);
  color: var(--text-inverse);
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  transform: translateX(120%);
  transition: transform var(--transition-base);
  font-size: 0.8125rem;
}

.menuFixed li:hover .divText {
  transform: translateX(0);
}

.menuFixed li .divText a {
  color: var(--cta-amber);
  font-weight: 700;
}

.menuFixed li .divText em {
  display: block;
  font-size: 0.7rem;
  color: #cccccc;
  font-style: normal;
}

.menuFixed li .divText .social {
  display: flex;
  gap: 10px;
}

.toolFixed {
  position: fixed;
  right: 10px;
  bottom: 30px;
  z-index: 995;
}

.toolFixed ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toolFixed .phone-vr {
  position: relative;
  width: 44px;
  height: 44px;
}

/* Pulsing brand-colored rings */
.toolFixed .phone-vr-circle-fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: rgba(199, 81, 31, 0.45);
  pointer-events: none;
  animation: toolFixedPulse 2s ease-out infinite;
}

.toolFixed li:nth-child(2) .phone-vr-circle-fill {
  animation-delay: 0.4s;
}

.toolFixed li:nth-child(3) .phone-vr-circle-fill {
  animation-delay: 0.8s;
}

.toolFixed li:nth-child(4) .phone-vr-circle-fill {
  animation-delay: 1.2s;
}

.phone-vr-img-circle a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e0642a 0%, #c7511f 60%, #a8400f 100%);
  border: 2px solid #ffb48a;
  box-shadow:
    0 6px 16px rgba(199, 81, 31, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.phone-vr-img-circle a img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  transition: transform var(--transition-fast);
}

.phone-vr-img-circle a:hover {
  transform: translateY(-3px) scale(1.1);
  background: linear-gradient(145deg, #f07a3d 0%, #d95a1f 60%, #b84813 100%);
  box-shadow:
    0 10px 22px rgba(199, 81, 31, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

.phone-vr-img-circle a:hover img {
  animation: toolFixedShake 0.6s ease-in-out;
}

.toolFixed .f-hotline .phone-vr-img-circle a img {
  animation: toolFixedShake 2.4s ease-in-out infinite;
}

/* Brand colors: Messenger */
.toolFixed .f-messenger .phone-vr-circle-fill {
  background-color: rgba(10, 124, 255, 0.45);
}

.toolFixed .f-messenger .phone-vr-img-circle a {
  background: #0a7cff;
  border-color: #6bb4ff;
  box-shadow:
    0 6px 16px rgba(10, 124, 255, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.toolFixed .f-messenger .phone-vr-img-circle a:hover {
  background: #2b8fff;
  box-shadow:
    0 10px 22px rgba(10, 124, 255, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

/* Brand colors: Zalo */
.toolFixed .f-zalo .phone-vr-circle-fill {
  background-color: rgba(0, 104, 255, 0.45);
}

.toolFixed .f-zalo .phone-vr-img-circle a {
  background: #0068ff;
  border-color: #66a3ff;
  box-shadow:
    0 6px 16px rgba(0, 104, 255, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.toolFixed .f-zalo .phone-vr-img-circle a:hover {
  background: #2682ff;
  box-shadow:
    0 10px 22px rgba(0, 104, 255, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

/* Brand colors: Viber */
.toolFixed .f-viber .phone-vr-circle-fill {
  background-color: rgba(115, 96, 242, 0.45);
}

.toolFixed .f-viber .phone-vr-img-circle a {
  background: #7360f2;
  border-color: #a99cf7;
  box-shadow:
    0 6px 16px rgba(115, 96, 242, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.toolFixed .f-viber .phone-vr-img-circle a:hover {
  background: #8776f5;
  box-shadow:
    0 10px 22px rgba(115, 96, 242, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

@keyframes toolFixedPulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes toolFixedShake {
  0%,
  60%,
  100% {
    transform: rotate(0);
  }
  10%,
  30%,
  50% {
    transform: rotate(-14deg);
  }
  20%,
  40% {
    transform: rotate(14deg);
  }
}

@media (max-width: 767px) {
  .toolFixed {
    top: auto;
    bottom: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toolFixed .phone-vr-circle-fill,
  .toolFixed .f-hotline .phone-vr-img-circle a img {
    animation: none;
  }
}

/* ==========================================================================
   6. SLICK SLIDER & CAROUSEL CORE
   ========================================================================== */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  user-select: none;
  touch-action: pan-y;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  align-items: stretch;
}

.slick-vertical .slick-track {
  display: block;
}

.slick-track::before,
.slick-track::after {
  display: none;
}

.slick-slide {
  display: none;
  height: auto;
  min-height: 1px;
}

.slick-initialized .slick-slide {
  display: block;
}

/* Circular Carousel Navigation Buttons (< and >) */
.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  border: 1px solid #eaeaea;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
  color: transparent;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.slick-arrow:hover {
  background-color: #f5b056;
  border-color: #f5b056;
}

.slick-prev {
  left: 6px;
}

.slick-next {
  right: 6px;
}

/* Position < and > buttons at Top-Right on the Section Title Row (Shop By Category / Popular Products style) */
.featured-cates > .slick-arrow,
.featured-prods > .slick-arrow,
.sl-news > .slick-arrow,
.pros-cate > .slick-arrow {
  top: -46px;
  transform: none;
}

.featured-cates > .slick-prev,
.featured-prods > .slick-prev,
.sl-news > .slick-prev,
.pros-cate > .slick-prev {
  left: auto;
  right: 48px;
}

.featured-cates > .slick-next,
.featured-prods > .slick-next,
.sl-news > .slick-next,
.pros-cate > .slick-next {
  right: 6px;
}

/* White circular arrows when inside a #F5F5F5 secondary band */
.box-fea-prods .slick-arrow,
#ajaxHome > .box:nth-child(even) .slick-arrow,
.news-home .slick-arrow {
  background-color: #ffffff;
  border-color: #e5e7eb;
}

.box-fea-prods .slick-arrow:hover,
#ajaxHome > .box:nth-child(even) .slick-arrow:hover,
.news-home .slick-arrow:hover {
  background-color: #f5b056;
  border-color: #f5b056;
}

.slick-prev::before,
.slick-next::before {
  font-family: FontAwesome;
  font-size: 1.0625rem;
  line-height: 1;
  color: #374151;
}

.slick-arrow:hover::before {
  color: #171f26;
}

.slick-prev::before {
  content: "\f104"; /* fa-angle-left */
}

.slick-next::before {
  content: "\f105"; /* fa-angle-right */
}

.slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  z-index: 5;
}

.slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--bg-surface);
  background-color: rgba(19, 25, 33, 0.5);
  font-size: 0;
  cursor: pointer;
}

.slick-dots li.slick-active button {
  background-color: var(--cta-amber);
  transform: scale(1.2);
}

/* ==========================================================================
   7. HOMEPAGE SECTIONS & PRODUCT / CATEGORY CARDS
   (#FFFFFF Primary & #F5F5F5 Alternating Secondary Sections)
   ========================================================================== */
#main-content-area {
  padding: 20px 0 0;
  min-height: 60vh;
  background-color: #ffffff;
}

.main-slider,
.ads-sub-page {
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #131921 0%, #232f3e 100%);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}

.slider-home .slide {
  position: relative;
  overflow: hidden;
  z-index: 0 !important;
}

.slider-home .slide-banner-link,
.slider-home .slide > a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 910 / 407;
  max-height: 450px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

/* Blurred ambient backdrop so wide desktop screens never crop or stretch 910x407 banners */
.slider-home .slide-banner-link::before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  filter: blur(26px) brightness(0.88) saturate(1.15);
  transform: scale(1.08);
  z-index: 1;
  pointer-events: none;
}

.slider-home img {
  position: relative;
  z-index: 2;
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 450px !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* Promo Banners Grid (.ads-top-main) */
.ads-top-main {
  margin-bottom: 12px;
}

.ads-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ads-item {
  background-color: var(--bg-surface);
  border: 1px solid #eaeaea;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.ads-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.ads-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 366 / 285;
  background-color: var(--bg-surface);
  overflow: hidden;
}

.ads-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
}

/* Clean Section Wrappers & Alternating #FFFFFF / #F5F5F5 Full-Bleed Bands */
.box-fea-cates,
.box-fea-prods,
#ajaxHome > .box {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding: 36px 0;
  background-color: #ffffff;
}

.box-fea-prods,
#ajaxHome > .box:nth-child(even) {
  background-color: #f5f5f5;
  box-shadow: 0 0 0 100vmax #f5f5f5;
  clip-path: inset(0 -100vmax);
}

/* ==========================================================================
   DANH MỤC NỔI BẬT (.box-fea-cates / .featured-cates — "Shop By Category" Style)
   ========================================================================== */
.featured-cates {
  padding: 0;
  margin: 0 -10px;
}

.cate-item {
  padding: 0;
  margin: 0 10px;
  text-align: center;
  border: 0;
  border-radius: 0;
  background-color: transparent;
}

.img-cate {
  margin: 0 0 14px;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 20px;
  border-radius: 8px;
  background-color: #fbf0d9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

/* Alternating soft pastel backgrounds matching "Shop By Category" reference */
.featured-cates .slick-slide:nth-child(4n + 1) .img-cate,
.featured-cates > .item:nth-child(4n + 1) .img-cate {
  background-color: #fbf0d9; /* Warm Cream Amber */
}

.featured-cates .slick-slide:nth-child(4n + 2) .img-cate,
.featured-cates > .item:nth-child(4n + 2) .img-cate {
  background-color: #e9f7ca; /* Soft Pastel Lime */
}

.featured-cates .slick-slide:nth-child(4n + 3) .img-cate,
.featured-cates > .item:nth-child(4n + 3) .img-cate {
  background-color: #fde2e2; /* Soft Pastel Rose */
}

.featured-cates .slick-slide:nth-child(4n + 4) .img-cate,
.featured-cates > .item:nth-child(4n + 4) .img-cate {
  background-color: #e1f2fe; /* Soft Pastel Sky */
}

.cate-item:hover .img-cate {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(15, 17, 17, 0.08);
}

.img-cate span,
.img-cate a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.img-cate img {
  max-height: 150px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform var(--transition-base);
}

.cate-item:hover .img-cate img {
  transform: scale(1.06);
}

.cate-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #171f26;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cate-name a {
  color: #171f26;
}

.cate-item:hover .cate-name a {
  color: var(--text-link-hover);
}

/* ==========================================================================
   SẢN PHẨM NỔI BẬT & PRODUCT CARDS (.featured-prods / .pro-item — "Popular Products" Style)
   ========================================================================== */
.featured-prods,
.pros-cate,
.pros-cate-1 {
  padding: 0;
  margin: 0 -8px;
}

.pros-home > ul,
.list-products-page > ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 16px 0 0;
}

.list-products-page > ul {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px;
}

.pros-home > ul > li,
.list-products-page > ul > li {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

.pro-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 18px;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  text-align: left;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.slick-slide .pro-item {
  margin: 0 8px;
}

.pro-item:hover {
  border-color: #f5b056;
  box-shadow: 0 6px 18px rgba(15, 17, 17, 0.08);
}

.img-pro {
  position: relative;
  height: 210px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
}

.img-pro span,
.img-pro a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.img-pro img {
  max-height: 190px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.pro-item:hover .img-pro img {
  transform: scale(1.05);
}

/* Golden-Amber Top-Left Badge (-13% / Promotion style in Popular Products reference) */
.promostion,
.pro-discount {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  background-color: #f5b056;
  color: #171f26;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 4px 9px;
  border-radius: 4px;
  z-index: 2;
}

.pro-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.45;
  height: 2.9em;
  margin: 0 0 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pro-name a {
  color: #1f2937;
}

.pro-name a:hover {
  color: var(--text-link-hover);
}

.info-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

/* Place struck-through original price before current price when present ($88.00 $77.00) */
.f-price {
  order: 1;
  font-size: 0.875rem;
  font-weight: 400;
  color: #9ca3af;
}

.f-price:has(del:empty) {
  display: none;
}

.m-price {
  order: 2;
  font-weight: 700;
  color: #dc2626;
}

/* AJAX Category Blocks on Homepage (#ajaxHome) */
.box-Tab-cate-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 0 16px;
  background-color: transparent;
  border-bottom: 1px solid #e5e7eb;
}

.box-Tab-cate-home .main-cate .link-cate {
  font-size: 1.4rem;
  font-weight: 700;
}

.box-Tab-cate-home .main-cate .link-cate a {
  color: #171f26;
}

.subcates-hor {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.subcates-hor li h3 {
  font-size: 0.8125rem;
  font-weight: 500;
}

.subcates-hor li a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 500;
  background-color: #f5f5f5;
  border: 1px solid #e5e7eb;
}

#ajaxHome > .box:nth-child(even) .subcates-hor li a {
  background-color: #ffffff;
}

.subcates-hor li a:hover {
  border-color: #f5b056;
  background-color: #f5b056 !important;
  color: #171f26;
}

.logo-brands {
  padding: 12px 0;
  background-color: transparent;
  border-bottom: 1px solid #eaeaea;
}

.logo-brands a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  height: 44px;
}

.logo-brands img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
}

/* Home News Section (.news-home — Secondary #F5F5F5 Band) */
.news-home {
  margin-top: 0;
  padding: 36px 0 44px;
  background-color: #f5f5f5;
  border-top: 1px solid #eaeaea;
}

.news-home .container {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 16px;
}

.tab-news {
  font-size: 1.5rem;
  font-weight: 700;
  color: #171f26;
  padding: 0 88px 18px 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.sl-news {
  margin: 0 -8px;
}

.sl-news .news-item {
  margin: 0 8px;
  padding: 16px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.sl-news .news-item:hover {
  border-color: #f5b056;
  box-shadow: 0 6px 18px rgba(15, 17, 17, 0.08);
}

.sl-news .img-news {
  height: 168px;
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 4px;
  background-color: #f5f5f5;
}

.sl-news .img-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sl-news .title-news {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.sl-news .des-news {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.sl-news .readmore {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-link);
}

/* ==========================================================================
   8. BREADCRUMBS & PAGINATION
   ========================================================================== */
.breadcrum,
.breadcrumb-nav {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  margin-top: -16px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.breadcrum a,
.breadcrumb-nav a {
  color: var(--text-link);
}

.breadcrum a:hover,
.breadcrumb-nav a:hover {
  color: var(--text-link-hover);
  text-decoration: underline;
}

.pagination-container {
  padding: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.pagination > li > a,
.pagination > li > span,
.pagination > li > b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
}

.pagination > li > a:hover {
  background-color: var(--bg-muted);
  border-color: var(--text-secondary);
}

.pagination > li > span.pagecur,
.pagination > li > b,
.pagination > li > a.active {
  background-color: var(--cta-amber);
  border-color: var(--focus-ring);
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================================
   9. PRODUCT LISTING & SIDEBAR FILTERS (_ListProducts.cshtml)
   ========================================================================== */
.catalog-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

#sidebar {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  box-shadow:
    0 4px 16px -2px rgba(15, 23, 42, 0.05),
    0 2px 6px -1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

#sidebar:hover {
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
}

#sidebar .box {
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
}

/* Desktop: hide mobile filter trigger, header, footer & overlay; reset sidebar body */
@media (min-width: 992px) {
  .btn-mobile-filter,
  .mobile-filter-header,
  .mobile-filter-footer,
  .filter-mobile-overlay {
    display: none !important;
  }

  .mobile-filter-scroll-body {
    display: block !important;
    overflow: visible !important;
    height: auto !important;
    padding: 0 !important;
  }
}

/* Mobile: floating filter button & full-screen drawer modal */
@media (max-width: 991px) {
  /* Floating trigger button */
  .btn-mobile-filter {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    height: 38px;
    padding: 0 22px;
    background: linear-gradient(135deg, #c7511f 0%, #ea580c 100%);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 9999px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow:
      0 10px 25px -3px rgba(199, 81, 31, 0.5),
      0 4px 8px -2px rgba(15, 23, 42, 0.2);
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition:
      transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 0.2s ease;
  }

  .btn-mobile-filter:hover {
    box-shadow:
      0 14px 28px -3px rgba(199, 81, 31, 0.6),
      0 6px 12px -2px rgba(15, 23, 42, 0.25);
  }

  .btn-mobile-filter:active {
    transform: translateX(-50%) scale(0.95);
  }

  .btn-mobile-filter i.fa-filter {
    font-size: 1.05rem;
    color: #ffedd5;
  }

  .btn-mobile-filter .filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    color: #c7511f;
    background-color: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  }

  /* Full screen Mobile Sidebar Drawer */
  #sidebar {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background-color: #ffffff !important;
    z-index: 10600 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate3d(0, 100%, 0) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    visibility: hidden;
    pointer-events: none;
  }

  #sidebar.mobile-open {
    transform: translate3d(0, 0, 0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Mobile Header */
  .mobile-filter-header {
    flex-shrink: 0;
    height: 56px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    z-index: 2;
  }

  .mobile-filter-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-filter-title i {
    color: #c7511f;
    font-size: 1.1rem;
  }

  .mobile-filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .btn-filter-reset {
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: #c7511f;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
  }

  .btn-filter-reset:active {
    background: #ffedd5;
  }

  .mobile-filter-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #475569;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
      background 0.2s ease,
      transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-filter-close:active {
    transform: scale(0.92);
    background: #e2e8f0;
  }

  /* Mobile Scrollable Body */
  .mobile-filter-scroll-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 20px;
    background: #ffffff;
  }

  /* Mobile Footer */
  .mobile-filter-footer {
    flex-shrink: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
    z-index: 2;
  }

  .btn-filter-apply {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #c7511f 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(199, 81, 31, 0.35);
    cursor: pointer;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .btn-filter-apply:active {
    transform: scale(0.98);
    opacity: 0.95;
  }

  /* Overlay */
  .filter-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.55);
    z-index: 10550;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .filter-mobile-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  body.filter-drawer-open {
    overflow: hidden !important;
    touch-action: none;
  }

  /* Refinements inside mobile drawer */
  #sidebar #_categoires,
  #sidebar #_brands,
  #sidebar #_madein {
    border-bottom: 8px solid #f8fafc;
    padding-bottom: 12px;
  }

  #sidebar .most-viewed ul.list-field {
    max-height: 220px;
  }

  #sidebar .multiselect__item {
    padding: 9px 16px;
  }

  #sidebar .multiselect__item label {
    font-size: 0.9rem;
  }
}

.l-Tab,
#sidebar .g-Tab {
  padding: 13px 18px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border-light, #e2e8f0);
  border-top: 1px solid var(--border-light, #e2e8f0);
  border-left: 4px solid var(--brand-orange, #c7511f) !important;
  color: var(--text-primary, #0f172a);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#sidebar .g-Tab {
  border-top: 0;
}

.left-nav {
  padding: 6px 0;
}

.left-nav ul > li {
  border-bottom: 1px solid var(--border-light, #f1f5f9);
  position: relative;
}

.left-nav ul > li:last-child {
  border-bottom: 0;
}

.left-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary, #334155);
  transition: all 0.2s ease;
}

.left-nav a:hover {
  background-color: #fff7ed;
  color: var(--brand-orange, #c7511f);
  padding-left: 22px;
  font-weight: 600;
}

.left-nav ul ul {
  background-color: #f8fafc;
  border-left: 2px solid #fdba74;
  margin: 4px 10px 8px 22px;
  border-radius: 0 8px 8px 0;
  padding: 4px 0;
}

.left-nav ul ul li {
  border-bottom: none;
}

.left-nav ul ul li a {
  padding: 6px 14px;
  font-size: 0.8125rem;
  color: var(--text-secondary, #64748b);
  font-weight: 400;
}

.left-nav ul ul li a:hover {
  color: var(--brand-orange, #c7511f);
  background-color: #fffaf5;
  padding-left: 18px;
  font-weight: 500;
}

#filters .toggler {
  display: none;
}

.multiselect__search {
  display: flex;
  margin: 12px 14px 8px;
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 20px;
  overflow: hidden;
  background-color: #ffffff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.multiselect__search:focus-within {
  border-color: var(--brand-orange, #c7511f);
  box-shadow: 0 0 0 3px rgba(199, 81, 31, 0.12);
}

.multiselect__search__input {
  flex: 1 1 auto;
  height: 34px;
  padding: 0 14px;
  border: 0;
  font-size: 0.8125rem;
  color: var(--text-primary, #1e293b);
  background: transparent;
  outline: none;
}

.multiselect__search__input::placeholder {
  color: #94a3b8;
  font-size: 0.8125rem;
}

.multiselect__search__button {
  width: 36px;
  height: 34px;
  border: 0;
  border-left: 1px solid var(--border-light, #f1f5f9);
  background-color: #f8fafc;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.multiselect__search__button:hover {
  background-color: #fff7ed;
  color: var(--brand-orange, #c7511f);
}

.multiselect__search__button::before {
  font-family: FontAwesome;
  content: "\f002";
  font-size: 12px;
}

.most-viewed ul.list-field {
  max-height: 250px;
  overflow-y: auto;
  padding: 8px 12px 14px;
}

/* Slim modern scrollbar */
.most-viewed ul.list-field::-webkit-scrollbar {
  width: 5px;
}
.most-viewed ul.list-field::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}
.most-viewed ul.list-field::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.most-viewed ul.list-field::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.multiselect__item {
  padding: 6px 8px;
  border-radius: 6px;
  transition: background-color 0.15s ease;
  display: flex;
  align-items: center;
}

.multiselect__item:hover {
  background-color: #f8fafc;
}

.multiselect__item input[type="checkbox"] {
  accent-color: var(--brand-orange, #c7511f);
  width: 16px;
  height: 16px;
  margin-right: 10px;
  vertical-align: middle;
  cursor: pointer;
  flex-shrink: 0;
}

.multiselect__item label {
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-primary, #334155);
  margin-bottom: 0;
  transition: color 0.15s ease;
}

.multiselect__item label:hover {
  color: var(--brand-orange, #c7511f);
}

/* Catalog Main Content Box */
#main-content .box-pros-page {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  box-shadow:
    0 4px 16px -2px rgba(15, 23, 42, 0.05),
    0 2px 6px -1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.catalog-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-light, #e2e8f0);
}

.catalog-header-bar .tab-pro-page {
  padding: 0;
  border: 0;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-header-bar .tab-pro-page span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-orange, #c7511f);
  background: #fff7ed;
  border: 1px solid rgba(199, 81, 31, 0.25);
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: 4px;
}

.sort-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-area select {
  height: 36px;
  padding: 0 32px 0 14px;
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 8px;
  background: #ffffff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  appearance: none;
  -webkit-appearance: none;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary, #334155);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.sort-area select:hover,
.sort-area select:focus {
  border-color: var(--brand-orange, #c7511f);
  outline: none;
  box-shadow: 0 0 0 3px rgba(199, 81, 31, 0.12);
}

/* Product Grid inside catalog */
.list-products-page > ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  list-style: none;
  margin: 0;
}

.list-products-page .pro-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 14px 14px;
  background-color: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  text-align: left;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.list-products-page .pro-item:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 81, 31, 0.35);
  box-shadow:
    0 12px 24px -4px rgba(15, 23, 42, 0.1),
    0 4px 8px -2px rgba(15, 23, 42, 0.04);
}

.list-products-page .img-pro {
  position: relative;
  height: 190px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 6px;
}

.list-products-page .img-pro img {
  max-height: 170px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.list-products-page .pro-item:hover .img-pro img {
  transform: scale(1.06);
}

.list-products-page .pro-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  height: 2.9em;
  margin: 0 0 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.list-products-page .pro-name a {
  color: #1e293b;
  transition: color 0.2s ease;
}

.list-products-page .pro-item:hover .pro-name a {
  color: var(--brand-orange, #c7511f);
}

.list-products-page .info-price {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #f1f5f9;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.list-products-page .m-price {
  color: #dc2626;
  font-weight: 700;
}

.list-products-page .f-price del {
  color: #94a3b8;
  font-size: 0.8125rem;
}

/* ==========================================================================
   SEO CONTENT BOXES (_ListProducts.cshtml) - Clamped to 5 lines + Xem thêm
   ========================================================================== */
.SEO1-pro-cate,
.SEO2-pro-cate,
.tab-seo-content {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  margin-bottom: 22px;
  line-height: 1.7;
  font-size: 0.8875rem;
  color: var(--text-primary, #334155);
  position: relative;
}

.SEO1-pro-cate a,
.SEO2-pro-cate a,
.tab-seo-content a {
  color: var(--brand-orange, #c7511f);
  text-decoration: underline;
}

.SEO1-pro-cate a:hover,
.SEO2-pro-cate a:hover,
.tab-seo-content a:hover {
  color: #ea580c;
}

.SEO1-pro-cate img,
.SEO2-pro-cate img,
.tab-seo-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 6px 0;
}

/* Collapsible state for tab-seo-content (Clamped to 5 lines) */
.tab-seo-content.is-collapsible.is-collapsed .tab-seo-body {
  max-height: 125px; /* Exactly ~5 lines of text */
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, #000000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000000 60%, transparent 100%);
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-seo-content.is-collapsible.is-expanded .tab-seo-body {
  max-height: 5000px;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
  transition: max-height 0.5s ease-in-out;
}

/* Small, delicate, centered "Xem thêm" button */
.seo-viewmore-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  padding-top: 6px;
  position: relative;
  z-index: 2;
}

.btn-seo-viewmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 5px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  line-height: 1;
}

.btn-seo-viewmore:hover {
  color: var(--brand-orange, #c7511f);
  border-color: var(--brand-orange, #c7511f);
  background: #fff7ed;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(199, 81, 31, 0.15);
}

.btn-seo-viewmore i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.SEO2-pro-cate {
  margin-top: 24px;
  margin-bottom: 15px;
}

/* ==========================================================================
   10. PRODUCT DETAIL PAGE (_DetailProduct.cshtml)
   ========================================================================== */
.box-prod-detail {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  gap: 32px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 28px;
  align-items: start;
}

/* Override legacy floats & widths from template.css */
.product-slide {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

.info-detail-pro {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

.img-dtp {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  background-color: var(--bg-surface);
  text-align: center;
  position: relative;
  overflow: visible !important;
  margin-bottom: 0 !important;
}

.img-wrapper-inner.main_img {
  height: 380px;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-sm, 6px);
}

.img-wrapper-inner.main_img img {
  max-height: 360px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  cursor: zoom-in;
  display: block;
  margin: 0 auto;
  transition: transform 0.25s ease;
}

/* ==========================================================================
   PRODUCT GALLERY SKELETON & ELEVATEZOOM FIXES
   ========================================================================== */
.product-gallery-skeleton {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skeleton-main-img {
  width: 100%;
  height: 380px;
  background: #f1f5f9;
  border-radius: var(--radius-sm, 6px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skeleton-icon {
  font-size: 42px;
  color: #cbd5e1;
  opacity: 0.6;
}

.skeleton-thumbs {
  display: flex;
  gap: 10px;
  padding: 0 10px;
  justify-content: center;
}

.skeleton-thumb {
  width: 70px;
  height: 70px;
  background: #f1f5f9;
  border-radius: var(--radius-sm, 6px);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.skeleton-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: skeleton-shimmer-anim 1.5s infinite;
}

@keyframes skeleton-shimmer-anim {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.zoomContainer {
  z-index: 99 !important;
}

.zoomWindow {
  border: 1.5px solid var(--border-color, #e2e8f0) !important;
  border-radius: var(--radius-sm, 6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}

@media (max-width: 768px) {
  /* Chặn hoàn toàn elevateZoom trên mobile tránh vỡ layout và che nửa ảnh */
  .zoomContainer,
  .zoomWindowContainer,
  .zoomWindow,
  .zoomLens {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
  }

  .product-gallery-skeleton .skeleton-main-img {
    height: 280px !important;
  }
  .product-gallery-skeleton .skeleton-thumb {
    width: 55px !important;
    height: 55px !important;
  }

  .product-slide,
  .img-dtp {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .img-wrapper-inner.main_img {
    height: 280px !important;
    width: 100% !important;
  }

  .img-wrapper-inner.main_img img {
    max-height: 260px !important;
    max-width: 100% !important;
    cursor: pointer !important;
  }
}

#thumbs-wrapper {
  position: relative;
  margin-top: 14px;
}

#image-additional-carousel {
  padding: 0 24px;
  position: relative;
}

#image-additional-carousel .elevatezoom-gallery {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 4px;
  margin: 0 4px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

#image-additional-carousel .elevatezoom-gallery:hover,
#image-additional-carousel .elevatezoom-gallery.active {
  border-color: var(--brand-orange) !important;
  box-shadow: 0 0 0 2px rgba(199, 81, 31, 0.2);
}

#image-additional-carousel .elevatezoom-gallery span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
}

#image-additional-carousel .elevatezoom-gallery img {
  max-height: 58px;
  max-width: 100%;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

#image-additional-carousel .slick-prev,
#image-additional-carousel .slick-next {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
}

#image-additional-carousel .slick-prev {
  left: 0;
}

#image-additional-carousel .slick-next {
  right: 0;
}

#image-additional-carousel .slick-prev:before,
#image-additional-carousel .slick-next:before {
  color: var(--text-secondary);
  font-size: 13px;
}

/* Product Share Bar - Compact, Fast, Zero SDK */
.product-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light, #eef2f6);
  position: relative;
}

.product-share-bar .share-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary, #64748b);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-share-bar .share-label i {
  font-size: 12px;
  color: var(--brand-orange, #c7511f);
}

.product-share-bar .share-buttons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-share-item {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  line-height: 1;
}

.btn-share-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
  opacity: 0.92;
}

.btn-share-item:active {
  transform: translateY(0);
}

.btn-share-item.share-facebook {
  background: #1877f2;
  font-size: 13px;
}

.btn-share-item.share-zalo {
  background: #0068ff;
}

.btn-share-item.share-zalo img {
  width: 15px;
  height: 15px;
  display: block;
}

.btn-share-item.share-twitter {
  background: #0f1419;
  font-size: 12px;
}

.btn-share-item.share-copy {
  background: #64748b;
  font-size: 12px;
}

.btn-share-item.share-copy.copied {
  background: #10b981;
}

.copy-success-tooltip {
  font-size: 11px;
  background: #10b981;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
  animation: fadeInToast 0.2s ease;
}

@keyframes fadeInToast {
  from {
    opacity: 0;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Brand & Title Header */
.row-brand {
  display: flex !important;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.row-brand::after {
  display: none !important; /* Removes dated blue underline from template.css */
}

.row-brand .img-general {
  flex-shrink: 0;
  padding: 6px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-brand .img-general img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.heading-page {
  flex: 1;
  overflow: visible !important;
}

.title-brand {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.title-pr {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 4px 0 6px 0;
}

/* Product Info Sub-grid */
.product-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}

.detail-pro-items {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 0 !important;
}

.detail-pro-items .row-pro {
  float: none !important;
  clear: both;
  width: 100%;
  padding: 3px 0;
  font-size: 0.875rem;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text-primary);
  margin-bottom: 0;
}

.detail-pro-items .tt-des {
  float: none !important;
  min-width: 125px;
  color: var(--text-secondary);
  font-weight: 500;
}

.detail-pro-items b {
  color: var(--text-primary);
  font-weight: 600;
}

#iTabPromoText {
  background-color: #fef2f2;
  border: 1px dashed #f87171;
  border-radius: var(--radius-sm);
  padding: 8px 12px !important;
  margin: 4px 0;
}

#iTabPromoText .tt-des {
  color: var(--text-price) !important;
  font-weight: 700;
}

.line-dot {
  border-top: 1px solid var(--border-light) !important;
  margin: 10px 0 !important;
  height: 1px;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
}

/* Price Box */
.price-detail {
  position: relative;
  background: linear-gradient(135deg, #fff9f6 0%, #fff3ec 100%) !important;
  border: 1px solid #ffe4d6 !important;
  border-radius: var(--radius-md) !important;
  padding: 16px 20px !important;
  margin: 8px 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  float: none !important;
  width: 100% !important;
}

.genuine {
  position: absolute !important;
  top: 0px;
  right: 0px;
  width: 54px;
  height: 54px;
  background: url(/Content/vi-vn/Images/hangchinhhang.png) no-repeat center /
    contain !important;
  pointer-events: none;
  z-index: 2;
}

.price-detail .col-detail {
  float: none !important;
  width: auto !important;
  padding-left: 0 !important;
}

.price-detail .col-detail p {
  margin: 0 0 2px 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.price-detail .cost {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-price);
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-family: inherit;
}

.price-detail .f-price {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

#div_tietkiem {
  display: inline-block;
  background-color: #fef2f2;
  color: var(--text-price);
  border: 1px solid #fecaca;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.775rem;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.4;
}

/* Quantity and Stock */
.detail-pro-items .add-number {
  margin: 0 16px 0 0 !important;
  width: auto !important;
  height: auto !important;
  display: inline-flex;
}

.txtQty {
  width: 64px !important;
  height: 38px !important;
  line-height: 38px !important;
  text-align: center;
  border: 1.5px solid var(--border-input) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

.txtQty:focus {
  border-color: var(--brand-orange) !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(199, 81, 31, 0.15);
}

.stock.stk-y {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-success);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 4px 12px;
  height: auto !important;
  line-height: 1.4 !important;
  background-image: none !important;
}

.stock.stk-y::before {
  font-family: "FontAwesome";
  content: "\f00c";
  font-size: 0.85rem;
  color: var(--text-success);
}

/* CTA Buy Button */
.info-dt-payment {
  margin: 14px 0 0 0 !important;
  display: flex !important;
  align-items: center;
  gap: 12px;
  float: none !important;
  width: 100% !important;
}

.btn-order,
.button-buy {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 240px !important;
  height: 48px !important;
  padding: 0 28px !important;
  background: linear-gradient(135deg, #fa8900 0%, #c7511f 100%) !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
  border: none !important;
  border-radius: 24px !important;
  box-shadow: 0 4px 14px rgba(199, 81, 31, 0.35) !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  float: none !important;
}

.btn-order:hover,
.button-buy:hover {
  background: linear-gradient(135deg, #e67600 0%, #b04316 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(199, 81, 31, 0.45) !important;
  color: #ffffff !important;
}

.btn-order .btn-order_icon,
.button-buy .btn-order_icon {
  float: none !important;
  width: auto !important;
  height: auto !important;
  display: inline-flex;
  align-items: center;
}

.btn-order .icon-spcart,
.button-buy .icon-spcart {
  border: none !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
}

.btn-order .icon-spcart::before,
.button-buy .icon-spcart::before {
  font-family: "FontAwesome";
  content: "\f07a";
  font-size: 1.25rem;
  color: #ffffff;
}

.btn-order .text-btn,
.button-buy .text-btn {
  float: none !important;
  width: auto !important;
  line-height: normal !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

/* Modal Login for Quote (#myModal-login) */
#myModal-login {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  -webkit-transform: translate(-50%, -50%) !important;
  width: 90% !important;
  max-width: 440px !important;
  height: auto !important;
  background: #ffffff !important;
  border-radius: var(--radius-lg, 16px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid #e5e7eb !important;
  padding: 0 !important;
  overflow: hidden;
  z-index: 99999 !important;
}

#myModal-login .popup-dialog {
  padding: 28px 24px 24px !important;
  margin: 0 !important;
  width: 100% !important;
}

#myModal-login .modal-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  text-transform: none !important;
  text-align: center;
  margin-bottom: 20px !important;
}

#myModal-login button.close-form {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 32px !important;
  height: 32px !important;
  background: #f3f4f6 !important;
  border: none !important;
  border-radius: 50% !important;
  font-size: 18px !important;
  line-height: 32px !important;
  color: #6b7280 !important;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

#myModal-login button.close-form:hover {
  background: #e5e7eb !important;
  color: #111827 !important;
}

#myModal-login .form-login .input-form {
  margin-bottom: 14px;
}

#myModal-login .form-login input.input {
  width: 100% !important;
  height: 42px !important;
  border: 1.5px solid #d1d5db !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  font-size: 0.9375rem !important;
  color: #1f2937 !important;
  background: #ffffff !important;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

#myModal-login .form-login input.input:focus {
  border-color: #c7511f !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(199, 81, 31, 0.15);
}

#myModal-login .form-login a.button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 44px !important;
  background: linear-gradient(135deg, #fa8900 0%, #c7511f 100%) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

#myModal-login .form-login a.button:hover {
  background: linear-gradient(135deg, #e67600 0%, #b04316 100%) !important;
  transform: translateY(-1px);
}

#myModal-login .note-wrapper {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  font-size: 0.875rem !important;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f3f4f6;
}

#myModal-login .note-wrapper a {
  color: #c7511f !important;
  font-weight: 600;
  text-decoration: none;
}

#myModal-login .note-wrapper a:hover {
  text-decoration: underline;
}

/* Buybox / Support Column (.status-support) */
.status-support {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 18px !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  float: none !important;
  width: 100% !important;
}

.row-policy {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-bottom: 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  float: none !important;
  width: 100% !important;
}

.row-policy .item-poli {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px;
  background-image: none !important;
  margin: 0 !important;
}

.row-policy .item-poli::before {
  font-family: "FontAwesome";
  content: "\f058"; /* fa-check-circle */
  font-size: 0.95rem;
  color: #10b981;
  flex-shrink: 0;
}

/* Contact Support Card (#info-spp) */
#info-spp {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 14px !important;
  font-size: 0.84rem !important;
  float: none !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

#info-spp .tt_spp {
  font-size: 0.825rem !important;
  font-weight: 700 !important;
  color: var(--brand-orange) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px;
  margin-bottom: 8px !important;
}

#info-spp .hotline_spp {
  font-size: 0.95rem !important;
  color: var(--text-price) !important;
  font-weight: 700 !important;
  margin: 6px 0 !important;
}

#info-spp .address {
  color: var(--text-primary) !important;
  font-size: 0.8125rem !important;
  line-height: 1.45 !important;
  margin: 6px 0 !important;
}

#info-spp .address a {
  color: var(--brand-orange) !important;
  font-weight: 600;
  text-decoration: underline;
}

#info-spp .time_work {
  color: var(--text-secondary) !important;
  font-size: 0.8125rem !important;
  margin: 6px 0 0 0 !important;
}

/* Deal Flash Sale Clock (.ads-right-dt, .detail-deal) */
.detail-deal {
  margin-top: 4px;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid #fecaca !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.detail-deal img {
  width: 100% !important;
  height: auto !important;
  display: block;
}

.clock-deal {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  padding: 10px 14px !important;
  font-size: 0.825rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.clock-deal .icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 4px;
}

.clock-deal .txt-saleoff {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.775rem;
  letter-spacing: 0.3px;
}

.clock-deal .countdownTimer {
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.clock-deal .sd-day,
.clock-deal .sd-hour,
.clock-deal .sd-minute,
.clock-deal .sd-second {
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.clock-deal .sd-colon {
  color: #ffa41c;
  font-weight: 700;
  padding: 0 2px;
}

/* Product Detail Lower Layout (Tabs + Right Sidebar) */
.product-detail-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  margin-top: 20px;
}

.tab-dt-pro {
  min-width: 0;
  width: 100% !important;
  float: none !important;
}

.mod-sideDeal {
  min-width: 0;
  width: 100% !important;
  float: none !important;
}

.mod-sideDeal .sticky.is-sticky {
  z-index: 99;
}

#stickyheader {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  border-bottom: 2px solid var(--brand-orange) !important;
  border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  height: auto !important;
  overflow: visible !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  z-index: 10 !important;
}

.product-tabs {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  flex-wrap: wrap;
  background: #ffffff !important;
}

.product-tabs li {
  display: block !important;
  width: auto !important;
  border: none !important;
  border-right: 1px solid #f3f4f6 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.product-tabs li a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 14px 22px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--text-secondary) !important;
  line-height: normal !important;
  text-decoration: none !important;
  border-bottom: 3px solid transparent !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
}

.product-tabs li:hover a {
  color: var(--brand-orange) !important;
  background: #fff7ed !important;
}

.product-tabs li.active a {
  color: var(--brand-orange) !important;
  font-weight: 700 !important;
  border-bottom-color: var(--brand-orange) !important;
}

.tabs-container {
  background-color: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  border-top: none !important;
  border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
  padding: 28px !important;
  margin-bottom: 28px !important;
  box-shadow: var(--shadow-card) !important;
}

.tab-item {
  display: block;
}

.section-title-dt {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  padding-bottom: 10px !important;
  margin: 24px 0 16px 0 !important;
  border-bottom: 2px solid var(--border-light) !important;
  position: relative;
}

.section-title-dt::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--brand-orange);
}

.tab-item > .section-title-dt:first-child {
  margin-top: 0 !important;
}

.info-g {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.info-g p {
  margin-bottom: 14px;
}

.info-g img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius-sm);
  margin: 16px auto;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-g table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
  margin: 20px 0 !important;
  font-size: 0.9rem !important;
  background: #ffffff;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.info-g table th,
.info-g table td {
  padding: 10px 14px !important;
  border: 1px solid var(--border-color) !important;
  vertical-align: middle;
}

.info-g table th {
  background-color: var(--bg-subtle) !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
}

.info-g table tr:nth-child(even) td {
  background-color: #fbfdfe !important;
}

.info-g table tr:hover td {
  background-color: #fff9f6 !important;
}

/* Facebook Comments */
.comment-part {
  margin-top: 16px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.comment-part .fb-comments {
  width: 100% !important;
}

/* Related Products Box (.box-other-prods, #sanpham-tuongtu) */
.box-other-prods {
  margin-top: 28px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.box-other-prods .g-Tab {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  padding-bottom: 12px !important;
  margin-bottom: 18px !important;
  border-bottom: 2px solid var(--brand-orange) !important;
  text-transform: uppercase !important;
}

.box-other-prods .pro-item {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  padding: 14px !important;
  margin: 0 6px !important;
  background: #ffffff !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
}

.box-other-prods .pro-item:hover {
  border-color: var(--brand-orange) !important;
  box-shadow: 0 6px 18px rgba(199, 81, 31, 0.12) !important;
  transform: translateY(-2px) !important;
}

.box-other-prods .img-pro {
  height: 190px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  margin-bottom: 12px !important;
  position: relative !important;
  border: none !important;
}

.box-other-prods .img-pro img {
  max-height: 175px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

.box-other-prods .pro-item:hover .img-pro img {
  transform: scale(1.04) !important;
}

.box-other-prods .pro-name {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  height: 2.8em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  margin-bottom: 8px !important;
}

.box-other-prods .pro-name a {
  color: var(--text-primary) !important;
  text-decoration: none !important;
}

.box-other-prods .pro-name a:hover {
  color: var(--brand-orange) !important;
}

.box-other-prods .info-price {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-top: auto !important;
}

.box-other-prods .m-price {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--text-price) !important;
}

.box-other-prods .f-price {
  font-size: 0.8125rem !important;
  color: var(--text-muted) !important;
  text-decoration: line-through !important;
}

/* Sidebar "Có thể bạn quan tâm" (.mod-sideDeal) */
.other-products {
  width: 100% !important;
  background-color: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-card) !important;
  overflow: hidden !important;
  padding-bottom: 16px !important;
}

.other-products .g-Tab {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #fa8900 0%, #c7511f 100%) !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
  border: none !important;
}

.vertical-pros .pro-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  border: none !important;
  border-bottom: 1px solid #f3f4f6 !important;
  border-radius: 0 !important;
  transition: background-color 0.2s ease !important;
}

.vertical-pros .pro-item:hover {
  background-color: #fff9f6 !important;
}

.vertical-pros .img-pro {
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  flex-shrink: 0 !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-sm) !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  background: #ffffff !important;
  float: none !important;
}

.vertical-pros .img-pro img {
  max-height: 68px !important;
  width: auto !important;
  object-fit: contain !important;
}

.vertical-pros .pro-name {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 0 0 4px 0 !important;
  max-height: 2.7em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.vertical-pros .pro-name a {
  color: var(--text-primary) !important;
  text-decoration: none !important;
}

.vertical-pros .pro-name a:hover {
  color: var(--brand-orange) !important;
}

.vertical-pros .info-price {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}

.vertical-pros .m-price {
  font-size: 0.925rem !important;
  font-weight: 700 !important;
  color: var(--text-price) !important;
}

.vertical-pros .f-price {
  font-size: 0.775rem !important;
  color: var(--text-muted) !important;
  text-decoration: line-through !important;
}

/* Consolation Deal Popup (#consolPopup) */
#consolPopup .modal-dialog {
  max-width: 520px;
  margin: 60px auto;
}

#consolPopup .modal-content {
  border-radius: var(--radius-md);
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

#consolPopup .modal-body {
  padding: 0;
}

#consolPopup .fancybox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

#consolPopup .fancybox-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   11. NEWS LIST & NEWS DETAIL (_ListNew.cshtml, _DetailNews.cshtml)
   ========================================================================== */
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

#detail_news {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 15px;
}

.title-page {
  font-size: 1.5rem;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.info-g {
  line-height: 1.7;
  font-size: 0.9375rem;
  overflow-wrap: break-word;
}

.info-g img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius-sm);
}

.info-g table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 16px 0;
}

.info-g table th,
.info-g table td {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
}

.info-g table tr:nth-child(even) {
  background-color: var(--bg-subtle);
}

/* Other Related News Section (_DetailNews) */
.other_news_sub {
  margin-top: 36px;
  padding: 24px 26px;
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 14px);
  box-shadow:
    0 4px 18px -4px rgba(15, 23, 42, 0.05),
    0 2px 6px -1px rgba(15, 23, 42, 0.02);
}

.other_newsT {
  position: relative;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading, #0f172a);
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.other_newsT i {
  color: var(--color-primary, #c7511f);
  font-size: 1.1rem;
}

.other_newsT::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2.5px;
  background: var(--color-primary, #c7511f);
  border-radius: 2px;
}

.other_news_sub ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.other_news_sub ul li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.other_news_sub ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-subtle, #f8fafc);
  border: 1px solid #edf2f7;
  border-radius: 9px;
  color: var(--text-body, #334155);
  text-decoration: none;
  transition: all 0.22s ease-in-out;
  min-height: 48px;
}

.other_news_sub ul li a:hover {
  background: #fff8f5;
  border-color: rgba(199, 81, 31, 0.35);
  color: var(--color-primary, #c7511f);
  transform: translateX(4px);
  box-shadow: 0 3px 10px rgba(199, 81, 31, 0.08);
}

.other_news_sub .other-news-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--color-primary, #c7511f);
  font-size: 13px;
  flex-shrink: 0;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.2s;
}

.other_news_sub ul li a:hover .other-news-bullet {
  background: var(--color-primary, #c7511f);
  color: #ffffff;
  transform: scale(1.1);
}

.other_news_sub .other-news-title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: inherit;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.other_news_sub .other-news-date {
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 400;
  margin-left: 6px;
}

.other_news_sub .view_all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease-in-out;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.other_news_sub .view_all:hover {
  background: var(--color-primary, #c7511f);
  border-color: var(--color-primary, #c7511f);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(199, 81, 31, 0.25);
}

.other_news_sub .view_all i {
  transition: transform 0.2s ease;
  font-size: 11px;
}

.other_news_sub .view_all:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .other_news_sub {
    padding: 18px 16px;
    margin-top: 24px;
    border-radius: 12px;
  }
  .other_news_sub ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .other_news_sub ul li a {
    padding: 9px 12px;
  }
  .other_news_sub .other-news-title {
    font-size: 0.84rem;
  }
  .other_news_sub .other-news-date {
    display: none;
  }
  .other_news_sub .view_all {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
  }
}

/* Main News Box Container */
.main-news .list-news {
  background-color: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  box-shadow:
    0 4px 16px -2px rgba(15, 23, 42, 0.05),
    0 2px 6px -1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.main-news .list-news .g-Tab {
  padding: 14px 20px;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-light, #e2e8f0);
  border-left: 4px solid var(--brand-orange, #c7511f) !important;
  color: var(--text-primary, #0f172a);
  margin: 0;
}

/* Multi-column grid of cards (matching .news-home layout) */
.list-news .news-grid,
.list-news .box-ct > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 20px;
  list-style: none;
  margin: 0;
}

.list-news .news-grid > li,
.list-news .box-ct > ul > li {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* News Item Card (matching .news-home .news-item) */
.list-news .news-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  text-align: left;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  position: relative;
}

.list-news .news-item:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 81, 31, 0.35);
  box-shadow:
    0 12px 24px -4px rgba(15, 23, 42, 0.1),
    0 4px 8px -2px rgba(15, 23, 42, 0.04);
}

.list-news .img-news {
  position: relative;
  height: 168px;
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 6px;
  background-color: #f8fafc;
}

.list-news .img-news span,
.list-news .img-news a {
  display: block;
  width: 100%;
  height: 100%;
}

.list-news .img-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.list-news .news-item:hover .img-news img {
  transform: scale(1.06);
}

.list-news .news-item-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.list-news .title-news {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.9em;
}

.list-news .title-news a {
  color: #0f172a;
  transition: color 0.2s ease;
}

.list-news .news-item:hover .title-news a {
  color: var(--brand-orange, #c7511f);
}

.list-news .des-news {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.6em;
}

.list-news .readmore {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-orange, #c7511f);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.list-news .readmore:hover {
  color: #ea580c;
  gap: 8px;
}

.list-news .readmore i {
  font-size: 11px;
}

/* Sidebar "Xem nhiều nhất" */
.sidebar-news .box {
  background-color: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  box-shadow:
    0 4px 16px -2px rgba(15, 23, 42, 0.05),
    0 2px 6px -1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.sidebar-news .l-Tab {
  padding: 13px 18px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border-light, #e2e8f0);
  border-left: 4px solid var(--brand-orange, #c7511f) !important;
  color: var(--text-primary, #0f172a);
  margin: 0;
}

.sidebar-news .most-viewed ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-news .most-viewed ul li {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light, #f1f5f9);
  transition: background-color 0.15s ease;
}

.sidebar-news .most-viewed ul li:last-child {
  border-bottom: 0;
}

.sidebar-news .most-viewed ul li:hover {
  background-color: #fffaf5;
}

.sidebar-news .most-viewed ul li a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.sidebar-news .most-viewed ul li a:hover {
  color: var(--brand-orange, #c7511f);
}

.sidebar-news .hot-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  background-color: #f1f5f9;
  color: #64748b;
  margin-top: 1px;
}

.sidebar-news .most-viewed ul li:nth-child(1) .hot-rank {
  background-color: #fee2e2;
  color: #dc2626;
}

.sidebar-news .most-viewed ul li:nth-child(2) .hot-rank {
  background-color: #ffedd5;
  color: #ea580c;
}

.sidebar-news .most-viewed ul li:nth-child(3) .hot-rank {
  background-color: #fef3c7;
  color: #d97706;
}

.sidebar-news .hot-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive adjustments for news list */
@media (max-width: 1199px) {
  .list-news .news-grid,
  .list-news .box-ct > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 16px;
  }
}

@media (max-width: 991px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .list-news .news-grid,
  .list-news .box-ct > ul {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
  }
}

/* ==========================================================================
   12. CONTACT PAGE (Views/Contact/Index.cshtml)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 20px;
}

.form-web {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inputbox {
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

textarea.inputbox {
  min-height: 120px;
  resize: vertical;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.captcha-row .inputbox {
  max-width: 180px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-web {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  background-color: var(--cta-amber);
  color: var(--text-primary);
  font-weight: 700;
  border: 1px solid #ff8f00;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-web:hover {
  background-color: var(--cta-amber-hover);
  color: var(--text-primary);
}

.btn-web.reset_btn {
  background-color: var(--bg-muted);
  border-color: var(--border-color);
}

.btn-web.reset_btn:hover {
  background-color: var(--border-light);
}

#map iframe {
  width: 100% !important;
  min-height: 420px;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   13. POLICY BAR & FOOTER (_Footer.cshtml)
   ========================================================================== */
#policy {
  background-color: var(--nav-sub);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.poli-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.poli-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--cta-amber);
  color: var(--nav-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}

.poli-desc {
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  line-height: 1.35;
}

footer {
  background-color: var(--nav-footer);
  color: #dddddd;
  padding-top: 32px;
  font-size: 0.875rem;
}

footer a {
  color: #dddddd;
}

footer a:hover {
  color: var(--cta-amber);
  text-decoration: underline;
}

.footer-cols > ul {
  display: grid;
  grid-template-columns: 240px 240px minmax(0, 1fr);
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  align-items: start;
}

.col-F-ct h2,
.col-F-ct h3 {
  color: var(--text-inverse);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
}

.col-F-ct h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background-color: #c7511f;
  border-radius: 2px;
}

.list-menu_footer li {
  padding: 5px 0;
}

.list-menu_footer li a {
  display: inline-block;
  font-size: 0.84375rem;
  transition:
    color var(--transition-fast),
    padding-left var(--transition-fast);
}

.list-menu_footer li a:hover {
  padding-left: 4px;
  text-decoration: none;
}

/* Contact info: 2 balanced columns (head office | branch + badge) */
.info-footer-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  align-items: start;
}

.info-footer-body p {
  margin: 0 0 10px;
  font-size: 0.84375rem;
  line-height: 1.7;
  color: #d1d5db;
}

.info-footer-body p strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.9375rem;
}

.info-footer-body > a {
  grid-column: 2;
  justify-self: start;
  display: inline-block;
}

.info-footer-body img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

.info-footer-body > p:empty,
.info-footer-body > div[class*="TnITTtw"] {
  display: none;
}

#info-footer table {
  width: 100% !important;
  margin: 0 !important;
}

#info-footer td {
  text-align: left !important;
  vertical-align: top;
  padding: 0 12px 0 0;
}

.sl-logobank {
  margin-top: 16px;
}

.sl-logobank ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.sl-logobank img {
  height: 34px;
  width: auto;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  padding: 2px;
}

/* Newsletter & Social Row */
.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.title-newsletter {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-inverse);
  text-transform: uppercase;
}

.newsletter .form-submit {
  display: flex;
  flex: 1 1 360px;
  max-width: 460px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-surface);
}

.newsletter .submitEmail {
  padding: 0 20px;
  background-color: var(--cta-amber);
  color: var(--text-primary);
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.newsletter .submitEmail:hover {
  background-color: var(--cta-amber-hover);
}

.social-network {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-network h2,
.social-network h3 {
  color: var(--text-inverse);
  font-size: 0.9375rem;
  margin-right: 4px;
}

.social-network a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--text-inverse);
  transition: background-color var(--transition-fast);
}

.social-network a:hover {
  background-color: var(--cta-amber);
  color: var(--nav-dark);
  text-decoration: none;
}

.social-network a.facebook::before {
  font-family: FontAwesome;
  content: "\f09a";
}
.social-network a.gplus::before {
  font-family: FontAwesome;
  content: "\f0d5";
}
.social-network a.youtube::before {
  font-family: FontAwesome;
  content: "\f167";
}

#SEO-home {
  padding: 24px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.7;
  color: #d1d5db;
}

.seo-home-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 28px;
}

#SEO-home h1,
#SEO-home h1 span {
  font-size: 1.0625rem !important;
  font-weight: 700;
  color: #fff !important;
}

#SEO-home h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

#SEO-home h1::before {
  content: "";
  width: 4px;
  height: 18px;
  background: #c7511f;
  border-radius: 2px;
  flex-shrink: 0;
}

#SEO-home p {
  margin: 0 0 16px;
  font-size: 0.84375rem;
  color: #9ca3af;
}

#SEO-home ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#SEO-home li {
  position: relative;
  padding: 9px 12px 9px 34px;
  font-size: 0.84375rem;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

#SEO-home li::before {
  content: "\f058";
  font-family: FontAwesome;
  position: absolute;
  left: 11px;
  top: 9px;
  color: #ffa41c;
}

#category-footer {
  padding: 20px 0;
}

#category-footer .title-cat {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: 12px;
}

.best-list-cates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px 16px;
}

.footer-link {
  font-size: 0.8125rem;
  font-weight: 400;
}

#footer-bottom {
  background-color: var(--nav-footer-bottom);
  padding: 14px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: #aaaaaa;
  margin-top: 12px;
}

#footer-bottom a {
  color: var(--cta-amber) !important;
}

/* ==========================================================================
   14. MODALS, FANCYBOX & JQUERY UI AUTOCOMPLETE
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background-color: rgba(15, 17, 17, 0.6);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.in {
  display: flex !important;
}

.modal-dialog,
.popup-dialog {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  max-width: 520px;
  width: 100%;
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow-dropdown);
}

.ui-autocomplete {
  position: absolute;
  z-index: 1100 !important;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  max-height: 360px;
  overflow-y: auto;
  padding: 6px 0;
}

.ui-autocomplete-category {
  font-weight: 700;
  padding: 6px 14px;
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.ui-menu-item {
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.875rem;
}

.ui-menu-item:hover,
.ui-state-focus {
  background-color: var(--bg-muted);
  color: var(--text-link-hover);
}

.fancybox-overlay {
  position: fixed;
  inset: 0;
  z-index: 8010;
  background: rgba(0, 0, 0, 0.85);
}

.fancybox-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8020;
}

.fancybox-skin {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
}

.fancybox-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

/* Category Products Grid (_ListCateProducts.cshtml), Compare Popup (_ListCompare.cshtml), Sub-Banner & Search Tool */
#cate_product_page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cate-product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 18px;
}

.item_P {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.item_P:last-child {
  border-bottom: 0;
}

.item_P .product {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.img_product {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px;
}

.img_product img {
  max-height: 104px;
  object-fit: contain;
}

.product_name {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.product_name a {
  color: var(--text-link);
}

.short_des {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.main_price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-price);
}

.view_allP {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--text-link-hover);
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  align-items: center;
  justify-content: center;
}

.popup-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.popup-form {
  position: relative;
  z-index: 1201;
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  padding: 20px;
  max-width: 90vw;
  max-height: 85vh;
  overflow: auto;
}

.popup-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-weight: 700;
  cursor: pointer;
}

.sub-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.search-template .boxsearch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS (1600px -> LAPTOP -> TABLET -> MOBILE)
   ========================================================================== */
@media (max-width: 1280px) {
  .header-main {
    gap: 16px;
  }

  .head-mid {
    gap: 16px;
  }

  .header-right-actions {
    gap: 14px;
  }

  .pros-home > ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .list-products-page > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  /* Header Top Belt on Mobile / Tablet */
  .header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 12px;
  }

  #logo {
    display: inline-flex;
    align-items: center;
    padding: 0;
  }

  #logo img {
    max-height: 48px;
    height: 48px;
    width: auto;
  }

  /* Completely hide desktop search and hotline on mobile/tablet top belt */
  .head-mid,
  .hotline-branch {
    display: none !important;
  }

  /* Top right actions on mobile: only Account icon + Cart icon */
  .header-right-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  .account-area {
    display: inline-flex;
    align-items: center;
  }

  .account-link-pad {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 50%;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
      background-color var(--transition-fast),
      border-color var(--transition-fast);
  }

  .account-link-pad:hover {
    background-color: #fff3eb;
    border-color: #c7511f;
  }

  .account-link-pad .fa-user {
    font-size: 1.15rem;
    color: #c7511f;
  }

  .account-link-pad .account-login-more,
  .account-link-pad .account-login {
    display: none !important;
  }

  .cart-link > a {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 50%;
    background-color: #c7511f;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color var(--transition-fast);
  }

  .cart-link > a:hover {
    background-color: #fa8900;
    color: #ffffff;
  }

  .cart-link > a .fa-shopping-cart {
    font-size: 1.15rem;
  }

  .cart-link > a .cart-link-pad {
    position: static;
  }

  .cart-link > a .cart-title,
  .cart-link > a .i-view-more,
  .cart-link > a .cart-unit-text {
    display: none !important;
  }

  .cart-link > a .total-quantity-cart {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #ffa41c;
    color: #0f1111;
    font-size: 0.6875rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 999px;
    text-align: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  }

  /* Head-bottom on Mobile: sticky top, contains Category ☰, Top Menu Dropdown, Search Pill */
  .head-bottom-holder {
    position: relative;
    width: 100%;
    min-height: 48px;
    z-index: 1010;
  }

  .head-bottom {
    background-color: #c7511f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 6px 0;
    position: relative;
    width: 100%;
    z-index: 1010;
  }

  .head-bottom.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1050;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    animation: stickySlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .head-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  /* 1. Category Button (☰ only) */
  .all-categories {
    padding-right: 0;
    flex-shrink: 0;
  }

  .dropdown-nav .tab-menu {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
  }

  .dropdown-nav .tab-menu:hover,
  .dropdown-nav .tab-menu:active {
    background: rgba(0, 0, 0, 0.28);
  }

  .dropdown-nav .tab-menu .tab-menu-text,
  .dropdown-nav .tab-menu .tab-menu-caret {
    display: none !important;
  }

  .dropdown-nav .tab-menu .hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3.5px;
    width: 18px;
    height: 18px;
  }

  .dropdown-nav .tab-menu .icon-bar {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
  }

  /* Mobile Off-Canvas Drawer for Product Categories (#maincate-nav) */
  #maincate-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 310px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 10001 !important;
    border-radius: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    transform: translate3d(-100%, 0, 0) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
    padding-bottom: 50px !important;
    box-shadow: none !important;
  }

  #maincate-nav.in {
    transform: translate3d(0, 0, 0) !important;
    box-shadow: 10px 0 35px rgba(15, 23, 42, 0.3) !important;
  }

  .drawer-header-mobile {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 14px 0 18px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.03em;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 3px solid #c7511f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  .drawer-header-mobile span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
  }

  .drawer-header-mobile span i {
    color: #c7511f;
  }

  .drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 0;
    color: #cbd5e1;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .drawer-close-btn:hover,
  .drawer-close-btn:active {
    background: #c7511f;
    color: #ffffff;
  }

  /* Mobile Category List inside #maincate-nav */
  #maincate-nav .nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #maincate-nav .nav-menu > li {
    position: relative;
    border-bottom: 1px solid #f1f5f9;
  }

  #maincate-nav .nav-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 48px 13px 18px;
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition:
      background-color 0.15s ease,
      color 0.15s ease;
  }

  #maincate-nav .nav-menu li:hover > a,
  #maincate-nav .nav-menu li.open > a {
    background-color: #fff7ed;
    color: #c7511f;
    font-weight: 600;
  }

  #maincate-nav .nav-menu .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 44px;
    cursor: pointer;
    z-index: 3;
    color: #64748b;
    border-left: 1px solid #f1f5f9;
    background-color: transparent;
    transition: all 0.2s ease;
  }

  #maincate-nav .nav-menu .dropdown-toggle:hover,
  #maincate-nav .nav-menu .dropdown-toggle.sub-toggle-collapsed {
    background-color: #ffedd5;
    color: #c7511f;
  }

  #maincate-nav .nav-menu .dropdown-toggle::before {
    font-family: FontAwesome;
    content: "\f067"; /* fa-plus */
    font-size: 0.75rem;
  }

  #maincate-nav .nav-menu .dropdown-toggle.sub-toggle-collapsed::before {
    content: "\f068"; /* fa-minus */
  }

  #maincate-nav .nav-menu ul.dropdown-menu {
    display: none !important;
    position: static;
    float: none;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-top: 1px solid #edf2f7;
    background-color: #f8fafc;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  #maincate-nav .nav-menu ul.dropdown-menu li {
    position: relative;
    border-bottom: 1px solid #edf2f7;
  }

  #maincate-nav .nav-menu ul.dropdown-menu li:last-child {
    border-bottom: 0;
  }

  #maincate-nav .nav-menu ul.dropdown-menu li a {
    padding-left: 32px;
    font-size: 0.84rem;
    color: #475569;
  }

  #maincate-nav .nav-menu ul.dropdown-menu ul.dropdown-menu {
    background-color: #f1f5f9;
  }

  #maincate-nav .nav-menu ul.dropdown-menu ul.dropdown-menu li a {
    padding-left: 46px;
  }

  #maincate-nav .nav-menu li.open > ul.dropdown-menu {
    display: block !important;
    animation: menuFadeIn 0.2s ease-out;
  }

  @keyframes menuFadeIn {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Mobile Secondary Menu in Drawer (Tư vấn, Giới thiệu, v.v.) */
  .drawer-secondary-menu {
    margin-top: 14px;
    border-top: 2px solid #e2e8f0;
    background-color: #f8fafc;
    padding-bottom: 24px;
  }

  .drawer-secondary-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px 9px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .drawer-secondary-title i {
    color: #c7511f;
    font-size: 0.875rem;
  }

  .drawer-secondary-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .drawer-secondary-list li {
    border-bottom: 1px solid #edf2f7;
  }

  .drawer-secondary-list li:last-child {
    border-bottom: 0;
  }

  .drawer-secondary-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
  }

  .drawer-secondary-list li a:hover,
  .drawer-secondary-list li a:active {
    background-color: #fff7ed;
    color: #c7511f;
    padding-left: 22px;
  }

  .drawer-secondary-list li a i {
    color: #94a3b8;
    font-size: 0.8rem;
    transition:
      transform 0.15s ease,
      color 0.15s ease;
    flex-shrink: 0;
  }

  .drawer-secondary-list li a:hover i,
  .drawer-secondary-list li a:active i {
    color: #c7511f;
    transform: translateX(3px);
  }

  .overlay-menu {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 10000 !important;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .overlay-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Mobile & Tablet Banner Proportion Optimization */
  .slider-home .slide-banner-link,
  .slider-home .slide > a {
    aspect-ratio: 910 / 407;
    max-height: none;
  }

  .slider-home img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    box-shadow: none;
  }

  .slick-arrow {
    width: 32px;
    height: 32px;
  }

  .featured-cates > .slick-arrow,
  .featured-prods > .slick-arrow,
  .sl-news > .slick-arrow,
  .pros-cate > .slick-arrow {
    top: -44px;
  }

  .featured-cates > .slick-prev,
  .featured-prods > .slick-prev,
  .sl-news > .slick-prev,
  .pros-cate > .slick-prev {
    right: 44px;
  }

  .catalog-layout,
  .box-prod-detail,
  .product-detail-lower,
  .news-layout,
  .contact-grid,
  #cate_product_page {
    grid-template-columns: 1fr;
  }

  .box-prod-detail {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 16px !important;
  }

  .product-slide {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    position: static !important;
  }

  .img-wrapper-inner.main_img {
    height: 320px !important;
  }

  .img-wrapper-inner.main_img img {
    max-height: 300px !important;
  }

  .info-detail-pro {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
  }

  .product-info-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .product-detail-lower {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .mod-sideDeal {
    width: 100% !important;
    float: none !important;
  }

  .tabs-container {
    padding: 18px !important;
  }

  .product-tabs {
    overflow-x: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
  }

  .product-tabs li a {
    padding: 12px 18px !important;
    font-size: 0.875rem !important;
  }

  .policy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cols > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #info-footer {
    grid-column: 1 / -1;
  }

  .pros-home > ul,
  .list-products-page > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #menuFixed {
    display: none;
  }
  #logo {
    padding: 0;
  }

  #logo img {
    max-height: 40px;
    height: 40px;
  }

  .account-link-pad,
  .cart-link > a {
    width: 35px;
    height: 35px;
    min-width: 35px;
  }

  .account-link-pad .fa-user {
    font-size: 1rem;
  }

  .cart-link > a .fa-shopping-cart {
    font-size: 1rem;
  }

  .dropdown-nav .tab-menu {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .btn-menu-top-mobile {
    height: 34px;
    padding: 0 8px;
    font-size: 0.775rem;
  }

  .mobile-head-search {
    height: 34px;
    padding: 2px 3px 2px 10px;
  }

  .mobile-head-search .mobile-search-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .ads-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .slick-dots {
    bottom: 4px;
    padding: 4px 0;
  }

  .slick-dots li button {
    width: 7px;
    height: 7px;
  }

  .product-info-grid {
    grid-template-columns: 1fr;
  }

  .section-header,
  .g-Tab,
  .tab-news {
    font-size: 1.25rem;
    padding-bottom: 14px;
  }

  .box-fea-cates,
  .box-fea-prods,
  #ajaxHome > .box,
  .news-home {
    padding: 24px 0;
  }

  .featured-cates > .slick-arrow,
  .featured-prods > .slick-arrow,
  .sl-news > .slick-arrow,
  .pros-cate > .slick-arrow {
    top: -40px;
  }

  .cate-item {
    margin: 0 6px;
  }

  .img-cate {
    padding: 14px;
    margin-bottom: 10px;
  }

  .pro-item {
    padding: 14px 12px;
  }

  .slick-slide .pro-item {
    margin: 0 5px;
  }

  .img-pro {
    height: 170px;
    margin-bottom: 12px;
  }

  .img-pro img {
    max-height: 155px;
  }

  .pros-home > ul,
  .list-products-page > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 0 0;
  }

  .list-products-page > ul {
    padding: 10px;
  }

  .list-news .news-item {
    padding: 12px;
  }

  .policy-grid,
  .footer-cols > ul,
  .info-footer-body,
  #SEO-home ul {
    grid-template-columns: 1fr;
  }

  .info-footer-body > a {
    grid-column: 1;
  }

  .seo-home-card {
    padding: 18px 16px;
  }

  /* Product Detail Mobile Adjustments */
  .title-pr {
    font-size: 1.25rem !important;
  }

  .price-detail {
    padding: 14px 16px !important;
  }

  .price-detail .cost {
    font-size: 1.5rem !important;
  }

  .btn-order,
  .button-buy {
    width: 100% !important;
    min-width: 100% !important;
    height: 46px !important;
    border-radius: 23px !important;
  }

  .box-other-prods {
    padding: 14px !important;
  }

  .box-other-prods .img-pro {
    height: 150px !important;
  }

  .box-other-prods .img-pro img {
    max-height: 140px !important;
  }

  .detail-pro-items .row-pro {
    flex-wrap: wrap;
    gap: 4px;
  }

  .detail-pro-items .tt-des {
    min-width: 110px;
  }
}

@media (max-width: 575px) {
  .cart-title {
    display: none;
  }

  .box-prod-detail {
    padding: 12px !important;
  }

  .img-dtp {
    padding: 10px !important;
  }

  .img-wrapper-inner.main_img {
    height: 260px !important;
  }

  .img-wrapper-inner.main_img img {
    max-height: 240px !important;
  }

  .price-detail .cost {
    font-size: 1.375rem !important;
  }

  .row-brand {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }

  .ads-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ads-item a {
    aspect-ratio: 366 / 285;
    max-height: 220px;
  }
}
