/* ========================= HEADER COMPONENT STYLES ========================= */
/* PhuTungXe KHANHCHAU - Component-based Architecture */
/* Design System: Red var(--primary), Dark Gray #333, Orange #FFA500 */
/* Font: Be Vietnam Pro */

/* ============ BASE STYLES ============ */
:root {
  /* ===== Base surfaces ===== */
  --background: #ffffff;
  --foreground: #333333;
  --black: #000000;
  --white: #ffffff;

  --card: #f7f8f8;
  --card-foreground: var(--foreground);

  --popover: #ffffff;
  --popover-foreground: var(--foreground);

  /* ===== Brand ===== */
  --primary: #cc0000; /* Brand red */
  --neon-primary: #ff0000; /* Neon red */
  --primary-foreground: #ffffff;
  --secondary: #1a1a1a; /* Dark neutral for outline/ghost buttons */
  --secondary-foreground: #ffffff;

  /* ===== Accents & states ===== */
  --text-muted: #6c757d;
  --muted: #f5f5f5;
  --muted-foreground: #666666;
  --dark-nav: #1a1a1a;
  --accent: #fff5ea; /* subtle orange-tint surface */
  --accent-foreground: #ffa500; /* Accent orange */
  --accent-orange: #ff6b47;
  --destructive: #f44336; /* Error (khác brand red) */
  --destructive-foreground: #ffffff;
  --warning-orange: #fd7e14;
  /* ===== UI tokens ===== */
  --border: #e0e0e0;
  --input: #ffffff;
  --ring: var(--primary); /* Focus ring theo brand */

  /* ===== Charts (brand-first) ===== */
  --chart-1: var(--primary); /* sales, primary */
  --chart-2: #ffa500; /* accent */
  --chart-3: #4caf50; /* success */
  --chart-4: #2196f3; /* info/alt */
  --chart-5: #9e9e9e; /* neutral */

  /* ===== Sidebar ===== */
  --sidebar: #f7f8f8;
  --sidebar-foreground: var(--foreground);
  --sidebar-primary: var(--primary);
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #fff5ea;
  --sidebar-accent-foreground: #ffa500;
  --sidebar-border: #e0e0e0;
  --sidebar-ring: var(--primary);

  /* ===== Typography & radius ===== */
  --font-sans: "Be Vietnam Pro", "Montserrat", "Lora", system-ui, -apple-system,
    Segoe UI, Roboto, sans-serif;
  --font-serif: Georgia, serif;
  --font-mono: Menlo, monospace;

  /* Design system: 12px cards, 8px buttons → chọn radius gốc 12px */
  --radius: 0.75rem; /* 12px */

  /* ===== Shadows (from DS) ===== */
  --shadow-x: 0px;
  --shadow-y: 2px;
  --shadow-blur: 8px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.08;
  --shadow-color: rgba(0, 0, 0, 0.08);

  --shadow-2xs: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12),
    0 2px 4px -1px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 6px 20px rgba(255, 0, 0, 0.3); /* emphasized brand glow */
  --shadow-2xl: 0 10px 30px rgba(0, 0, 0, 0.18);

  --tracking-normal: 0em;
  --spacing: 0.25rem;
  --transition: all 0.3s ease;
}

.dark {
  /* ===== Base surfaces (dark) ===== */
  --background: #0d0d0d;
  --foreground: #eaeaea;

  --card: #1a1a1a;
  --card-foreground: #e0e0e0;

  --popover: #0d0d0d;
  --popover-foreground: #eaeaea;

  /* ===== Brand ===== */
  --primary: #ff1a1a; /* slightly lighter red for dark bg */
  --primary-foreground: var(--background);
  --secondary: #f0f0f0;
  --secondary-foreground: #1a1a1a;

  /* ===== Accents & states ===== */
  --muted: #161616;
  --muted-foreground: #8c8c8c;

  --accent: #241008; /* deep warm surface */
  --accent-foreground: #ffa500;

  --destructive: #f44336;
  --destructive-foreground: var(--background);

  /* ===== UI tokens ===== */
  --border: #2a2a2a;
  --input: #1e1e1e;
  --ring: #ff1a1a;

  /* ===== Charts (dark-contrast) ===== */
  --chart-1: #ff4d4d;
  --chart-2: #ffb74d;
  --chart-3: #66bb6a;
  --chart-4: #64b5f6;
  --chart-5: #bdbdbd;

  /* ===== Sidebar ===== */
  --sidebar: #171717;
  --sidebar-foreground: #e0e0e0;
  --sidebar-primary: #ff1a1a;
  --sidebar-primary-foreground: var(--background);
  --sidebar-accent: #241008;
  --sidebar-accent-foreground: #ffa500;
  --sidebar-border: #2a2a2a;
  --sidebar-ring: #ff1a1a;

  /* Typography & shadows giữ nguyên */
  --font-sans: "Be Vietnam Pro", system-ui, -apple-system, Segoe UI, Roboto,
    sans-serif;
  --font-serif: Georgia, serif;
  --font-mono: Menlo, monospace;
  --radius: 0.75rem;

  --shadow-color: rgba(255, 0, 0, 0.25);
  --shadow-2xs: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2), 0 1px 2px -1px rgba(0, 0, 0, 0.16);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 1px 2px -1px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.28),
    0 2px 4px -1px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.32),
    0 4px 6px -1px rgba(0, 0, 0, 0.26);
  --shadow-xl: 0 6px 20px rgba(255, 0, 0, 0.3);
  --shadow-2xl: 0 10px 30px rgba(0, 0, 0, 0.36);
}
section {
  overflow: hidden;
}
@font-face {
  font-family: "MJ-EurostileExtendedBlack";
  src: url("../fonts/MJ-EurostileExtendedBlack.ttf");
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);

  --font-sans: var(--font-sans);
  --font-mono: var(--font-mono);
  --font-serif: var(--font-serif);

  /* map radius theo DS (sm=8px, md=10px, lg=12px, xl=16px) từ gốc 12px */
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  --shadow-2xs: var(--shadow-2xs);
  --shadow-xs: var(--shadow-xs);
  --shadow-sm: var(--shadow-sm);
  --shadow: var(--shadow);
  --shadow-md: var(--shadow-md);
  --shadow-lg: var(--shadow-lg);
  --shadow-xl: var(--shadow-xl);
  --shadow-2xl: var(--shadow-2xl);
}
#toTop {
  font-size: 18px;
}
.hcw-text-overflow-wrapper {
  width: fit-content;
  line-height: 1.5;
}
.hcw-text-overflow {
  display: block;
  overflow: hidden;
  position: relative;
}
.hcw-text-overflow-top {
  display: block;
  overflow: hidden;
  position: relative;
  z-index: 1;
  top: 0;
  transition: var(--transition);
  -webkit-transition: var(--transition);
  -moz-transition: var(--transition);
  -ms-transition: var(--transition);
  -o-transition: var(--transition);
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  will-change: transform;
}
.hcw-text-overflow-bottom {
  display: block;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  top: 0;
  transition: var(--transition);
  -webkit-transition: var(--transition);
  -moz-transition: var(--transition);
  -ms-transition: var(--transition);
  -o-transition: var(--transition);
  transform: translateY(100%);
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  will-change: transform;
}
.hcw-text-overflow-wrapper:hover .hcw-text-overflow-top {
  transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  will-change: transform;
}
.hcw-text-overflow-wrapper:hover .hcw-text-overflow-bottom {
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  will-change: transform;
}
.btn-primary {
  background: var(--primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 5px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 400;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.btn-primary:focus {
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  -ms-box-shadow: none !important;
  -o-box-shadow: none !important;
}
body {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--foreground);
  background: #fff;
}

/* ============ TOP BAR ============ */

/* header start */

.header-top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--primary);
}

