@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

/* ============================================
   Kiệt Mod Phím Dạo - Main Stylesheet
   ============================================ */

/* === CSS Variables === */
:root {
  --primary-navy: #0B1A2D;
  --primary-navy-dark: #071220;
  --primary-navy-light: #162E4D;
  --primary: #0B1A2D;
  --primary-dark: #071220;
  --primary-light: #162E4D;
  --accent: #E64A19;
  --accent-light: #FF5722;
  --bg-gradient-header: linear-gradient(90deg, #FDEBD6 0%, #F8BA80 50%, #F4984E 100%);
  --bg-dark: #FFFFFF;
  --bg-page: #FFFFFF;
  --bg-section: #FFFFFF;
  --bg-card: #FBE4C7;
  --bg-card-hover: #F8DAAF;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #777777;
  --text-white: #FFFFFF;
  --text-dark: #1A1A1A;
  --border: #E5CDAE;
  --border-light: #F2DEC7;
  --success: #2ECC71;
  --warning: #E67E22;
  --danger: #E74C3C;
  --gray: #7f8c8d;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 14px;
  --transition: all 0.3s ease;
  --font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-width: 1280px;
}

/* === Reset & Base === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button,
input,
select,
textarea {
  font-family: var(--font) !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background: #FFFFFF;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

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

a:hover {
  color: var(--accent-light);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* === Flash Messages === */
.flash-message {
  padding: 12px 20px;
  text-align: center;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.flash-success {
  background: var(--success);
  color: var(--text-white);
}

.flash-error {
  background: var(--danger);
  color: var(--text-white);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-white);
  position: relative;
}

.topbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.topbar__text {
  font-weight: 500;
}

.topbar__close {
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.8;
  transition: var(--transition);
  text-decoration: underline;
}

.topbar__close:hover {
  opacity: 1;
}

.topbar--hidden {
  display: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  background: var(--primary-dark);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__menu-items {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
}

.nav__link:hover {
  background: var(--primary);
  color: var(--accent-light);
}

.nav__link i {
  font-size: 0.7rem;
  transition: var(--transition);
}

.nav__actions {
  display: flex;
  align-items: center;
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1001;
  padding: 16px;
}

.nav__dropdown-menu--mega {
  min-width: 780px;
  padding: 24px;
  display: none;
}

.nav__dropdown:hover .nav__dropdown-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  animation: fadeIn 0.2s ease;
}

.nav__dropdown:hover .nav__dropdown-menu--mega {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  animation: fadeIn 0.2s ease;
}

.nav__dropdown:hover .nav__link i {
  transform: rotate(180deg);
}

.nav__dropdown-group {
  min-width: 160px;
}

.nav__dropdown-title {
  display: block;
  color: var(--accent-light);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
  transition: var(--transition);
}

.nav__dropdown-title:hover {
  color: var(--text-white);
}

.nav__dropdown-list {
  list-style: none;
}

.nav__dropdown-list li a {
  display: block;
  padding: 5px 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: var(--transition);
}

.nav__dropdown-list li a:hover {
  color: var(--accent-light);
  padding-left: 6px;
}

.mobile-menu__link--cat-parent {
  padding-left: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-light);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   HEADER SECONDARY (Search + Logo)
   ============================================ */
.header__secondary {
  background: var(--bg-dark);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.header__secondary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.header__hamburger {
  display: none;
  background: none;
  border: 2px solid var(--border-light);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.header__hamburger:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.header__search {
  display: flex;
  max-width: 450px;
  flex: 1;
}

.header__search-input {
  flex: 1;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
}

.header__search-input::placeholder {
  color: var(--text-muted);
}

.header__search-input:focus {
  border-color: var(--accent);
}

.header__search-btn {
  padding: 12px 18px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-white);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.header__search-btn:hover {
  background: var(--accent-light);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header__logo-img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.header__logo-text {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.5;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.mobile-menu__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: var(--bg-card);
  overflow-y: auto;
  animation: slideRight 0.3s ease;
}

@keyframes slideRight {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.mobile-menu__close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-menu__nav {
  padding: 10px 0;
}

.mobile-menu__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  color: var(--text-primary);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-menu__link-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu__link:hover {
  background: var(--primary-dark);
  color: var(--accent-light);
}

.mobile-menu__link--child {
  padding-left: 36px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.mobile-menu__sub {
  display: none;
}

.mobile-menu__group.open .mobile-menu__sub {
  display: block;
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #6B1515 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect fill='none' stroke='rgba(212,69,26,0.08)' stroke-width='0.5' width='20' height='20' x='0' y='0'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
}

.hero__icon {
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(360px, 38vw, 650px);
  max-height: none;
  overflow: hidden;
  background: #0B1A2D;
  border-bottom: 4px solid #EBE2D5;
}

.hero-slider__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 1;
}

.hero-slider__item--active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slider__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slider__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.hero-slider__content {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  z-index: 3;
  color: #ffffff;
  pointer-events: none;
  padding: 0 70px;
}

.hero-slider__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero-slider__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  font-weight: 400;
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.hero-slider__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-slider__arrow--prev {
  left: 20px;
}

.hero-slider__arrow--next {
  right: 20px;
}

.hero-slider__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.hero-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-slider__dot--active,
.hero-slider__dot:hover {
  background: var(--accent);
  transform: scale(1.2);
}

@media (max-width: 768px) {

  .hero-slider,
  .hero-slider__slides {
    height: 260px;
  }

  .hero-slider__title {
    font-size: 1.5rem;
  }

  .hero-slider__subtitle {
    font-size: 0.9rem;
  }

  .hero-slider__arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {}

.section:nth-child(even) {
  background: var(--bg-section);
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 10px;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section__view-all {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.section__view-all:hover {
  color: var(--accent-light);
  gap: 10px;
}

/* ============================================
   PRODUCT GRID & CARD
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-grid__item {
  min-width: 0;
  width: 100%;
}

.product-card {
  min-width: 0;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card__link {
  display: block;
  color: inherit;
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-section);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 1;
}

.product-card__badges-extra {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}

.product-card__badge-tag {
  background: var(--primary);
  color: var(--text-white);
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 3px;
  text-transform: uppercase;
}

.product-card__info {
  padding: 16px;
}

.product-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-card__price-current {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.product-card__price-sale {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--danger);
}

.product-card__price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  gap: 8px;
}

.product-card__views {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Badges */
.badge--green {
  background: var(--success);
  color: var(--text-white);
}

.badge--orange {
  background: var(--warning);
  color: var(--text-white);
}

.badge--gray {
  background: var(--gray);
  color: var(--text-white);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 14px 0;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb i {
  margin: 0 8px;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.breadcrumb span {
  color: var(--text-primary);
  font-weight: 500;
}

/* ============================================
   SHOP LAYOUT (Sidebar + Content)
   ============================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  padding-top: 30px;
  padding-bottom: 50px;
}

/* Sidebar */
.sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  align-self: start;
  position: sticky;
  top: 70px;
}

.sidebar__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.sidebar__list {
  list-style: none;
}

.sidebar__item {
  border-bottom: 1px solid var(--border);
}

.sidebar__item:last-child {
  border-bottom: none;
}

.sidebar__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.sidebar__link:hover,
.sidebar__link--active {
  color: var(--accent-light);
  padding-left: 8px;
}

.sidebar__link--active {
  font-weight: 600;
}

.sidebar__arrow {
  font-size: 0.7rem;
  transition: var(--transition);
}

.sidebar__sublist {
  list-style: none;
  padding-left: 12px;
}

.sidebar__link--sub {
  font-size: 0.85rem;
  padding: 6px 4px;
}

/* Shop content */
.shop-content__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.shop-content__title {
  font-size: 1.5rem;
  font-weight: 700;
}

.shop-content__sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.shop-content__sort select {
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font);
  outline: none;
  cursor: pointer;
}

/* Subcategory tags */
.subcategory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.subcategory-tag {
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.subcategory-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
  min-width: 0;
  max-width: 100%;
}

.product-detail__gallery,
.product-detail__info {
  min-width: 0;
  max-width: 100%;
}

.product-detail__main-img {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.product-detail__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.product-detail__main-img:hover img {
  transform: scale(1.03);
}

.gallery-expand-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: 0.85;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-detail__main-img:hover .gallery-expand-badge {
  opacity: 1;
  background: var(--accent);
  color: #fff;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  opacity: 0;
}

.product-detail__main-img:hover .gallery-arrow {
  opacity: 1;
}

.gallery-arrow:hover {
  background: var(--accent);
  color: #fff;
}

.gallery-arrow--prev {
  left: 12px;
}

.gallery-arrow--next {
  right: 12px;
}

.product-detail__no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-muted);
}

.product-detail__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  max-width: 100%;
  width: 100%;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: thin;
  scrollbar-color: #E64A19 rgba(0, 0, 0, 0.08);
}

.product-detail__thumbs::-webkit-scrollbar {
  height: 6px;
}

.product-detail__thumbs::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.product-detail__thumbs::-webkit-scrollbar-thumb {
  background: #E64A19;
  border-radius: 4px;
}

.product-detail__thumbs::-webkit-scrollbar-thumb:hover {
  background: #D83E0D;
}

.product-detail__thumb {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.product-detail__thumb:hover,
.product-detail__thumb--active {
  border-color: var(--accent);
}

.product-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.lightbox--open {
  visibility: visible;
  opacity: 1;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox__container {
  position: relative;
  z-index: 10000;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.lightbox__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox__counter {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

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

.lightbox__btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.lightbox__btn--close {
  background: var(--primary);
}

.lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  cursor: grab;
  position: relative;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  transition: transform 0.15s ease-out;
  transform-origin: center center;
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10001;
}

.lightbox__arrow:hover {
  background: var(--accent);
}

.lightbox__arrow--prev {
  left: 24px;
}

.lightbox__arrow--next {
  right: 24px;
}

.product-detail__name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-detail__tags-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.product-detail__status {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 0;
  height: 28px;
  box-sizing: border-box;
}

.product-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-detail__badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--primary);
  color: var(--text-white);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  height: 28px;
  box-sizing: border-box;
}

.product-detail__price-box {
  padding: 20px 0;
  margin-bottom: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-detail__price-current {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.product-detail__price-sale {
  font-size: 2rem;
  font-weight: 800;
  color: var(--danger);
  margin-right: 14px;
}

.product-detail__price-original {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-detail__actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.product-detail__meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-detail__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.product-detail__meta-item a {
  color: var(--accent);
}

/* Product description */
.product-description {
  padding: 40px 0px 0px 0px;
  border-top: 1px solid var(--border);
}

.product-description__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
}

.product-description__content {
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 0.95rem;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.product-description__content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius);
  margin: 16px auto;
  display: block;
}

.product-description__content table {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  overflow-x: auto !important;
}

.product-description__content h2,
.product-description__content h3,
.product-description__content h4 {
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.product-description__content p {
  margin-bottom: 12px;
}

.product-description__content ul,
.product-description__content ol {
  margin: 12px 0;
  padding-left: 24px;
}

/* ============================================
   REVIEWS
   ============================================ */
.section--reviews {
  background: var(--bg-section);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card__name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.review-card__stars {
  color: #f39c12;
  font-size: 0.8rem;
}

.review-card__content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-card__link {
  display: block;
  color: inherit;
}

.blog-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-section);
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.05);
}

.blog-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}

.blog-card__body {
  padding: 18px;
}

.blog-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card__meta i {
  margin-right: 4px;
}

/* Blog post layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding: 32px 0;
}

.blog-article {
  background: #FFFFFF;
  border: 1px solid #F0D4B2;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.blog-article__title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0B1A2D;
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F2DEC7;
}

.blog-article__featured-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}

.blog-article__featured-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.blog-article__content {
  line-height: 1.85;
  font-size: 1rem;
  color: #2D2D2D;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.blog-article__content p {
  margin-bottom: 16px;
}

.blog-article__content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0B1A2D;
  margin-top: 32px;
  margin-bottom: 14px;
  border-bottom: 2px solid #F0D4B2;
  padding-bottom: 8px;
}

.blog-article__content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0B1A2D;
  margin-top: 24px;
  margin-bottom: 12px;
}

.blog-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.blog-article__content ul,
.blog-article__content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.blog-article__content li {
  margin-bottom: 8px;
}

.blog-article__content blockquote {
  border-left: 4px solid #E64A19;
  background: #FAF8F5;
  padding: 14px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #444444;
}

.blog-article__content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  display: block;
  overflow-x: auto;
}

.blog-article__content table th,
.blog-article__content table td {
  padding: 10px 14px;
  border: 1px solid #EBE4D8;
}

.blog-article__content table th {
  background: #FAF8F5;
  font-weight: 700;
}

.blog-article__content .ql-align-center {
  text-align: center;
}

.blog-article__content .ql-align-right {
  text-align: right;
}

.blog-article__content .ql-align-justify {
  text-align: justify;
}

/* Blog SEO Tags & Internal Link Widgets */
.blog-article__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.tags-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-right: 6px;
}

.tag-item {
  display: inline-block;
  background: var(--bg-section);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 14px;
  transition: var(--transition);
}

.tag-item:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.internal-links-box {
  margin-top: 35px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.internal-links-box__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.internal-links-box__grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.internal-link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--bg-section);
  transition: var(--transition);
}

.internal-link-card:hover {
  color: var(--accent);
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(4px);
}

.blog-sidebar__category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-sidebar__cat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-section);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.blog-sidebar__cat-link:hover {
  background: var(--accent);
  color: #fff;
}

/* Blog sidebar */
.blog-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  align-self: start;
  position: sticky;
  top: 70px;
}

.blog-sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--accent);
}