.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.top-bar-item:hover {
  color: var(--white);
}
.top-bar-left-hotline {
  transform: translateY(1px);
  -webkit-transform: translateY(1px);
  -moz-transform: translateY(1px);
  -ms-transform: translateY(1px);
  -o-transform: translateY(1px);
}
.top-bar-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--foreground);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.social-link img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
.social-link:hover {
  background: var(--black);
  color: #fff;
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}

/* ============ MAIN HEADER ============ */
.header-main {
  background: #fff;
  padding: 10px 0;
  position: relative;
  top: 0;
  z-index: 1005;
}

.header-wrapper {
  display: flex;
  align-items: center;
  gap: 0px;
}

/* Logo */
.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-content h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin: 0;
}

.logo-content p {
  font-size: 11px;
  color: #666;
  margin: 0;
}

/* Search Box */
.header-search {
  position: relative;
  width: 100%;
  flex-grow: 1;
  max-width: 500px;
}

.search-form {
  width: 100%;
}
.search-form-input-group {
  width: 100%;
  border: 2px solid var(--primary);
  border-radius: 8px !important;
  overflow: hidden;
  background: #fff;
  -webkit-border-radius: 8px !important;
  -moz-border-radius: 8px !important;
  -ms-border-radius: 8px !important;
  -o-border-radius: 8px !important;
}

.search-input {
  flex: 1;
  padding: 5px 15px;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: "Be Vietnam Pro", sans-serif;
}

.search-input::placeholder {
  color: #999;
}
.search-input:focus {
  outline: none;
  box-shadow: none;
}
.search-btn {
  padding: 6px 12px;
  background: var(--black);
  color: var(--background);
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
  -webkit-transition: background 0.3s ease;
  -moz-transition: background 0.3s ease;
  -ms-transition: background 0.3s ease;
  -o-transition: background 0.3s ease;
  border-radius: 8px !important;
  -webkit-border-radius: 8px !important;
  -moz-border-radius: 8px !important;
  -ms-border-radius: 8px !important;
  -o-border-radius: 8px !important;
}

.search-btn:hover {
  background: #d90000;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: none;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
}

.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  color: var(--foreground);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  cursor: pointer;
}

.header-action:hover {
  background: #f5f5f5;
  color: var(--primary);
}

.header-action i {
  font-size: 22px;
}

.action-badge {
  position: absolute;
  top: 0;
  right: 5px;
  background: var(--primary);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 400;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 12px;
  text-align: center;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.action-badge.gift-badge {
  right: -7px;
  top: -3px;
}

.action-label {
  font-size: 11px;
  font-weight: 500;
  text-wrap: nowrap;
  -webkit-text-wrap: nowrap;
  -moz-text-wrap: nowrap;
  -ms-text-wrap: nowrap;
  -o-text-wrap: nowrap;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--foreground);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============ NAVIGATION ============ */
.header-nav {
  background: #fff;
  border-top: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  color: var(--black);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  text-transform: capitalize;
}

.nav-link:hover {
  background: #f5f5f5;
  color: var(--primary);
}

.nav-link i {
  font-size: 16px;
}

.nav-arrow {
  font-size: 12px;
  margin-left: 4px;
}

.nav-badge {
  background: var(--primary);
  color: #fff;
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 600;
  transform: translate(-2px, -5px);
  -webkit-transform: translate(-2px, -5px);
  -moz-transform: translate(-2px, -5px);
  -ms-transform: translate(-2px, -5px);
  -o-transform: translate(-2px, -5px);
}

/* Category Button */
.nav-category {
  margin-left: auto;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: #d90000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

/* ============ MEGA MENU ============ */
.mega-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  background: var(--background);
  min-width: 900px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  width: 100%;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 10px);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.mega-menu-wrapper {
}

.mega-menu-column {
  border-right: 1px solid #eee;
  padding-right: 20px;
}

.mega-menu-column:last-child {
  border-right: none;
}

.mega-menu-title {
  font-size: clamp(0.7rem, 0.4304rem + 0.4348vw, 0.8rem);
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--normal-font);
}

.mega-menu-title i {
  font-size: 18px;
}
.mega-menu-title:hover {
  color: var(--primary);
}

.mega-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0px;
  list-style: none;
  padding-left: 0;
}

.mega-menu-link {
  display: -webkit-box;
  padding: 8px 12px;
  color: #555;
  font-size: 12px;
  border-radius: 4px;
  transition: all 0.5s ease;
  position: relative;
  padding-left: 10px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  font-family: var(--normal-font);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* .mega-menu-link::before {
  content: "→";
  position: absolute;
  left: 8px;
  opacity: 0;
  transition: all 0.45s ease;
  color: var(--primary);
  -webkit-transition: all 0.45s ease;
  -moz-transition: all 0.45s ease;
  -ms-transition: all 0.45s ease;
  -o-transition: all 0.45s ease;
  top: 46%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
} */

.mega-menu-link:hover {
  background: #fff5f5;
  color: var(--primary);
  padding-left: 15px;
}

.mega-menu-link:hover::before {
  opacity: 1;
  left: 8px;
}

/* Featured Banner in Mega Menu */
.mega-menu-featured {
  grid-column: 4 / 5;
  border-left: 2px solid var(--primary);
  padding-left: 20px;
}

.featured-banner {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.featured-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.2);
}

.featured-content {
  padding: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #ffa500 100%);
  color: #fff;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.featured-content p {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.95;
}

.btn-view-more {
  display: inline-block;
  padding: 8px 20px;
  background: #fff;
  color: var(--primary);
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  align-self: flex-start;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Sticky header enhancements */
.header-main.sticky {
  animation: slideDown 0.3s ease;
  -webkit-animation: slideDown 0.3s ease;
}

.header-main.hide {
  transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Offcanvas Custom Styling */
.offcanvas {
  width: 340px !important;
  background: linear-gradient(180deg, var(--background) 0%, #f8f9fa 100%);
  border-right: 2px solid rgba(255, 0, 0, 0.2);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.offcanvas-header {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.offcanvas-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.offcanvas-brand i {
  font-size: 36px;
  color: white;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.offcanvas-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.offcanvas-subtitle {
  font-size: 11px;
  opacity: 0.95;
  display: block;
  margin-top: 2px;
}

.btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 1;
  background-size: 20px;
}

/* Offcanvas Body */
.offcanvas-body {
  padding: 0;
  overflow-y: auto;
  background: #f8f9fa;
}

.offcanvas-body::-webkit-scrollbar {
  width: 6px;
}

.offcanvas-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.offcanvas-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), #ffa500);
  border-radius: 10px;
}

/* Mobile User Section */
.mobile-user-section {
  padding: 20px;
  background: rgba(255, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-user-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--foreground);
  padding: 12px 15px;
  background: white;
  border: 2px solid rgba(255, 0, 0, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.1);
}

.mobile-user-link:hover {
  background: #fff5f5;
  border-color: var(--primary);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.mobile-user-link i:first-child {
  font-size: 28px;
  color: var(--primary);
}

.mobile-user-link i:last-child {
  margin-left: auto;
  font-size: 14px;
  color: #ffa500;
}

/* Accordion Custom Styles */
.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: rgba(0, 0, 0, 0.1);
  --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.accordion-button {
  background: white;
  color: var(--foreground);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-left: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.accordion-button:hover {
  background: #fff5f5;
  color: var(--primary);
  transform: translateX(5px);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.1),
    rgba(255, 165, 0, 0.1)
  );
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.15);
}

.accordion-button::after {
  display: none; /* Hide default Bootstrap icon */
}

.accordion-button i {
  margin-right: 12px;
  font-size: 18px;
}

.accordion-button .fa-chevron-down {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .fa-chevron-down {
  transform: rotate(180deg);
  color: #ffa500;
}

/* Mobile Menu Link (no accordion) */
.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: var(--foreground);
  font-size: 15px;
  font-weight: 500;
  background: white;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mobile-menu-link:hover {
  background: #fff5f5;
  border-left-color: var(--primary);
  color: var(--primary);
  transform: translateX(5px);
}

.mobile-menu-link i {
  font-size: 18px;
  color: var(--primary);
}

.mobile-badge {
  margin-left: auto;
  background: linear-gradient(135deg, var(--primary), #ffa500);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Accordion Body */
.accordion-body {
  padding: 0;
  background: #f0f0f0;
}

/* Level 2 Accordion */
.level-2 .accordion-button {
  padding-left: 40px;
  font-size: 14px;
  background: #fafafa;
  border-left: 3px solid rgba(255, 165, 0, 0.3);
}

.level-2 .accordion-button:hover {
  background: #fff8f0;
}

.level-2 .accordion-button:not(.collapsed) {
  background: linear-gradient(
    135deg,
    rgba(255, 165, 0, 0.1),
    rgba(255, 0, 0, 0.05)
  );
}

.level-2 .accordion-button i {
  font-size: 16px;
  color: #ffa500;
}

/* Level 3 Links */
.level-3 {
  background: #e8e8e8;
  padding: 10px 0;
}

.mobile-submenu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 60px;
  color: #555;
  font-size: 13px;
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
  position: relative;
}

.mobile-submenu-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #ffa500);
  transition: width 0.3s ease;
}

.mobile-submenu-link:hover {
  color: var(--primary);
  background: white;
  border-left-color: var(--primary);
  padding-left: 70px;
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.1);
}

.mobile-submenu-link:hover::before {
  width: 30px;
}

.mobile-submenu-link i {
  font-size: 8px;
  color: #ffa500;
}

/* Mobile Actions Section */
.mobile-actions-section {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.05),
    rgba(255, 165, 0, 0.05)
  );
  border: 2px solid rgba(255, 0, 0, 0.2);
  border-radius: 12px;
  color: var(--foreground);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-action-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.1),
    rgba(255, 165, 0, 0.1)
  );
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.2);
}

.mobile-action-btn i {
  font-size: 24px;
  color: var(--primary);
}

.mobile-action-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, var(--primary), #ffa500);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Mobile Contact Section */
.mobile-contact-section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8f9fa;
}

.mobile-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: var(--foreground);
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mobile-contact-link:hover {
  color: var(--primary);
  background: #fff5f5;
  border-color: rgba(255, 0, 0, 0.3);
  transform: translateX(5px);
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.1);
}

.mobile-contact-link i {
  font-size: 18px;
  color: #ffa500;
}

/* Animations */
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
  }
}

.mobile-action-btn:hover,
.mobile-user-link:hover {
  animation: glow 2s ease-in-out infinite;
}

/* Dark mode optimizations */
.offcanvas * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.logo-brand-desktop {
  width: 100%;
  max-width: 90px;
  min-width: 60px;
}
.has-mega-menu {
  position: static;
}

.kc-sub-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  background: #ffffff;
  border-radius: 12px;
  min-width: 220px;
  border: 1px solid rgba(51, 51, 51, 0.1);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  width: max-content;
  filter: blur(3px);
  -webkit-filter: blur(3px);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.menu-level-1-has-dropdown:hover .kc-sub-menu {
  opacity: 1;
  visibility: visible;
  filter: blur(0px);
  -webkit-filter: blur(0px);
  top: calc(100% + 10px);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.kc-sub-menu-list {
  list-style: none;
  margin: 0;
  padding: 10px;
}

.kc-sub-menu-list.level-2 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
}

.kc-sub-menu-list.level-3 {
  list-style: none;
  margin: 0;
  position: absolute;
  top: 10px;
  left: calc(100% + 15px);
  background: var(--background);
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  min-width: 220px;
  width: max-content;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(51, 51, 51, 0.1);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  filter: blur(3px);
  -webkit-filter: blur(3px);
}

.sub-menu-has-dropdown:hover .kc-sub-menu-list.level-3 {
  opacity: 1;
  visibility: visible;
  filter: blur(0px);
  -webkit-filter: blur(0px);
  top: 0;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
/* Typography và styling cho submenu links */
.mega-sub-menu-link {
  font-family: var(--normal-font) !important;
  text-decoration: none;
  color: var(--foreground);
  transition: all 0.3s ease;
  display: block;
  border-radius: 6px;
  position: relative;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.mega-sub-menu-link.level-2 {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  padding: 10px 10px;
  margin-bottom: 4px;
  border-left: 3px solid transparent;
}

.mega-sub-menu-link.level-2:hover {
  background-color: #fff5f5;
  color: var(--primary);
  transform: translateX(4px);
  -webkit-transform: translateX(4px);
  -moz-transform: translateX(4px);
  -ms-transform: translateX(4px);
  -o-transform: translateX(4px);
}

.mega-sub-menu-link.level-3 {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  padding: 8px 10px;
  color: var(--foreground);
  background: var(--background);
}

.mega-sub-menu-link.level-3:hover {
  background-color: #fff5f5;
  color: var(--primary);
  padding-left: 15px;
  -webkit-padding-left: 15px;
  -moz-padding-left: 15px;
  -ms-padding-left: 15px;
  -o-padding-left: 15px;
}

/* Chevron icon styling */
.mega-sub-menu-link .fa-chevron-right {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #ffa500;
  opacity: 0.7;
}

/* Focus states for accessibility */

.btn-primary-header {
  color: var(--background);
  background-color: var(--primary);
  border-color: var(--primary);
  transition: 0.3s;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 0;
  box-shadow: none;
  gap: 8px;
  white-space: nowrap;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px,
    rgba(0, 0, 0, 0.1) 0px 7px 5px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

/* ========================= SLOGAN DESIGN COMPONENT ========================= */
/* PhuTungXe KHANHCHAU - Professional Brand Slogan */
/* Design System: Red #cc0000 primary, Gray #333, Typography Be Vietnam Pro */

.slogan-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 0px;
  padding: 8px 0;
  position: relative;
}

/* Top text - "Nhà phân phối" */
.text-slogan-top {
  line-height: 1.2;
}

.text-slogan-top span {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #666666;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* Bottom text - "KHÁNH CHÂU" */
.text-slogan-bottom {
  line-height: 1.1;
  margin-top: 1px;
}

.text-slogan-bottom span {
  font-family: "MJ-EurostileExtendedBlack";
  font-size: 22px;
  color: var(--primary);
  letter-spacing: 0px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(204, 0, 0, 0.2);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  text-wrap: nowrap;
}

/* Hover effects for brand interaction */
.slogan-header:hover .text-slogan-top span {
  color: var(--foreground);
  opacity: 1;
  transform: translateX(2px);
}

.slogan-header:hover .text-slogan-bottom span {
  color: #b30000;
  text-shadow: 0 2px 4px rgba(204, 0, 0, 0.2);
  transform: translateX(2px);
}

/* ========================= ANIMATIONS ========================= */
@keyframes sloganGlow {
  0%,
  100% {
    text-shadow: 0 1px 2px rgba(204, 0, 0, 0.1);
  }
  50% {
    text-shadow: 0 2px 8px rgba(204, 0, 0, 0.3);
  }
}

/* Premium hover animation for brand name */
.slogan-header:hover .text-slogan-bottom span {
  animation: sloganGlow 2s ease-in-out infinite;
}
.nav-icon-img {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0);
  -webkit-filter: grayscale(100%) brightness(0);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.menu-level-1-has-dropdown:hover .nav-icon-img {
  filter: grayscale(0%) brightness(1);
  -webkit-filter: grayscale(0%) brightness(1);
}
.nav-item-level-1 .nav-link i,
.nav-icon-img {
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}
.banner-ad {
  overflow: hidden;
  --bs-aspect-ratio: 150%;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  min-height: 100%;
}
.banner-ad a,
.banner-ad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  -webkit-transition: transform 0.5s ease;
  -moz-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
}
.banner-ad:hover img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
}
.logo-mobile-img {
  width: 60px;
  height: 60px;
  min-height: 60px;
  min-width: 60px;
  object-fit: contain;

  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.mobile-menu-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  object-fit: contain;

  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
}
#mobileMenuOffcanvas .accordion-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: var(--foreground);
  font-size: 15px;
  font-weight: 500;
  background: white;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.mobile-menu-link-title {
  color: var(--foreground);
}
.header-nav.sticky {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.header-nav.sticky .mega-menu {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}
.nav-item-level-1.active > .nav-link {
  background: #f5f5f5;
  color: var(--primary);
}
.nav-item-level-1.active > .nav-link img {
  filter: initial;
  -webkit-filter: initial;
}
/* header end */

/* slider start */
/* ========================= HERO BANNER SLIDER WITH SWIPER ========================= */

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Swiper wrapper */
.hero-slider .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* Swiper active slide */
.hero-slider .swiper-slide-active {
  opacity: 1;
  visibility: visible;
}

/* Preserve custom active class for animations */
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-background {
  overflow: hidden;
  max-height: 600px;
  position: relative;
  --bs-aspect-ratio: calc(9 / 27 * 100%);
}

.hero-slide-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ZoomInZoomOut 20s ease-in-out infinite forwards;
  -webkit-animation: ZoomInZoomOut 20s ease-in-out infinite forwards;
}
@keyframes ZoomInZoomOut {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    -o-transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,
    transparent 55%,
    transparent 100%
  );
  z-index: 2;
}
.hero-slide-content-wrapper-box {
  position: absolute;
  z-index: 3;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  align-content: center;
}
.hero-slide-content {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 60px 0;
  width: 100%;
  max-width: 50%;
  padding-left: 50px;
}