.blog-sidebar__list {
  list-style: none;
}

.blog-sidebar__item {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.blog-sidebar__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.blog-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.blog-sidebar__link:hover {
  color: var(--accent);
}

.blog-sidebar__thumb {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.blog-sidebar__empty {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   STATIC PAGE
   ============================================ */
.static-page {
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

.static-page__content {
  line-height: 1.8;
  color: var(--text-secondary);
}

.static-page__content h2,
.static-page__content h3 {
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.static-page__content p {
  margin-bottom: 12px;
}

.static-page__content img {
  border-radius: var(--radius);
  margin: 16px 0;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 30px 0;
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.pagination__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination__link--active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-1px);
  color: var(--text-white);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.empty-state p {
  font-size: 1.1rem;
}

/* ============================================
   PAGE TITLE
   ============================================ */
.page-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  padding-top: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.search-count {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

/* ============================================
   404 ERROR
   ============================================ */
.error-page {
  text-align: center;
  padding: 100px 20px;
}

.error-page__icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.error-page__code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.error-page__text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0B1A2D;
  border-top: 4px solid #E64A19;
  padding: 50px 0 0;
  color: #FFFFFF;
}

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

.footer__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo-img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.footer__desc {
  font-size: 0.88rem;
  color: #E2D9CC;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #162E4D;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer__social-link:hover {
  background: #E64A19;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer__links {
  list-style: none;
}

.footer__links li a {
  display: block;
  padding: 5px 0;
  color: #E2D9CC;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer__links li a:hover {
  color: #FF5722;
  padding-left: 6px;
}

.footer__contact {
  list-style: none;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.88rem;
  color: #E2D9CC;
}

.footer__contact li i {
  color: #E64A19;
  margin-top: 3px;
  width: 16px;
}

.footer__contact li a {
  color: #E2D9CC;
}

.footer__contact li a:hover {
  color: #FF5722;
}

.footer__map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
  background: #162E4D;
}

.footer__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer__map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #A0B0C0;
  font-size: 0.85rem;
  gap: 8px;
}

.footer__map-placeholder i {
  font-size: 2rem;
}

.footer__bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 30px;
  border-top: 1px solid #162E4D;
  font-size: 0.85rem;
  color: #B5A898;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text-white);
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: var(--text-white);
}

.floating-btn--zalo {
  background: #0068FF;
}

.floating-btn--phone {
  background: var(--success);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .nav__dropdown-menu {
    min-width: 400px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header__hamburger {
    display: block;
  }

  .header__secondary-inner {
    flex-wrap: wrap;
    gap: 15px;
  }

  .header__search {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .hero {
    height: 350px;
  }

  .hero__title {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .hero__icon {
    font-size: 4rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
    min-width: 0;
    max-width: 100%;
  }

  .product-detail__gallery,
  .product-detail__info {
    min-width: 0;
    max-width: 100%;
  }

  .product-detail__thumb {
    width: 58px;
    height: 58px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px 0;
  }

  .blog-article {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .blog-article__title {
    font-size: 1.35rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .product-detail__name {
    font-size: 1.3rem;
  }

  .product-detail__price-current,
  .product-detail__price-sale {
    font-size: 1.5rem;
  }

  .product-detail__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 16px;
    width: 100%;
  }

  .product-detail__actions .btn--primary {
    flex: 1 1 auto;
    padding: 12px 10px !important;
    font-size: 0.9rem !important;
    white-space: nowrap;
    justify-content: center;
    text-align: center;
  }

  .product-detail__actions .btn--outline {
    flex: 0 0 auto;
    padding: 12px 12px !important;
    font-size: 1.05rem !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .product-detail__actions .zalo-text {
    display: none;
  }

  .section__title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card__info {
    padding: 10px;
  }

  .product-card__name {
    font-size: 0.82rem;
  }

  .product-card__price-current,
  .product-card__price-sale {
    font-size: 0.9rem;
  }

  .hero {
    height: 280px;
  }

  .hero__title {
    font-size: 1.5rem;
  }
}

/* Quick Checkout Modal Grid & Mobile Responsiveness */
.checkout-form__grid,
.checkout-payment__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkout-trust-badges {
  display: flex;
  justify-content: space-around;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.checkout-total__row,
.cart-checkout__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cart-checkout__total-row {
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.checkout-total__label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.checkout-total__val {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
}

.cart-checkout__total-val {
  color: #E64A19;
  font-size: 1.15rem;
}

@media (max-width: 640px) {

  .checkout-form__grid,
  .checkout-payment__grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .checkout-trust-badges {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .checkout-total__row,
  .cart-checkout__total-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
}

/* ============================================
   PAGINATION COMPONENT
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  background: #1A1A24;
  border: 1px solid #2D2D3F;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination__link:hover {
  border-color: var(--accent, #D4451A);
  color: var(--accent, #D4451A);
  transform: translateY(-2px);
}

.pagination__link--active {
  background: var(--accent, #D4451A) !important;
  border-color: var(--accent, #D4451A) !important;
  color: #ffffff !important;
}

.pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 38px;
  color: #A0A0B0;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ============================================
   GEARUP STORE UI REDESIGN STYLES
   ============================================ */

/* --- 1. Top Tier Header (Gradient Peach to Orange Background) --- */
.header__top {
  background: var(--bg-gradient-header);
  padding: 12px 0;
  border-bottom: 1px solid #F4984E;
}

.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header__logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0B1A2D;
  border: 2px dashed #E64A19;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.header__logo-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: #E64A19;
  letter-spacing: 1px;
}

.header__search {
  flex: 1;
  max-width: 400px;
  display: flex;
  align-items: center;
}

.header__search-input {
  flex: 1;
  min-width: 0;
  padding: 9px 18px;
  background: #FAF8F5;
  border: 1px solid #D5CBC0;
  border-right: none;
  border-radius: 25px 0 0 25px;
  font-size: 0.88rem;
  color: #1A1A1A;
  outline: none;
}

.header__search-input::placeholder {
  color: #888888;
}

.header__search-btn {
  background: #FAF8F5;
  border: 1px solid #D5CBC0;
  border-left: none;
  border-radius: 0 25px 25px 0;
  padding: 9px 16px;
  color: #666666;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header__search-btn:hover {
  color: #E64A19;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__action-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__action-icon {
  font-size: 1.35rem;
  color: #0B1A2D;
}

.header__action-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.header__action-label {
  font-size: 0.72rem;
  color: #666666;
}

.header__action-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0B1A2D;
  text-decoration: none;
}

.header__icon-btn {
  position: relative;
  font-size: 1.3rem;
  color: #0B1A2D;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}

.header__icon-btn:hover {
  background: rgba(11, 26, 45, 0.06);
}

.header__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #E64A19;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.header__badge--orange {
  background: #E64A19;
}

/* --- 2. Bottom Tier Navigation Menu (Navy Blue) --- */
.nav {
  background: #0B1A2D;
  border-bottom: 3px solid #E64A19;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.nav__menu-items {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav__link {
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover {
  background: #162E4D;
  color: #FBE4C7 !important;
}

/* --- 3. Hero Collection Banner --- */
.hero-slider {
  background: #0B1A2D;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #EBE2D5;
}

.hero-slider__collection-header {
  text-align: center;
  background: #0B1A2D;
  padding: 24px 20px 12px;
}

.hero-slider__main-title {
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0;
}

.hero-slider__sub-title {
  color: #D5CBC0;
  font-size: 0.88rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 6px;
}

.hero-slider__arrow {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 20;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #FFFFFF;
  color: #000000;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-slider__arrow--prev {
  left: 20px;
}

.hero-slider__arrow--next {
  right: 20px;
}

.hero-slider__arrow:hover {
  background: #FBE4C7;
  transform: translateY(-50%) scale(1.05);
}

.hero-slider__bottom-controls {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 15;
  pointer-events: none;
}

.hero-slider__group-buy {
  pointer-events: auto;
  color: #FFFFFF;
  font-size: 1rem;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-slider__group-buy strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.hero-slider__btn-order {
  pointer-events: auto;
  background: #FFFFFF;
  color: #000000;
  font-weight: 800;
  font-size: 1.2rem;
  padding: 12px 38px;
  border-radius: 30px;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.hero-slider__btn-order:hover {
  background: #FBE4C7;
  transform: scale(1.06);
  color: #000000;
}

.hero-slider__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  background: radial-gradient(circle, #1a3250 0%, #0B1A2D 100%);
}

/* --- 4. Section Header Centered --- */
.section__header--centered {
  justify-content: center;
  text-align: center;
  margin-top: 36px;
  margin-bottom: 24px;
}

.section__title--centered {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #1A1A1A;
  text-transform: uppercase;
  margin: 0;
}

/* --- 5. Product Grid Layouts --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

/* For pages with sidebar (like Shop / Category pages) */
.shop-layout .product-grid,
.shop-content .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shop-layout .product-grid,
  .shop-content .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {

  .shop-layout .product-grid,
  .shop-content .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-layout .product-grid,
  .shop-content .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {

  /* Header Top mobile layout */
  .header__top-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
  }

  .header__hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 1.25rem;
    color: #0B1A2D;
    background: none;
    border: none;
    cursor: pointer;
  }

  .header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 4px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
  }

  .header__logo-img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
  }

  .header__logo-brand {
    font-size: 0.95rem;
  }

  .header__logo-sub {
    font-size: 0.6rem;
  }

  .header__logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    height: 38px;
  }

  .header__search {
    order: 10;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 8px;
  }

  .header__hotline,
  .header__user-dropdown {
    display: none;
  }

  /* Hero Slider Banner Mobile */
  .hero-slider__collection-header {
    padding: 12px 10px 6px;
  }

  .hero-slider__main-title {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .hero-slider__sub-title {
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-top: 3px;
  }

  .hero-slider__slides {
    height: 220px;
  }

  .hero-slider__placeholder {
    min-height: 220px;
  }

  .hero-slider__arrow {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    top: 50%;
  }

  .hero-slider__arrow--prev {
    left: 8px;
  }

  .hero-slider__arrow--next {
    right: 8px;
  }

  .hero-slider__content {
    bottom: 16px;
    padding: 0 48px;
  }

  .hero-slider__title {
    font-size: 1.15rem;
    margin-bottom: 2px;
  }

  .hero-slider__subtitle {
    font-size: 0.78rem;
  }

  .hero-slider__bottom-controls {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: #0B1A2D;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    z-index: 10;
  }

  .hero-slider__group-buy {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .hero-slider__group-buy strong {
    font-size: 0.85rem;
  }

  .hero-slider__btn-order {
    padding: 8px 22px;
    font-size: 0.88rem;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: center;
  }

  /* Section Title & Product Grid Mobile */
  .section__header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .section__title {
    white-space: nowrap;
    font-size: 1.15rem;
  }

  .section__view-all {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.85rem;
  }

  .section__header--centered {
    margin-top: 20px;
    margin-bottom: 14px;
  }

  .section__title--centered {
    font-size: 1.3rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .product-card {
    padding: 8px;
    border-radius: 12px;
  }

  .product-card__name {
    font-size: 0.74rem;
    height: 2.6em;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .product-card__price-row {
    margin-bottom: 6px;
  }

  .product-card__price {
    font-size: 0.84rem;
  }

  .product-card__stock-status {
    font-size: 0.6rem;
    padding: 1px 4px;
  }

  .product-card__btn-cart {
    font-size: 0.68rem;
    padding: 5px 0;
    border-radius: 16px;
  }
}

/* --- 6. Product Card Peach Container Style --- */
.product-card {
  background: #FBE4C7;
  border: 1px solid #F0D4B2;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: #FADBB7;
}

.product-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.product-card__img-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-card__img-slides .product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.3s ease;
  z-index: 1;
}

.product-card__img-slides .product-card__img.active {
  opacity: 1;
  z-index: 2;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__img,
.product-card:hover .product-card__img-slides .product-card__img.active {
  transform: scale(1.04);
}

.product-card__dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 4;
  pointer-events: none;
}

.product-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.product-card__dot.active {
  width: 14px;
  border-radius: 4px;
  background: #E64A19;
}

.product-card__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  padding: 2px 2px;
}

.product-card__name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.35;
  height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}

.product-card__stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.3px;
  line-height: 1.2;
  vertical-align: middle;
  margin-right: 4px;
  margin-bottom: 2px;
}

/* Sẵn hàng (Vibrant Green) */
.product-card__stock-badge--san-hang {
  background: #E8F8F0;
  color: #1E8449;
  border: 1px solid #A9DFBF;
}

/* Đặt trước (Warm Orange/Amber) */
.product-card__stock-badge--dat-truoc {
  background: #FEF9E7;
  color: #D35400;
  border: 1px solid #F5CBA7;
}

/* Hết hàng (Red/Gray) */
.product-card__stock-badge--het-hang {
  background: #FDEDEC;
  color: #C0392B;
  border: 1px solid #F5B7B1;
}

.product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 4px;
}

.product-card__price {
  font-size: 0.98rem;
  font-weight: 800;
  color: #E64A19;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-card__price-original {
  font-size: 0.78rem;
  color: #888888;
  text-decoration: line-through;
  font-weight: 400;
}

.product-card__btn-cart {
  width: 100%;
  background: #FFFFFF;
  color: #000000;
  border: 1.5px solid #000000;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  padding: 6px 0;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.product-card__btn-cart:hover {
  background: #000000;
  color: #FFFFFF;
}

/* --- Wishlist Heart Icon Button on Card --- */
.product-card__img-wrap {
  position: relative;
}

.product-card__wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555555;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 5;
}

.product-card__wishlist-btn:hover {
  transform: scale(1.15);
  background: #FFFFFF;
  color: #e74c3c;
}

.product-card__wishlist-btn.active {
  background: #FFFFFF;
  color: #e74c3c;
}

/* --- Wishlist Modal Popup --- */
.wishlist-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
}

.wishlist-modal.active {
  display: block;
}

.wishlist-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.wishlist-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 520px;
  max-height: 80vh;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.wishlist-modal__header {
  padding: 16px 20px;
  border-bottom: 1px solid #EEEEEE;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF8F5;
}

.wishlist-modal__header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0B1A2D;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wishlist-modal__close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #888888;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.wishlist-modal__close:hover {
  color: #111;
  background: #EAEAEA;
}

.wishlist-modal__body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

.wishlist-modal__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wishlist-modal__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 10px;
  background: #FAF8F5;
  border: 1px solid #EBE4D8;
}

.wishlist-modal__img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
}

.wishlist-modal__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wishlist-modal__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1A1A1A;
  text-decoration: none;
  line-height: 1.3;
}

.wishlist-modal__title:hover {
  color: #E64A19;
}

.wishlist-modal__price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #E64A19;
}

.wishlist-modal__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wishlist-modal__btn-view {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  background: #0B1A2D;
  padding: 6px 14px;
  border-radius: 16px;
  text-decoration: none;
  transition: background 0.2s;
}

.wishlist-modal__btn-view:hover {
  background: #162E4D;
}

.wishlist-modal__btn-remove {
  background: none;
  border: none;
  color: #E74C3C;
  font-size: 0.9rem;
  padding: 6px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}

.wishlist-modal__btn-remove:hover {
  background: rgba(231, 76, 60, 0.1);
}

/* --- App Toast Notification --- */
.app-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0B1A2D;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid #E64A19;
  z-index: 3000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.app-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- Cart Modal Specific Styles --- */
.cart-modal__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-modal__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #FAF8F5;
  border: 1px solid #EBE4D8;
}

.cart-modal__img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
}

.cart-modal__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-modal__title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1A1A1A;
  text-decoration: none;
  line-height: 1.3;
}

.cart-modal__price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #E64A19;
}

.cart-modal__qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #D5CBC0;
  border-radius: 20px;
  padding: 2px 8px;
}

.cart-modal__qty-btn {
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0B1A2D;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.cart-modal__qty-btn:hover {
  background: #F0E6D8;
}

.cart-modal__qty-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1A1A1A;
  min-width: 18px;
  text-align: center;
}

.cart-modal__btn-remove {
  background: none;
  border: none;
  color: #888888;
  font-size: 0.9rem;
  padding: 6px;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}

.cart-modal__btn-remove:hover {
  color: #E74C3C;
  background: rgba(231, 76, 60, 0.1);
}

.cart-modal__footer {
  padding: 16px 20px;
  border-top: 1px solid #EEEEEE;
  background: #FAF8F5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-modal__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1A1A1A;
}

.cart-modal__total-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: #E64A19;
}

.cart-modal__btn-checkout {
  width: 100%;
  background: #E64A19;
  color: #FFFFFF;
  font-family: var(--font) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 0;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(230, 74, 25, 0.35);
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cart-modal__btn-checkout:hover {
  background: #D83E0D;
  color: #FFFFFF;
  transform: translateY(-2px);
}