.hero-content-wrapper {
  max-width: 700px;
}

.hero-title {
  font-size: clamp(1.7rem, 1.3615rem + 1.6923vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 35px;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.hero-btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.hero-btn-primary:hover {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-color);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}

.hero-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.hero-btn-secondary:hover {
  background: #fff;
  color: #ff0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Navigation Arrows - Swiper Buttons */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.hero-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  -webkit-transform: translateY(-50%) scale(1.1);
  -moz-transform: translateY(-50%) scale(1.1);
  -ms-transform: translateY(-50%) scale(1.1);
  -o-transform: translateY(-50%) scale(1.1);
}

.hero-nav i {
  font-size: 20px;
  color: #ff0000;
}

.hero-nav-prev {
  left: 20px;
}

.hero-nav-next {
  right: 20px;
}

/* Swiper button states */
.hero-slider .swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Slide Indicators - Swiper Pagination */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

/* Swiper pagination bullets */
.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* Swiper active pagination bullet */
.hero-indicator.swiper-pagination-bullet-active {
  background: #ff0000;
  border-color: #ff0000;
  transform: scale(1.3);
}

/* Preserve legacy active class for compatibility */
.hero-indicator.active {
  background: #ff0000;
  border-color: #ff0000;
  transform: scale(1.3);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide.active .animate-fade-in {
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero-slide.active .animate-fade-in-delay {
  animation: fadeIn 0.8s ease-out 0.4s both;
}

.hero-slide.active .animate-fade-in-delay-2 {
  animation: fadeIn 0.8s ease-out 0.6s both;
}

/* button slider start */
.minh-phong-slider-button-group-item-main {
  align-content: center;
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  height: min-content;
  justify-content: center;
  overflow: hidden;
  padding: 12px 25px;
  position: relative;
  text-decoration: none;
  width: min-content;
  will-change: transform;
  background: var(--primary);
  color: var(--white);
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  border: 1px solid var(--neon-primary);
  height: 45px;
  text-transform: uppercase;
  pointer-events: all;
  width: 100%;
  max-width: 165px;
}
.minh-phong-slider-button-group-item-main-text {
  position: relative;
  white-space: nowrap;
  font-size: 0.8rem;
}
.minh-phong-slider-button-group-item-main-icon {
  align-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  display: flex;
  flex: none;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
  height: 24px;
  width: 24px;
  min-height: 24px;
  min-width: 24px;
  will-change: transform;
  background: var(--white);
  color: var(--text-color);
  font-size: 10px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
.icon-right-first {
  flex: none;
  height: 8px;
  left: -10px;
  position: absolute;
  top: calc(50.00000000000002% - 6px / 2);
  width: 8px;
  z-index: 1;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}
.icon-right-second {
  flex: none;
  height: 8px;
  position: relative;
  width: 8px;
  top: -3px;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}
.minh-phong-slider-button-group-item-main:hover .icon-right-first {
  left: 7px;
}
.minh-phong-slider-button-group-item-main:hover .icon-right-second {
  transform: translateX(24px);
  -webkit-transform: translateX(24px);
  -moz-transform: translateX(24px);
  -ms-transform: translateX(24px);
  -o-transform: translateX(24px);
}
.minh-phong-slider-button-group-item-main:hover {
  background: rgba(255, 0, 0, 0.4);
  border-color: var(--neon-primary);
  color: var(--white);
}
.minh-phong-slider-button-group-item-main.extra {
  background: var(--white);
  color: var(--text-color);
  border: 1px solid var(--white);
}
.minh-phong-slider-button-group-item-main.extra:hover {
  filter: brightness(0.8);
  -webkit-filter: brightness(0.8);
}
.icon-arrow-left {
  position: absolute;
  top: -5%;
  left: 0;
  width: 21%;
  height: auto;
  z-index: 1;
  max-width: 140px;
}
/* button slider end */

/* slider end */

/* trang chủ start */
/* ========================= CATEGORY SIDEBAR ========================= */
.category-sidebar-wrapper {
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 70px;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
}
.category-sidebar {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.category-sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--primary);
  color: var(--white);
  border-bottom: 3px solid var(--primary-foreground);
}

.category-sidebar-header i {
  font-size: 24px;
}

.category-sidebar-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.category-nav {
  flex: 1;
  overflow-y: auto;
  padding: 15px 0;
}

.category-nav::-webkit-scrollbar {
  width: 6px;
}

.category-nav::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.category-nav::-webkit-scrollbar-thumb {
  background: #ffa500;
  border-radius: 3px;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Level 1 - Parent Categories */
.category-list.level-1 > .category-item {
  border-bottom: 1px solid #f0f0f0;
}

.category-list.level-1 > .category-item:last-child {
  border-bottom: none;
}

.category-parent > .category-link {
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  background: #f9f9f9;
  color: var(--foreground);
}

.category-parent > .category-link:hover {
  background: #fff3e0;
  border-left: 3px solid #ff0000;
  padding-left: 17px;
}

/* Level 2 - Child Categories */
.category-list.level-2 {
  display: none;
  background: #fff;
}

.category-list.level-2.expanded {
  display: block;
}

.category-child > .category-link {
  padding: 12px 20px 12px 45px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
}

.category-child > .category-link:hover {
  background: #f5f5f5;
  border-left: 2px solid #ffa500;
  padding-left: 43px;
}

/* Level 3 - Grandchild Categories (Demo/Placeholder) */
.category-list.level-3 {
  display: none;
  background: #fafafa;
}

.category-list.level-3.expanded {
  display: block;
}

.category-grandchild > .category-link {
  padding: 10px 20px 10px 65px;
  font-size: 0.8rem;
  font-weight: 400;
  color: #666;
}
.category-grandchild > .category-link i {
  font-size: 0.7rem;
}

.category-grandchild > .category-link:hover {
  background: #f0f0f0;
  color: #ff0000;
}

.category-grandchild > .category-link.coming-soon {
  opacity: 0.6;
  font-style: italic;
}

/* Common Category Link Styles */
.category-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.category-link.active {
  background: #fff3e0;
  border-left-color: #ff0000;
  color: #ff0000;
  font-weight: 600;
}

.category-icon {
  font-size: 1.05rem;
  width: 23px;
  text-align: center;
  color: #ffa500;
}

.category-parent > .category-link .category-icon {
  font-size: 18px;
  color: #ff0000;
}

.category-name {
  display: -webkit-box;
  width: max-content;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  max-width: 70%;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}
.category-name:hover {
  color: var(--primary);
}

.category-toggle {
  font-size: 12px;
  color: #999;
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  margin-left: auto;
}

.category-item.expanded > .category-link .category-toggle {
  transform: rotate(180deg);
}

.badge-soon {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  background: #ffa500;
  color: #fff;
  border-radius: 3px;
  margin-left: 5px;
  font-style: normal;
}

/* product card start */
.kc-product-card {
  border-radius: 10px;
  border: 1px solid rgba(0, 102, 191, 0.08);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.08);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  background: var(--background);
}
.tab-pane-compact .kc-product-card,
.featured-cat-content .kc-product-card {
  box-shadow: 0 9px 23px rgba(0, 0, 0, 0.03);
}
.kc-product-card-image {
  overflow: hidden;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  background: #f0f0f0;
}
.kc-product-card-image img,
.kc-product-card-image a {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: contain;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.kc-product-card-image .img-product-main {
  z-index: 3;
  opacity: 1;
}
.kc-product-card-image .img-product-hover {
  z-index: 2;
  opacity: 0;
}
.kc-product-card:hover .img-product-main {
  z-index: 2;
  opacity: 0;
}
.kc-product-card:hover .img-product-hover {
  z-index: 3;
  opacity: 1;
}
.kc-product-card-category a {
  color: var(--muted-foreground);
  font-weight: 400;
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.kc-product-card-title a {
  font-size: 0.9rem;
  color: var(--black);
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}
.kc-product-card-price-new {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.2;
}
.kc-product-card-price-old {
  font-size: 0.7rem;
  text-decoration: line-through;
  color: var(--muted-foreground);
  line-height: 1.2;
}
.kc-product-card-quick-action-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  /* transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease; */
  font-size: 1.2rem;
}
.kc-product-card-quick-action-btn:hover {
  background: var(--black);
  color: var(--white);
}
.kc-product-card-rating i {
  font-size: 0.7rem;
  color: var(--warning-orange);
}
.kc-product-card-rating-number {
  font-size: 0.7rem;
  color: var(--muted-foreground);
}

/* Wishlist Button */
.kc-product-card .btn-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.kc-product-card .btn-wishlist:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.kc-product-card .btn-wishlist:active {
  transform: scale(1.05);
}

/* Heart Icon - Outline (default) */
.kc-product-card .btn-wishlist .fa-heart {
  font-size: 18px;
  transition: all 0.3s ease;
}

.kc-product-card .btn-wishlist .far.fa-heart {
  color: #cc0000;
  display: block;
}

.kc-product-card .btn-wishlist .fas.fa-heart {
  color: #cc0000;
  display: none;
}

/* Heart Icon - Filled (when active/wishlisted) */
.kc-product-card .btn-wishlist.active .far.fa-heart {
  display: none;
}

.kc-product-card .btn-wishlist.active .fas.fa-heart {
  display: block;
  animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(1.1);
  }
  75% {
    transform: scale(1.25);
  }
}

/* Hover effect for filled heart */
.kc-product-card .btn-wishlist.active:hover {
  background-color: rgba(204, 0, 0, 0.15);
}

/* Focus state for accessibility */
.kc-product-card .btn-wishlist:focus {
  outline: 2px solid #ffa500;
  outline-offset: 2px;
}

/* Mobile optimization */
@media (max-width: 767px) {
  .kc-product-card .btn-wishlist {
    width: 36px;
    height: 36px;
    top: 8px;
    right: 8px;
  }

  .kc-product-card .btn-wishlist .fa-heart {
    font-size: 16px;
  }
}

/* product card end */

/* ========================= PRODUCT TABS COMPACT ========================= */
/* ========================= PRODUCT TABS COMPACT ========================= */

.product-tabs-compact {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 30px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  overflow: visible;
}

/* Header */
.tabs-compact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.tabs-compact-header .section-title {
  font-size: clamp(1.2rem, 1.1077rem + 0.4615vw, 1.5rem);
  font-weight: 700;
  color: #333;
  margin: 0;
}

/* Desktop Tab Navigation */
.tabs-nav-desktop {
  display: flex;
  gap: 10px;
}

.tab-btn-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #f5f5f5;
  color: #666;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.tab-btn-compact:hover {
  background: #fff3e0;
  border-color: #ffa500;
  color: #ff0000;
}

.tab-btn-compact.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.tab-btn-compact i {
  font-size: 16px;
}

/* Mobile Select Dropdown */
.tabs-nav-mobile {
  display: none;
  position: relative;
  width: 220px;
}

.tab-select-mobile {
  width: 100%;
  padding: 10px 35px 10px 15px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
  font-size: 12px;
}

/* Tab Content */
.tabs-compact-content {
  position: relative;
}

.tab-pane-compact {
  display: none;
  animation: fadeInCompact 0.3s ease;
}

.tab-pane-compact.active {
  display: block;
}

@keyframes fadeInCompact {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* sản phẩm nổi bật start */
/* ========================= FEATURED CATEGORIES ========================= */

.featured-categories-section {
  padding: 0px;
  margin: 40px 0;
  overflow: visible;
}

/* Header */
.featured-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.featured-cat-title-wrapper {
  flex: 1;
}

.featured-cat-header .section-title {
  font-size: clamp(1.2rem, 1.1077rem + 0.4615vw, 1.5rem);
  font-weight: 700;
  color: #333;
  margin: 0;
}

.featured-cat-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Category Selector */
.featured-cat-selector {
  display: flex;
  gap: 12px;
}

.cat-selector-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 15px 20px;
  background: #f5f5f5;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
}

.cat-selector-btn i {
  font-size: 24px;
  margin-bottom: 3px;
}

.cat-selector-btn small {
  font-size: 11px;
  color: #999;
  font-weight: 400;
}

.cat-selector-btn:hover {
  background: #fff3e0;
  border-color: #ffa500;
  transform: translateY(-3px);
}

.cat-selector-btn.active {
  background: linear-gradient(135deg, #ff0000 0%, #ffa500 100%);
  border-color: #ff0000;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.cat-selector-btn.active small {
  color: rgba(255, 255, 255, 0.9);
}

/* Category Content */
.featured-cat-content {
  position: relative;
}

.cat-products-wrapper {
  display: none;
  animation: fadeInCat 0.4s ease;
}

.cat-products-wrapper.active {
  display: block;
}

@keyframes fadeInCat {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Category Banner */
.cat-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  color: #fff;
}

.cat-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cat-banner-icon {
  font-size: 48px;
  opacity: 0.9;
}

.cat-banner-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.cat-banner-content p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

.cat-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cat-banner-link:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateX(5px);
  color: #fff;
}

/* sản phẩm nổi bật end */

/* top policies section start */
.dd-top-policies-section {
  background: #f0f0f0;
}
.dd-top-policies-section-item-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.dd-top-policies-section-item-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.dd-top-policies-section-banner-adverse {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  align-content: end;
}
.dd-top-policies-section-banner-adverse-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--background-adverse);
  background-attachment: fixed;
}
.dd-top-policies-section-banner-adverse-black-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
}
.dd-top-policies-section-banner-adverse-content {
  position: relative;
  z-index: 5;
  padding-top: 130px;
}
.dd-top-policies-section-banner-adverse-content-sub-title {
  background: var(--white);
  width: max-content;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  color: var(--primary-blue);
  padding: 6px 12px;
}
.dd-top-policies-section-banner-adverse-content {
  max-width: 600px;
}
.dd-top-policies-section-banner-adverse-content-title {
  margin-bottom: 0;
  color: var(--white);
  font-family: "Big Shoulders", "Inter", sans-serif;
  font-size: 6vw;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.dd-top-policies-section-banner-adverse-content-description {
  color: var(--white);
  opacity: 0.8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.dd-top-policies-section-banner-adverse-content-button {
  background: var(--primary);
  color: var(--white);
  width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 12px;
  min-width: 200px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.dd-top-policies-section-banner-adverse-content-button-icon-box {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  z-index: 2;
  overflow: hidden;
}
.dd-top-policies-section-banner-adverse-content-button-icon-box svg {
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
.dd-top-policies-section-banner-adverse-content-button .icon-arrow-primary {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
}
.dd-top-policies-section-banner-adverse-content-button .icon-arrow-secondary {
  position: absolute;
  top: 20px;
  left: -20px;
  width: 20px;
  height: 20px;
}
.dd-top-policies-section-banner-adverse-content-button:hover
  .icon-arrow-primary {
  transform: translateX(20px) translateY(-20px);
  -webkit-transform: translateX(20px) translateY(-20px);
  -moz-transform: translateX(20px) translateY(-20px);
  -ms-transform: translateX(20px) translateY(-20px);
  -o-transform: translateX(20px) translateY(-20px);
}
.dd-top-policies-section-banner-adverse-content-button:hover
  .icon-arrow-secondary {
  left: 0;
  top: 0;
}
.dd-top-policies-section-banner-adverse-content-button:hover {
  color: var(--white);
  background: var(--neon-primary);
}
.dd-top-policies-section-banner-adverse-wrapper {
  padding-top: 100px;
}
/* top policies section end */

/* partner start */
.dd-partners-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 100px 0;
}
.dd-partners-section-content {
  background: var(--primary);
}
.dd-partners-section-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30%;
  background: linear-gradient(to right, var(--primary), transparent);
  z-index: 2;
  pointer-events: none;
}
.dd-partners-section-content::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 30%;
  background: linear-gradient(to left, var(--primary), transparent);
  z-index: 2;
  pointer-events: none;
}
.dd-partner-logo {
  overflow: hidden;
  filter: grayscale(100%) brightness(0) invert(1);
  -webkit-filter: grayscale(100%) brightness(0) invert(1);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.dd-partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dd-swiper-partners .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  -moz-transition-timing-function: linear !important;
  -ms-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}
.dd-partner-item:hover .dd-partner-logo {
  /* filter: grayscale(0%);
  -webkit-filter: grayscale(0%); */
}
/* partner end */

/* Testimonials Section Styles */
.testimonials-section {
  padding: 120px 0;
  background: var(--light-gray);
  color: var(--dark-nav);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 80px;
}

.testimonials-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-arrow-left,
.testimonial-arrow-right {
  color: var(--accent-orange);
  font-size: 1rem;
}

.testimonials-label span {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
}

.testimonials-title {
  font-size: clamp(1.7rem, 1.1462rem + 2.7692vw, 3.5rem);
  font-weight: 700;
  color: var(--dark-nav);
  line-height: 1.4;
}

.testimonials-subtitle {
  font-size: clamp(0.9rem, 0.8692rem + 0.1538vw, 1rem);
  color: var(--text-muted);
  font-weight: 400;
}

.testimonials-swiper-ltr,
.testimonials-swiper-rtl {
  overflow: visible;
  padding: 20px 0;
}

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 15px;
  gap: 10px;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
}

.testimonial-stars {
  display: flex;
  gap: 10px;
}

.testimonial-stars i {
  color: var(--accent-orange);
  font-size: 0.8rem;
}

.testimonial-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--dark-nav);
  flex: 1;
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  object-fit: cover;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-nav);
  margin-bottom: 2px;
}

.author-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.testimonial-social {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: #f5f7f9;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: var(--transition);
  -webkit-transition: var(--transition);
  -moz-transition: var(--transition);
  -ms-transition: var(--transition);
  -o-transition: var(--transition);
}

.testimonial-social i {
  color: var(--text-muted);
  font-size: 1.2rem;
}
.testimonial-social:hover {
  background: var(--accent-orange);
}
.testimonial-social:hover i {
  color: var(--white);
}

.testimonials-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  padding: 0 20px;
}

.testimonials-rating {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rating-star {
  width: 50px;
  height: 50px;
  background: var(--dark-nav);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rating-star i {
  color: var(--white);
  font-size: 1.2rem;
}

.rating-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rating-score {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-nav);
}

.rating-clients {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.see-all-btn {
  background: var(--dark-nav);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.see-all-btn:hover {
  background: var(--accent-orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 71, 0.3);
}

.testimonials-swiper-ltr .swiper-slide,
.testimonials-swiper-rtl .swiper-slide {
  width: 350px !important;
}

.testimonials-swiper-rtl .swiper-wrapper,
.testimonials-swiper-ltr .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}

.testimonial-card-content-box {
  background: #f6f7f9;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}
.testimonials-row-wrapper {
  position: relative;
}
.testimonials-row-wrapper::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 20%;
  height: 100%;
  z-index: 3;
  background: linear-gradient(to right, var(--light-gray), transparent);
  pointer-events: none;
}
.testimonials-row-wrapper::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 20%;
  height: 100%;
  z-index: 3;
  background: linear-gradient(to left, var(--light-gray), transparent);
  pointer-events: none;
}
.mui-ten-icon {
  width: 100%;
  max-width: 35px;
}
/* testimonials end */

/* tin tức nổi bật start */
.dd-news-featured-section-wrapper {
  background: #f0f0f0;
}
.blog-page-title {
  font-family: "Big Shoulders", "Inter", sans-serif;
  font-size: clamp(3rem, 2.6923rem + 1.5385vw, 4rem);
  font-weight: 600;
  /* letter-spacing: 1px; */
  text-align: center;
  color: var(--dark-nav);
  margin-bottom: 0px;
  text-transform: capitalize;
}

.blog-card {
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  -webkit-transform: translateY(-8px);
  -moz-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  -o-transform: translateY(-8px);
}

.blog-card-image-ratio {
  overflow: hidden;
}
.blog-card-image-ratio a,
.blog-card-image-ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.blog-card-content {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  font-size: clamp(0.9rem, 0.8692rem + 0.1538vw, 1rem);
  color: var(--muted-foreground);
  margin-bottom: 12px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  font-family: "Lora";
  font-weight: 400;
  font-style: italic;
}

.blog-card-title {
  font-family: var(--normal-font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--foreground);
  letter-spacing: 0px;
}

.blog-card-link {
  font-size: 14px;
  color: #1a1c18;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-link {
  color: #216c78;
}
.blog-card .btn-view-all {
  font-weight: 400;
}
.blog-card .btn-view-all .btn-underline {
  height: 0.9px;
}
.blog-card .btn-view-all {
  display: inline-block;
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.25px;
  padding-bottom: 4px;
  border: none;
  background: none;
  width: max-content;
  padding: 3px 0;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

.products-section .btn-view-all:hover,
.blog-card .btn-view-all:hover {
  color: var(--primary);
  box-shadow: none;
  transform: translateY(0px);
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
}

.products-section .btn-underline,
.blog-card .btn-underline {
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.products-section .btn-view-all:hover .btn-underline,
.blog-card .btn-view-all:hover .btn-underline {
  background: var(--primary);
  width: 30%;
}
/* tin tức nổi bật end */

/* faq start */

/* faq start */

/* FAQ Section Styles */
.faq-section {
  padding: 100px 0;
  background: var(--white);
  color: var(--dark-nav);
}

.faq-content {
  padding-right: 40px;
}

.faq-header {
  max-width: 500px;
}

.faq-label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.faq-label span {
  color: var(--dark-nav);
  font-size: 1rem;
  font-weight: 500;
}

.faq-arrow-left,
.faq-arrow-right {
  color: var(--accent-orange);
  font-size: 0.8rem;
}

.faq-title {
  font-size: clamp(1.7rem, 1.4538rem + 1.2308vw, 2.5rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--dark-nav);
}

.faq-subtitle {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

.faq-contact-btn {
  background: var(--dark-nav);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-block;
}

.faq-contact-btn:hover {
  background: #333;
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Custom Accordion Styles */
.faq-section .accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-bg: transparent;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 25px;
  --bs-accordion-btn-color: var(--dark-nav);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-btn-icon: none;
  --bs-accordion-btn-focus-border-color: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 20px;
  --bs-accordion-active-color: var(--dark-nav);
  --bs-accordion-active-bg: transparent;
}

.faq-section .accordion-item {
  border: none;
  border-bottom: 1px solid #e9ecef;
  background: transparent;
  margin-bottom: 0;
}

.faq-section .accordion-item:last-child {
  border-bottom: none;
}

.faq-section .accordion-button {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-nav) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 25px 0 !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  line-height: 1.5;
}

.faq-section .accordion-button:not(.collapsed) {
  color: var(--dark-nav) !important;
  background: transparent !important;
}

.faq-section .accordion-button::after {
  display: none;
}

.faq-section .accordion-icon {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--dark-nav);
  transition: var(--transition);
}

.faq-section .accordion-button:not(.collapsed) .accordion-icon i {
  transform: rotate(45deg);
}

.faq-section .accordion-collapse {
  border: none;
}

.faq-section .accordion-body {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.7;
  padding: 0 0 25px 0 !important;
  border: 1px solid #f6f7f9;
  border-radius: 15px;
  padding: 25px !important;
  margin-bottom: 20px;
  background: #f6f7f9;
}
.faq-section .accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-section .accordion-icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-section .accordion-icon .icon-horizontal,
.faq-section .accordion-icon .icon-vertical {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Khi accordion đóng (collapsed) - hiển thị dấu "+" */
.faq-section .accordion-button.collapsed .accordion-icon .icon-vertical {
  opacity: 1;
  transform: scale(1);
}

.faq-section .accordion-button.collapsed .accordion-icon .icon-horizontal {
  opacity: 1;
  transform: scale(1);
}

/* Khi accordion mở - hiển thị dấu "-" (chỉ có line horizontal) */
.faq-section .accordion-button:not(.collapsed) .accordion-icon .icon-vertical {
  opacity: 0;
  transform: scale(0.8) rotate(90deg);
}

.faq-section
  .accordion-button:not(.collapsed)
  .accordion-icon
  .icon-horizontal {
  opacity: 1;
  transform: scale(1);
}

.faq-section .accordion-button:not(.collapsed) .accordion-icon svg {
  transform: rotate(180deg);
}

/* Hover effect */
.faq-section .accordion-button:hover .accordion-icon {
  transform: scale(1.05);
}
/* faq end */
/* faq end */
/* trang chủ end */

/* footer start */
/* =====================================================
   FOOTER MAIN STYLES - Inspired by Figma Design
   ===================================================== */
.footer-main {
  background-color: #000000;
  color: #b7b7b7;
  font-family: "Be Vietnam Pro", sans-serif;
  padding-top: 80px;
  position: relative;
}

/* Brand Logo Section - Large Typography */
.footer-brand-section {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-logo {
  font-size: 7vw;
  font-weight: 800;
  color: #fcfcfc;
  letter-spacing: 8px;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  line-height: 1.3;
  overflow: hidden;
}

.footer-brand-subtitle {
  font-size: 16px;
  color: var(--white);
  margin-top: 15px;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Footer Content */
.footer-content {
  padding-bottom: 60px;
}

/* Column Titles */
.footer-column-title {
  font-size: 24px;
  font-weight: 700;
  color: #d1d1d1;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Navigation Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0px;
}

.footer-links li a {
  color: var(--white);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.footer-links li:hover a {
  color: var(--white);
}
/* Social Links */
.footer-social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social-links li {
  margin-bottom: 15px;
}

.footer-social-links li a {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social-links li a:hover {
  color: var(--white);
}

/* Contact Info */
.footer-contact-info {
  font-size: 16px;
}

.footer-contact-item {
  color: var(--white);
  margin-bottom: 15px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item strong {
  color: #cacaca;
  display: block;
  margin-bottom: 5px;
}

.footer-contact-item i {
  color: #ffa500;
  margin-right: 8px;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}

.footer-contact-item:hover {
  color: var(--white);
}

/* Visit Info */
.footer-visit-info {
  font-size: 0.8rem;
}

.footer-visit-item {
  color: var(--white);
  margin-bottom: 0px;
  line-height: 1.6;
}

.footer-visit-item strong {
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.footer-visit-item i {
  color: #ffa500;
  margin-right: 8px;
  font-size: 14px;
}

/* Footer Bottom Bar */
.footer-bottom {
  background-color: #0d0d0d;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright,
.footer-tagline,
.footer-credit {
  color: #8f8f8f;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0px;
}

.footer-tagline {
  color: #909090;
}

.footer-credit {
  color: #8d8d8d;
}

.footer-credit i {
  font-size: 12px;
  margin: 0 5px;
}

/* Focus States for Keyboard Navigation */
.footer-links li a:focus,
.footer-social-links li a:focus,
.footer-contact-item a:focus {
  outline: 2px solid #ffa500;
  outline-offset: 3px;
  border-radius: 3px;
}

/* Active States */
.footer-links li a:active,
.footer-social-links li a:active {
  transform: translateX(3px);
  -webkit-transform: translateX(3px);
  -moz-transform: translateX(3px);
  -ms-transform: translateX(3px);
  -o-transform: translateX(3px);
}
.footer-icon-social {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  height: 100%;
  background: radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(226, 232, 240, 0.15),
      transparent 70%
    ),
    var(--primary);
    pointer-events: none;
}
/* footer end */

/* breadcrumb start */
/* Breadcrumb Styling */
.breadcrumb-section {
  background: var(--primary);
  padding: 10px 0;
  margin-bottom: 0px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.breadcrumb {
  margin-bottom: 0;
  background: transparent;
  padding: 0;
}

.breadcrumb-item {
  font-size: 0.9rem;
  color: #666666;
  font-weight: 500;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--white);
}

.breadcrumb-item.active {
  color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #999999;
  font-size: 16px;
  transform: translateY(-5%);
  -webkit-transform: translateY(-5%);
  -moz-transform: translateY(-5%);
  -ms-transform: translateY(-5%);
  -o-transform: translateY(-5%);
}

/* breadcrumb end */

/* trang sản phẩm start */
.category-page {
  padding: 30px 0 60px 0;
}

/* Product Card Styling */
.category-page .product-section {
  margin-top: 60px;
}

.product-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #cc0000;
  position: relative;
}

.product-section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background: #ffa500;
}

.product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-card-image-wrapper {
  position: relative;
  padding-top: 100%;
  /* 1:1 aspect ratio */
  overflow: hidden;
  background: #f5f5f5;
}

.product-card-image-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-image {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #cc0000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.product-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  height: 42px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card-title a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-card-title a:hover {
  color: #cc0000;
}

.product-card-price {
  margin-bottom: 12px;
}

.price-old {
  font-size: 13px;
  color: #999999;
  text-decoration: line-through;
  margin-right: 8px;
}

.price-current {
  font-size: 18px;
  font-weight: 700;
  color: #cc0000;
}

.product-card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
  font-size: 13px;
}

.product-stock {
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.product-stock.in-stock {
  background: #e8f5e9;
  color: #4caf50;
}

.product-stock.out-stock {
  background: #ffebee;
  color: #f44336;
}

.product-brand {
  color: #666666;
}

.product-card-actions {
  margin-top: auto;
}

.btn-add-cart {
  width: 100%;
  padding: 10px 20px;
  background: #cc0000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add-cart:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.btn-add-cart i {
  margin-right: 5px;
}

/* Pagination Styling */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li {
  margin: 0;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #ffffff;
  color: #666666;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: #cc0000;
  color: #ffffff;
  border-color: #cc0000;
  transform: translateY(-2px);
}

.pagination .active a {
  background: #cc0000;
  color: #ffffff;
  border-color: #cc0000;
}

.pagination .disabled a {
  background: #f5f5f5;
  color: #cccccc;
  cursor: not-allowed;
  pointer-events: none;
}

.category-intro {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.category-intro h1 {
  font-size: 28px;
  font-weight: 700;
  color: #cc0000;
  margin-bottom: 20px;
}

.category-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: #212529;
  margin-bottom: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
}

/* Hide/Show categories on mobile - desktop shows all by default */

.category-page .btn-view-more {
  display: none;
  margin: 30px auto 0;
  padding: 12px 30px;
  background: #cc0000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-page .btn-view-more:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.category-page .btn-view-more i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.category-page .btn-view-more.expanded i {
  transform: rotate(180deg);
}

.category-page .category-card {
  background: #cbcbcb;
  border-radius: 6px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.category-page .category-card:hover {
  background: #b8b8b8;
  transform: translateY(-3px);
}

.category-page .category-card-image {
  width: 70px;
  height: 70px;
  min-width: 70px;
  min-height: 70px;
  object-fit: contain;
  margin-bottom: 10px;
}

.category-page .category-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #212529;
  text-align: center;
  text-transform: uppercase;
  line-height: 14.4px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* trang sản phẩm end */

/* giỏ hàng start */
.vanhiep-gio-hang-ten-cong-ty {
  font-family: "Lora";
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.vanhiep-gio-hang-thong-tin-thanh-toan-title {
  font-size: 1rem;
  font-family: "Lora";
  font-weight: 600;
}
.vh-pttt-item label {
  font-size: 0.9rem;
}
.vh-pttt-item .accordion-body {
  font-size: 0.85rem;
}
.ha-product-item-category {
  font-family: "Lora";
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted-foreground);
  text-transform: capitalize;
}
/* giỏ hàng end */

/* trang giới thiệu start */

.page-about .about-page {
  font-family: "Be Vietnam Pro", sans-serif;
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* === Hero Section === */
.page-about .about-hero,
.lien-he .about-hero {
  position: relative;
  background: var(--background-banner-image);
  padding: 80px 15px 60px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page-about .about-hero::before,
.lien-he .about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(7px);
}

.page-about .about-hero-content,
.lien-he .about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-about .about-breadcrumb,
.lien-he .about-breadcrumb {
  font-size: 13px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.page-about .about-breadcrumb a,
.lien-he .about-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.page-about .about-breadcrumb a:hover,
.lien-he .about-breadcrumb a:hover {
  opacity: 0.7;
}

.page-about .about-breadcrumb span,
.lien-he .about-breadcrumb span {
  margin: 0 8px;
}

.page-about .about-hero h2,
.lien-he .about-hero h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about .about-hero-subtitle,
.lien-he .about-hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.95;
  margin-bottom: 0;
}

/* === Section Common Styles === */
.page-about .about-section {
  padding: 50px 15px;
}

.page-about .about-section.bg-alt {
  background-color: var(--color-bg-alt);
}

.page-about .about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-about .about-section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.page-about .about-section-subtitle {
  font-size: 15px;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 300;
}

.page-about .about-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  margin: 0 auto 40px;
}

/* === Story Section === */
/* Bootstrap 5 Grid handles layout */

.page-about .about-story-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  cursor: pointer;
  min-height: 100%;
}

.page-about .about-story-image img,
.page-about .about-story-image a {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  -webkit-transition: transform 0.5s ease;
  -moz-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
}

.page-about .about-story-image:hover img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
}

.page-about .about-story-content h3 {
  font-size: clamp(1rem, 0.9385rem + 0.3077vw, 1.2rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0px;
  margin-bottom: 0;
}

.page-about .about-story-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 15px;
}

.page-about .about-timeline {
  margin-top: 25px;
}

.page-about .about-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 10px 15px;
  background: var(--color-bg);
  border-radius: 8px;
  border-left: 3px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.page-about .about-story-content .about-timeline-item p {
  margin-bottom: 0;
}

.page-about .about-timeline-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.page-about .about-timeline-year {
  font-size: clamp(1rem, 0.9692rem + 0.1538vw, 1.1rem);
  font-weight: 700;
  color: var(--color-primary);
  min-width: 60px;
}

.page-about .about-timeline-text p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* === Values Section === */
/* Bootstrap 5 Grid handles layout */

.page-about .about-value-card {
  background: var(--color-bg);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  -webkit-transition: all var(--transition-fast);
  -moz-transition: all var(--transition-fast);
  -ms-transition: all var(--transition-fast);
  -o-transition: all var(--transition-fast);
}

.page-about .about-value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
  -webkit-transform: translateY(-8px);
  -moz-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  -o-transform: translateY(-8px);
}

.page-about .about-value-icon {
  margin-bottom: 0px;
  background: var(--background);
  width: 50px;
  height: 50px;
  min-height: 50px;
  min-width: 50px;
  margin: 0 auto;
}
.page-about .about-value-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-about .about-value-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.page-about .about-value-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* === Why Choose Section === */
/* Bootstrap 5 Grid handles layout */

.page-about .about-why-card {
  background: var(--color-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.page-about .about-why-card:hover {
  box-shadow: var(--shadow-md);
}

.page-about .about-why-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-about .about-why-card h4 i {
  color: var(--color-accent);
}

.page-about .about-why-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about .about-why-card ul li {
  font-size: 14px;
  color: var(--color-text-light);
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
}

.page-about .about-why-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* === Stats Section === */
.page-about .about-stats {
  background-image: var(--background-stats);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 60px 15px;
  color: #ffffff;
}

/* Stats section uses Bootstrap Grid */

.page-about .about-stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
  -webkit-transition: all var(--transition-fast);
  -moz-transition: all var(--transition-fast);
  -ms-transition: all var(--transition-fast);
  -o-transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.page-about .about-stat-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.page-about .about-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0px;
  display: block;
}

.page-about .about-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* === Partnerships Section === */
/* Bootstrap 5 Grid handles layout */

.page-about .about-partner-card {
  background: var(--color-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.page-about .about-partner-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}

.page-about .about-partner-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: grayscale(100%);
  transition: filter var(--transition-fast);
}

.page-about .about-partner-card:hover img {
  filter: grayscale(0%);
}

.page-about .about-partner-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

/* === CTA Section === */
.page-about .about-cta {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  padding: 60px 15px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-about .about-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.page-about .about-cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.page-about .about-cta h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.page-about .about-cta p {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.95;
  margin-bottom: 25px;
}

.page-about .about-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.page-about .about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about .about-cta-btn:hover {
  background: var(--color-bg-alt);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about .about-cta-btn.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-about .about-cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-about .fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* Stagger animation delays */
.fade-in-up:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in-up:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in-up:nth-child(3) {
  animation-delay: 0.3s;
}
.fade-in-up:nth-child(4) {
  animation-delay: 0.4s;
}

/* === Responsive Design - Mobile First === */

/* === Accessibility === */
.page-about .about-page a:focus,
.page-about .about-page button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
/* .page-about .testimonials-title {
  font-size: clamp(1.2rem, 1.1077rem + 0.4615vw, 1.5rem);
} */
.page-about .testimonials-label span {
  font-size: clamp(1.2rem, 1.1077rem + 0.4615vw, 1.5rem);
  font-weight: 600;
}
.page-about .testimonials-header {
  max-width: 600px;
  margin: 0 auto;
}
.about-why-card-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
/* trang giới thiệu end */

.vector-wheel-image {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
  transform: rotate(-10deg);
  -webkit-transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  -ms-transform: rotate(-10deg);
  -o-transform: rotate(-10deg);
}
.vector-wheel-image img {
  width: 100%;
  height: auto;
}
.vector-wheel-image-wrapper {
 position: absolute;
 bottom: 0;
 left: 0;
 z-index: 1;
 pointer-events: none;
 max-width: 100%;
 width: 100%;
 height: 500px;
 filter: grayscale(100%) ;
 -webkit-filter: grayscale(100%) ;
}