/* CầuLông.Vn — Modern gradient brand theme */
@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap");

:root {
  --brand-orange: #ff5c2e;
  --brand-amber: #ff9a1a;
  --brand-coral: #ff4d6d;
  --brand-orange-dark: #e04a1a;
  --brand-orange-darker: #1a0f0a;
  --brand-gradient: linear-gradient(120deg, #ff5c2e 0%, #ff4d6d 45%, #ff9a1a 100%);
  --brand-gradient-soft: linear-gradient(135deg, #ff5c2e 0%, #ff7a45 50%, #ff9a1a 100%);
  --brand-gradient-mesh: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(255, 92, 46, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(255, 77, 109, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 154, 26, 0.1), transparent 55%);
  --yellow: #ffc107;
  --yellow-dark: #ff9a1a;
  --green: #ff5c2e;
  --green-dark: #e04a1a;
  --red: #ef4444;
  --red-light: #fff1f2;
  --blue: #2563eb;
  --text: #1a1625;
  --text-muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --bg: #f4f6fb;
  --bg-elevated: #ffffff;
  --white: #fff;
  --shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 8px 32px rgba(255, 92, 46, 0.22);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font: "Be Vietnam Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.45);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 92, 46, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(255, 92, 46, 0); }
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  background-image: var(--brand-gradient-mesh);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 12px;
}

.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;
}

/* Top bar */
.top-bar {
  background: linear-gradient(90deg, #1b5e20 0%, #2e7d32 50%, #1b5e20 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  border-bottom: 1px solid rgba(183, 228, 199, 0.3);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 12px;
  min-height: 34px;
}

.top-bar__link {
  white-space: nowrap;
  opacity: 0.92;
  transition: opacity 0.15s;
}

.top-bar__link:hover {
  opacity: 1;
  color: var(--white);
}

.top-bar__hotline {
  margin-left: auto;
  color: inherit;
  white-space: nowrap;
}

.top-bar__hotline strong {
  color: #d8f3dc;
  font-weight: 700;
}

.top-bar__hours {
  opacity: 0.85;
}

/* Header */
.header {
  --header-pad-y: 12px;
  --header-fg: #14532d;
  z-index: 160;
  background: linear-gradient(120deg, #e8f8ef 0%, #b7e4c7 42%, #95d5b2 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  color: var(--header-fg);
  box-shadow: 0 4px 24px rgba(76, 175, 80, 0.28);
  position: relative;
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 45%);
  pointer-events: none;
}

@media (min-width: 769px) {
  .header {
    position: sticky;
    top: 0;
  }
}

.header__inner {
  position: relative;
  z-index: 1;
  padding: var(--header-pad-y) 12px;
}

.header__main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--header-fg);
  min-width: 0;
}

.header__logo img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header__brand {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.header__brand strong {
  font-weight: 800;
}

.header__search {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
  max-width: 560px;
  background: var(--white);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.header__search-field {
  flex: 1;
  min-width: 0;
  display: flex;
}

.header__search input {
  width: 100%;
  border: none;
  padding: 11px 16px;
  font-size: 14px;
  outline: none;
  background: transparent;
  color: var(--text);
}

.header__search input::placeholder {
  color: #999;
}

.header__search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 18px;
  background: linear-gradient(135deg, #43a047, #2e7d32);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, filter 0.2s ease;
}

.header__search-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.45);
  transform: scale(1.02);
}

.header__search-btn svg {
  flex-shrink: 0;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.header__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--header-fg);
  position: relative;
  transition: background 0.15s;
  max-width: 160px;
}

.header__action:hover {
  background: rgba(0, 0, 0, 0.08);
}

.header__action-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.header__action-label {
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header__action-label strong {
  font-weight: 700;
}

.header__location-prefix {
  opacity: 0.88;
}

.header__cart {
  padding-right: 12px;
}

.header__cart-count {
  position: absolute;
  top: 2px;
  left: 22px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #81c784;
  line-height: 1;
}

/* Legacy class hooks (older pages) */
.header__login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--header-fg);
}

.header__login:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* Category nav */
.nav-categories {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.nav-categories__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 0 8px;
  scrollbar-width: thin;
}

.nav-categories__item {
  display: grid;
  grid-template-rows: 28px auto;
  justify-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-categories__item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-categories__item span {
  white-space: nowrap;
  line-height: 1.25;
  text-align: center;
}

.nav-categories__item img[src*="giay-cau-long-li-ning-chuyen-nghiep-blade-litecho-nam-aytv023-1"] {
  border-radius: 4px;
  background: #f5f5f5;
}

.nav-categories__item img[src*="hai-yen-s80/product-hero"] {
  border-radius: 4px;
  background: #f5f5f5;
}

.category-tile img[src*="giay-cau-long-li-ning-chuyen-nghiep-blade-litecho-nam-aytv023-1"] {
  border-radius: 6px;
  background: #f5f5f5;
  object-fit: contain;
}

.category-tile img[src*="hai-yen-s80/product-hero"] {
  border-radius: 6px;
  background: #f5f5f5;
  object-fit: contain;
}

.category-hero--shoes .category-hero__visual {
  opacity: 0.9;
}

.category-hero--shoes .category-hero__visual img {
  filter: none;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
}

.nav-categories__item:hover,
.nav-categories__item--active {
  color: var(--brand-orange);
  border-bottom-color: var(--brand-orange);
  background: linear-gradient(180deg, rgba(255, 92, 46, 0.08) 0%, transparent 100%);
}

.nav-categories__item--brand {
  padding: 8px 12px;
}

.nav-categories__divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  margin: 0 8px;
}

@media (max-width: 768px) {
  .nav-categories__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 4px;
    overflow: visible;
    padding: 10px 8px 12px;
  }

  .nav-categories__item {
    flex-shrink: 1;
    min-width: 0;
    padding: 10px 6px;
    border-bottom: none;
    border-radius: 8px;
  }

  .nav-categories__item:hover,
  .nav-categories__item--active {
    background: linear-gradient(135deg, rgba(255, 92, 46, 0.12), rgba(255, 154, 26, 0.08));
    border-bottom-color: transparent;
    box-shadow: 0 2px 8px rgba(255, 92, 46, 0.12);
  }

  .nav-categories__item span {
    white-space: normal;
    word-break: break-word;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .nav-categories__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Hero */
.hero {
  padding: 12px 0 0;
}

.hero__banner {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.hero__banner.is-dragging {
  cursor: grabbing;
  touch-action: none;
}

/* Slideshow */
.hero__slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 360;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.hero__banner.is-dragging .hero__slides {
  touch-action: none;
}

.hero__track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
  transition: transform 0.45s var(--ease-out);
}

.hero__banner.is-dragging .hero__track {
  transition: none;
}

.hero__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  display: block;
  cursor: grab;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1024 / 360;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.hero__banner.is-dragging .hero__slide {
  cursor: grabbing;
}

.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: clamp(30px, 4vw, 42px);
  height: clamp(30px, 4vw, 42px);
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: #111;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
}

.hero__nav:hover {
  background: #fff;
}

.hero__nav--prev {
  left: 12px;
}

.hero__nav--next {
  right: 12px;
}

.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(8px, 1.6vw, 16px);
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero__dot {
  width: 9px;
  height: 9px;
  padding: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  background-clip: content-box;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero__dot--active {
  background: #fff;
  transform: scale(1.25);
}

/* Featured rackets floating over the campaign banner */
.hero__rackets {
  position: absolute;
  right: clamp(8px, 2vw, 24px);
  bottom: clamp(8px, 2.2vw, 22px);
  display: flex;
  align-items: flex-end;
  gap: clamp(6px, 1vw, 12px);
  pointer-events: none;
}

.hero__racket {
  pointer-events: auto;
  flex: 0 0 auto;
  width: clamp(56px, 8.5vw, 104px);
  background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: translateY(0) rotate(-3deg);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
  animation: floatSoft 4s ease-in-out infinite;
}

.hero__racket:nth-child(even) {
  transform: translateY(0) rotate(3deg);
  animation-delay: 0.5s;
}

.hero__racket:nth-child(3) {
  animation-delay: 1s;
}

.hero__racket:nth-child(4) {
  animation-delay: 1.5s;
}

.hero__racket:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.hero__racket img {
  display: block;
  width: 100%;
  height: clamp(64px, 11vw, 132px);
  object-fit: contain;
}

@media (max-width: 560px) {
  .hero__racket:nth-child(n + 3) {
    display: none;
  }
}

/* Category tiles */
.category-tiles {
  padding: 16px 0;
}

.category-tiles__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.category-tile {
  background: linear-gradient(160deg, var(--white) 0%, #fafbfd 100%);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, border-color 0.25s ease;
  display: grid;
  grid-template-rows: 40px auto auto;
  justify-items: center;
  row-gap: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 92, 46, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.category-tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.category-tile:hover::before {
  opacity: 1;
}

.category-tile img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0;
}

.category-tile h3 {
  font-size: 15px;
  color: var(--green);
  margin: 0;
  white-space: nowrap;
  line-height: 1.25;
}

.category-tile p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
}

.category-tile--racket {
  border-top: 4px solid var(--green);
}

.category-tile--yonex {
  border-top-color: var(--blue);
}

.category-tile--yonex h3 {
  color: var(--blue);
  white-space: nowrap;
}

.category-tile--shoe.category-tile--yonex {
  border-top-color: var(--blue);
}

.category-tile--shoe {
  border-top: 4px solid var(--blue);
}

.category-tile--shuttle {
  border-top: 4px solid var(--red);
}

.category-tile--sale {
  border-top: 4px solid var(--yellow);
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 40%, var(--white) 100%);
}

.category-tile--sale::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.category-tile--sale h3 {
  grid-row: 2;
}

.category-tile--sale p {
  grid-row: 3;
}

.category-tile__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Section head */
.section-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head--flash {
  background: var(--brand-gradient);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.section-head--flash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  pointer-events: none;
}

.section-head__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 14px;
}

.section-head__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  border-radius: 4px;
  background: var(--brand-gradient);
}

.section-head--flash .section-head__title {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
}

.section-head--flash .section-head__title::before {
  display: none;
}

.section-head__title--center {
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}

.section-head__more {
  margin-left: auto;
  color: var(--blue);
  font-size: 13px;
}

.section-head__more:hover {
  text-decoration: underline;
}

/* Flash tabs & countdown */
.flash-tabs {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.flash-tabs__btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.flash-tabs__btn--active,
.flash-tabs__btn:hover {
  background: var(--white);
  color: var(--brand-orange);
}

.countdown {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.countdown__box {
  background: linear-gradient(145deg, #1a1625, #2d2640);
  color: var(--white);
  padding: 5px 9px;
  border-radius: 8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  animation: pulseGlow 2.5s ease infinite;
}

.countdown__sep {
  font-weight: 700;
}

/* Flash sale block */
.flash-sale {
  padding: 20px 0;
}

.flash-sale .product-grid--flash {
  background: linear-gradient(180deg, var(--white) 0%, #fafbfd 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  border-top: none;
}

.flash-sale .product-grid--flash .product-card {
  min-width: 0;
}

/* Product sections */
.product-section {
  padding: 24px 0;
}

.product-section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 246, 251, 0.6) 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

/* Product card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 200px;
  scroll-snap-align: start;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.25s ease;
  animation: fadeSlideUp 0.55s var(--ease-out) backwards;
}

.product-grid .product-card:nth-child(1) { animation-delay: 0.04s; }
.product-grid .product-card:nth-child(2) { animation-delay: 0.08s; }
.product-grid .product-card:nth-child(3) { animation-delay: 0.12s; }
.product-grid .product-card:nth-child(4) { animation-delay: 0.16s; }
.product-grid .product-card:nth-child(5) { animation-delay: 0.2s; }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 92, 46, 0.2);
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out);
}

.product-card:hover .product-card__img-wrap img {
  transform: scale(1.06);
}

.product-card__img-wrap img {
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out);
}

.product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.product-card__flash {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  font-size: 10px;
  color: var(--red);
  font-weight: 600;
}

.product-card__name {
  font-size: 13px;
  line-height: 1.4;
  min-height: 36px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__name:hover {
  color: var(--blue);
}

.product-card__price {
  margin-bottom: 4px;
}

.product-card__price-current {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
}

.product-card__price-old {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.product-card__discount {
  display: inline-block;
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
}

.product-card__rating {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.product-card__rating strong {
  color: #f59e0b;
}

.product-card__installment {
  font-size: 11px;
  color: var(--green);
  margin-bottom: 10px;
}

.product-buy__installment {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin: -4px 0 12px;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.product-card__btn {
  width: 100%;
  min-height: 36px;
  padding: 8px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
}

.product-card__btn--cart {
  background: #1a5f2a;
  color: var(--white);
  border: none;
}

.product-card__btn--cart:hover {
  background: #1e7a32;
}

.product-card__btn--buy {
  background: #288ad6;
  color: var(--white);
  border: none;
}

.product-card__btn--buy:hover {
  background: #1a6fb8;
}

.product-card__actions--oos {
  grid-template-columns: 1fr;
}

.product-card__btn--oos,
.product-buy__oos-btn {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  background: #9e9e9e;
  color: #fff;
  border: none;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

.product-buy__oos-btn {
  min-height: 44px;
  padding: 12px 16px;
  font-size: 15px;
  border-radius: 8px;
}

.product-buy__actions--oos {
  display: block;
}

/* Brands */
.brands {
  padding: 32px 0;
  background: var(--white);
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.brands__card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s;
}

.brands__card:hover {
  border-color: var(--green);
}

.brands__card img {
  margin: 0 auto 12px;
}

.brands__card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Promo banners */
.promo-banners {
  padding: 24px 0;
}

.promo-banners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.promo-banner {
  border-radius: var(--radius);
  padding: 20px;
  color: var(--white);
}

.promo-banner h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.promo-banner p {
  font-size: 13px;
  opacity: 0.9;
}

.promo-banner--green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.promo-banner--yellow {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.promo-banner--blue {
  background: linear-gradient(135deg, var(--blue), #1e5a8a);
}

/* Search tags */
.search-tags {
  padding: 32px 0 48px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 92, 46, 0.04) 50%, var(--white) 100%);
  border-top: 1px solid var(--border);
  position: relative;
}

.search-tags::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 92, 46, 0.35), transparent);
}

.search-tags__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.search-tags h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.search-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-tags__chip,
.search-tags__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.search-tags__chip::before,
.search-tags__list a::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.45;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.search-tags__chip:hover,
.search-tags__list a:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange-dark);
  background: linear-gradient(135deg, #fff8f0, #fff);
  box-shadow: 0 4px 14px rgba(255, 92, 46, 0.18);
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 480px) {
  .search-tags {
    padding: 24px 0 36px;
  }

  .search-tags__list {
    gap: 8px;
  }

  .search-tags__chip,
  .search-tags__list a {
    padding: 7px 12px;
    font-size: 12px;
  }
}

/* Footer */
.footer {
  --footer-bg: #81c784;
  --footer-bg-bottom: #66bb6a;
  --footer-text: rgba(20, 83, 45, 0.92);
  --footer-muted: rgba(20, 83, 45, 0.62);
  --footer-accent: #1b5e20;
  --footer-border: rgba(27, 94, 32, 0.12);
  margin-top: auto;
}

.footer__main {
  background: linear-gradient(165deg, #e8f8ef 0%, #b7e4c7 38%, #95d5b2 100%);
  padding: 48px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer__main::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 65%);
  pointer-events: none;
  animation: floatSoft 8s ease-in-out infinite;
}

.footer__main::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--footer-border), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 32px 40px;
  position: relative;
  z-index: 1;
}

.footer__brand {
  max-width: 340px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--footer-text);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.footer__logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
  padding: 4px;
}

.footer__logo strong {
  color: var(--footer-accent);
  font-weight: 700;
}

.footer__tagline {
  font-size: 13px;
  line-height: 1.65;
  color: var(--footer-muted);
  margin-bottom: 20px;
}

.footer__tagline strong {
  color: var(--footer-text);
  font-weight: 600;
}

.footer__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--footer-border);
  border-radius: 12px;
  color: var(--footer-text);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer__cta:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(27, 94, 32, 0.25);
  transform: translateY(-1px);
}

.footer__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #43a047, #2e7d32);
  color: #fff;
  flex-shrink: 0;
}

.footer__cta-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__cta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--footer-muted);
}

.footer__cta-number {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer__cta-hours {
  font-size: 12px;
  color: var(--footer-muted);
}

.footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
}

.footer__trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--footer-muted);
}

.footer__trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--footer-accent);
  flex-shrink: 0;
}

.footer__heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--footer-text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(27, 94, 32, 0.25);
  display: inline-block;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 13px;
  color: var(--footer-muted);
  transition: color 0.15s, padding-left 0.15s;
  display: inline-block;
}

.footer__links a:hover {
  color: var(--footer-accent);
  padding-left: 4px;
}

.footer__col p,
.footer__col li {
  font-size: 13px;
  color: var(--footer-muted);
}

.footer__col a:hover {
  color: var(--footer-accent);
}

.footer__bottom {
  background: var(--footer-bg-bottom);
  padding: 16px 0;
  border-top: 1px solid var(--footer-border);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 12px;
  color: var(--footer-muted);
}

.footer__bottom-inner a {
  color: var(--footer-accent);
  font-weight: 600;
}

.footer__bottom-inner a:hover {
  text-decoration: underline;
}

.footer__copyright strong {
  color: var(--footer-text);
  font-weight: 600;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal__content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 420px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
}

.modal__close:hover {
  color: var(--text);
}

.modal__content h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.modal__hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.location-list li {
  margin-bottom: 4px;
}

.location-list button {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.location-list button:hover {
  background: var(--bg);
  color: var(--green);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #333;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 300;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .header__brand {
    font-size: 17px;
  }

  .header__search-btn-text {
    display: none;
  }

  .header__search-btn {
    padding: 0 14px;
  }

  .header__action {
    max-width: 120px;
    padding: 8px;
  }
}

@media (max-width: 768px) {
  .top-bar__link {
    display: none;
  }

  .top-bar__inner {
    justify-content: center;
    padding: 6px 12px;
  }

  .top-bar__hotline {
    margin-left: 0;
    font-size: 11px;
  }

  .top-bar__hours {
    display: none;
  }

  .header {
    --header-pad-y: 10px;
  }

  .header__main {
    flex-wrap: wrap;
    gap: 10px;
  }

  .header__logo {
    order: 1;
  }

  .header__actions {
    order: 2;
    margin-left: auto;
    gap: 4px;
  }

  .header__search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }

  .header__brand {
    display: none;
  }

  .header__location-prefix {
    display: none;
  }

  .header__action-label {
    font-size: 11px;
  }

  .header__login .header__action-label {
    display: none;
  }

  .header__action {
    max-width: none;
    padding: 8px;
  }

  .header__location .header__action-label {
    max-width: 72px;
  }

  .category-tiles__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-banners__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-head--flash {
    flex-direction: column;
    align-items: flex-start;
  }

  .flash-tabs {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .top-bar {
    font-size: 11px;
  }

  .header__logo img {
    width: 38px;
    height: 38px;
  }

  .header__search input {
    padding: 10px 12px;
    font-size: 13px;
  }

  .header__search input::placeholder {
    font-size: 12px;
  }

  .header__action-label {
    display: none;
  }

  .header__location .header__action-label {
    display: block;
    max-width: 64px;
  }

  .header__cart-count {
    top: 0;
    left: 18px;
    min-width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .top-bar__inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .top-bar__hotline {
    margin-left: 0;
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Product detail page ——— */
.page-product {
  --product-accent: #1e88e5;
  --product-dark: #0a1628;
}

.page-product--thanh-cong {
  --product-accent: #2e7d32;
  --product-dark: #1b5e20;
}

.page-product--sao-mai {
  --product-accent: #1565c0;
  --product-dark: #b71c1c;
}

.page-product--hai-yen-s70 {
  --product-accent: #c2185b;
  --product-dark: #1a0a14;
}

.page-product--hai-yen-s90 {
  --product-accent: #1565c0;
  --product-dark: #0d2137;
}

.page-product--lining {
  --product-accent: #c62828;
  --product-dark: #1a1a1a;
}

.product-badge--halbertec {
  background: #ffebee;
  color: #c62828;
}

.product-badge--a880t {
  background: #ffebee;
  color: #c62828;
}

.product-badge--a762 {
  background: #fff3e0;
  color: #e65100;
}

.product-badge--aeronaut4000c {
  background: #ffebee;
  color: #b71c1c;
}

.product-badge--aeronaut7000i {
  background: #e8f5e9;
  color: #2e7d32;
}

.product-badge--aeronaut7000ipink {
  background: #fce4ec;
  color: #c2185b;
}

.product-badge--bladex800 {
  background: #ffebee;
  color: #b71c1c;
}

.product-badge--bladex700 {
  background: #e0f7fa;
  color: #00695c;
}

.product-badge--aeronaut6000speed {
  background: #e3f2fd;
  color: #1565c0;
}

.product-badge--aeronaut6000power {
  background: #fff3e0;
  color: #e65100;
}

.product-badge--aeronaut6000control {
  background: #e8f5e9;
  color: #2e7d32;
}

.product-badge--aeronaut9000i {
  background: #fff8e1;
  color: #f57f17;
}

.product-badge--turbo01d {
  background: #ffebee;
  color: #c62828;
}

.product-badge--axforce9 {
  background: #e3f2fd;
  color: #1565c0;
}

.product-badge--bst {
  background: #fff3e0;
  color: #e65100;
}

.product-badge--lining {
  background: #e8eaf6;
  color: #283593;
}

.product-card__badge--out {
  background: #616161;
  color: #fff;
}

.product-buy__stock-notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #616161;
}

.product-buy__actions--disabled .btn {
  opacity: 0.65;
  cursor: not-allowed;
}

.product-badge--breakfree80 {
  background: #fce4ec;
  color: #c2185b;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.product-detail {
  padding-bottom: 40px;
}

.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  max-width: 100%;
  overflow-x: clip;
}

.product-detail__layout > * {
  min-width: 0;
}

.product-gallery {
  min-width: 0;
  max-width: 100%;
}

.product-gallery__main {
  background: #fafafa;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  max-height: 440px;
  padding: 12px;
  overflow: hidden;
}

.product-gallery__main img {
  display: block;
  max-height: 400px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-gallery__main img[hidden] {
  display: none;
}

.product-gallery__video {
  display: block;
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background: #111;
  border-radius: 6px;
}

.product-gallery__video[hidden] {
  display: none;
}

.product-gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.product-gallery__thumb {
  position: relative;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  min-width: 0;
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: var(--white);
}

.product-gallery__thumb--video .product-gallery__thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  font-size: 0;
  pointer-events: none;
}

.product-gallery__thumb--video .product-gallery__thumb-play::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.product-gallery__thumb--video .product-gallery__thumb-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--product-accent, var(--blue));
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
  border-color: var(--product-accent);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-buy__brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.product-buy__brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--product-dark);
}

.product-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.product-badge--auth {
  background: #e8f5e9;
  color: var(--green);
}

.product-badge--tournament,
.product-badge--speed {
  background: #e3f2fd;
  color: var(--product-accent);
}

.page-product--thanh-cong .product-badge--speed {
  background: #e8f5e9;
}

.page-product--sao-mai .product-badge--speed {
  background: #e3f2fd;
  color: #1565c0;
}

.product-badge--competition {
  background: #fce4ec;
  color: #c2185b;
}

.product-badge--hybrid {
  background: #e3f2fd;
  color: #1565c0;
}

.product-buy__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.product-buy__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-buy__rating {
  font-size: 13px;
  margin-bottom: 16px;
}

.product-buy__rating strong {
  color: #f59e0b;
}

.product-buy__rating a {
  color: var(--blue);
  margin-left: 4px;
}

.product-buy__price {
  margin-bottom: 8px;
}

.product-buy__price-current {
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
}

.product-buy__price-old {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 10px;
}

.product-buy__discount {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.product-buy__note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.product-buy__promos {
  background: #f9fbe7;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 13px;
}

.product-buy__promos li + li {
  margin-top: 6px;
}

.product-buy__qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.qty-control button {
  width: 36px;
  height: 36px;
  font-size: 18px;
  background: var(--bg);
}

.qty-control button:hover {
  background: var(--border);
}

.qty-control input {
  width: 48px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
}

.product-buy__actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.btn--primary {
  background: var(--brand-orange);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--brand-orange-dark);
}

.btn--secondary {
  background: var(--white);
  color: var(--brand-orange-dark);
  border: 2px solid var(--brand-orange);
}

.btn--secondary:hover {
  background: #fff3e0;
}

.product-buy__actions .btn--primary {
  background: var(--red);
  color: var(--white);
}

.product-buy__actions .btn--primary:hover {
  background: #c41619;
}

.product-buy__actions .btn--secondary {
  background: #288ad6;
  color: var(--white);
  border: none;
}

.product-buy__actions .btn--secondary:hover {
  background: #1a6fb8;
}

.product-buy__quick-specs {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 13px;
}

.product-buy__quick-specs div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
}

.product-buy__quick-specs dt {
  color: var(--text-muted);
}

.product-tabs {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  overflow: hidden;
}

.product-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.product-tabs__btn {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.product-tabs__btn.is-active,
.product-tabs__btn:hover {
  color: var(--product-accent);
  border-bottom-color: var(--product-accent);
}

.product-tabs__panel {
  display: none;
  padding: 24px;
  font-size: 14px;
  line-height: 1.7;
}

.product-tabs__panel.is-active {
  display: block;
}

.product-tabs__panel h2 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--product-dark);
}

.product-tabs__panel h3 {
  font-size: 15px;
  margin: 20px 0 10px;
}

.product-tabs__panel p {
  margin-bottom: 12px;
}

.product-tabs__panel ul,
.product-tabs__panel ol {
  margin: 0 0 16px 20px;
}

.product-tabs__panel li {
  margin-bottom: 6px;
  list-style: disc;
}

.product-tabs__panel ol li {
  list-style: decimal;
}

.product-tabs__figure {
  margin: 20px 0;
  text-align: center;
}

.product-tabs__figure img {
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-tabs__figure figcaption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 32%;
  background: #f5f8fc;
  color: var(--text-muted);
  font-weight: 600;
}

.spec-table a {
  color: var(--blue);
}

.suitable-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.suitable-card {
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}

.suitable-card--yes {
  background: #f1f8e9;
  border-color: #c5e1a5;
}

.suitable-card--no {
  background: #fff8e1;
  border-color: #ffe082;
}

.suitable-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.suitable-card ul {
  margin: 0;
  padding-left: 18px;
}

.suitable-card li {
  list-style: disc;
}

.product-related {
  margin-top: 8px;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.product-related h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.product-grid--compact {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid--compact .product-card {
  min-width: 0;
}

@media (max-width: 992px) {
  .product-detail__layout {
    grid-template-columns: 1fr;
  }

  .suitable-grid {
    grid-template-columns: 1fr;
  }

  .product-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .product-grid--compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-grid--compact .product-card__btn {
    font-size: 11px;
    padding: 8px 4px;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .product-gallery__main {
    min-height: 280px;
    max-height: 360px;
    padding: 10px;
  }

  .product-gallery__main img,
  .product-gallery__video {
    max-height: 320px;
  }

  .product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .product-gallery__thumb {
    flex: unset;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 80px;
    justify-self: start;
  }

  .product-buy__actions {
    flex-direction: column;
  }

  .product-buy__quick-specs div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ——— Mua ngay / đặt hàng ——— */
.buy-now-form {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.buy-now-form.is-open {
  display: block;
}

.buy-now-form--modal.is-open {
  display: block;
}

.buy-now-form__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--green-dark);
}

.buy-now-form__field {
  margin-bottom: 12px;
}

.buy-now-form__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.buy-now-form__field input,
.buy-now-form__field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
}

.buy-now-form__field input:focus,
.buy-now-form__field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(40, 138, 214, 0.15);
}

.buy-now-form__status {
  font-size: 13px;
  min-height: 20px;
  margin-bottom: 10px;
}

.buy-now-form__status--error {
  color: var(--red);
}

.buy-now-form__status--success {
  color: var(--green);
}

.buy-now-form__submit {
  width: 100%;
}

.modal__content--wide {
  max-width: 480px;
}

.modal--buy-now .buy-now-form {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: none;
}

/* Cart modal */
.modal__content--cart {
  max-width: 480px;
  padding-bottom: 16px;
}

.cart-list {
  max-height: min(50vh, 400px);
  overflow-y: auto;
  margin: 12px 0 16px;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: 32px 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item__media img,
.cart-item__placeholder {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: contain;
  background: #fafafa;
}

.cart-item__placeholder {
  display: block;
}

.cart-item__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  display: block;
  margin-bottom: 4px;
}

.cart-item__name:hover {
  color: var(--blue);
}

.cart-item__unavailable {
  font-size: 11px;
  color: var(--red);
  display: block;
  margin-bottom: 4px;
}

.cart-item__price {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  font-size: 16px;
  line-height: 1;
  background: var(--bg);
}

.cart-item__qty-btn:hover {
  background: #eee;
}

.cart-item__qty-value {
  min-width: 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.cart-item__aside {
  text-align: right;
}

.cart-item__line-total {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.cart-item__remove {
  font-size: 22px;
  line-height: 1;
  color: var(--text-muted);
  padding: 0 4px;
}

.cart-item__remove:hover {
  color: var(--red);
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.cart-footer__subtotal {
  font-size: 16px;
  margin-bottom: 12px;
}

.cart-footer__subtotal strong {
  color: var(--red);
  font-size: 18px;
}

.cart-footer__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-footer__actions .btn {
  width: 100%;
}

.cart-order-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.cart-order-form.is-open {
  display: block;
}

.cart-order-form__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cart-order-form .buy-now-form__submit {
  margin-bottom: 8px;
}

#cartCheckoutBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ——— Category listing page ——— */
.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;
}

.category-hero {
  position: relative;
  overflow: hidden;
  padding: 20px 0 28px;
  background: linear-gradient(135deg, var(--brand-orange-darker), var(--brand-orange));
  color: var(--white);
}

.category-hero--shuttle {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 45%, #43a047 100%);
  min-height: 200px;
}

.category-hero--lining {
  background: linear-gradient(135deg, #b71c1c 0%, #e65100 42%, #ff8f00 100%);
  min-height: 180px;
}

.category-hero--shoes {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 42%, #42a5f5 100%);
  min-height: 180px;
}

.category-hero__bg--shoes {
  background:
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(0, 0, 0, 0.12) 0%, transparent 40%);
}

.category-hero--shoes .category-hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.category-hero__bg--lining {
  background:
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(0, 0, 0, 0.12) 0%, transparent 40%);
}

.category-hero__eyebrow {
  margin-bottom: 8px;
}

.category-hero__eyebrow img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.category-hero--lining .category-hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.category-hero--lining .category-hero__visual {
  opacity: 0.9;
}

.category-hero--lining .category-hero__visual img {
  filter: none;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
}

.category-hero__visual {
  flex-shrink: 0;
  opacity: 0.35;
}

.category-hero__visual img {
  filter: brightness(0) invert(1);
}

.category-filters--series {
  flex-wrap: wrap;
}

.category-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.chibi-court {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-top: 3px solid rgba(255, 255, 255, 0.25);
}

.chibi-court::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
}

.chibi-scene {
  position: absolute;
  right: -12px;
  bottom: -8px;
  width: min(62vw, 400px);
  height: auto;
  max-height: 92%;
}

.chibi-shuttle--float {
  position: absolute;
  width: 14px;
  height: 22px;
  background: linear-gradient(180deg, #e53935 55%, #fff 55%);
  border-radius: 50% 50% 40% 40%;
  opacity: 0.35;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.chibi-shuttle--float::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid rgba(26, 95, 42, 0.5);
}

.chibi-shuttle--a {
  top: 18%;
  right: 28%;
  animation: chibi-float-a 5s ease-in-out infinite;
}

.chibi-shuttle--b {
  top: 42%;
  right: 12%;
  width: 11px;
  height: 18px;
  animation: chibi-float-b 6.5s ease-in-out infinite 1s;
}

/* SVG transform fix — required for CSS animation on <g> */
.chibi-scene .chibi-player,
.chibi-scene .chibi-figure,
.chibi-scene .chibi-arm,
.chibi-scene .chibi-racket-holder,
.chibi-scene .chibi-racket,
.chibi-scene .chibi-shuttle--rally,
.chibi-scene .chibi-shadow {
  transform-box: fill-box;
  transform-origin: center;
}

.chibi-scene .chibi-player--left {
  transform-origin: 44px 178px;
  animation: chibi-hit-left 3.2s ease-in-out infinite;
}

.chibi-scene .chibi-player--right {
  transform-origin: 284px 178px;
  animation: chibi-hit-right 3.2s ease-in-out infinite;
}

/* Racket pivots at play hand (SVG translate); CSS rotates only */
.chibi-scene .chibi-racket-holder--left,
.chibi-scene .chibi-racket-holder--right {
  transform-origin: 0 0;
  transform-box: fill-box;
}

.chibi-scene .chibi-racket-holder--left {
  animation: chibi-racket-left 3.2s ease-in-out infinite;
}

.chibi-scene .chibi-racket-holder--right {
  animation: chibi-racket-right 3.2s ease-in-out infinite;
}

.chibi-scene .chibi-shuttle--rally {
  transform-origin: center;
  animation: chibi-shuttle-rally 3.2s ease-in-out infinite;
}

.chibi-scene .chibi-player--left .chibi-shadow {
  animation: chibi-shadow-left 3.2s ease-in-out infinite;
}

.chibi-scene .chibi-player--right .chibi-shadow {
  animation: chibi-shadow-right 3.2s ease-in-out infinite;
}

@keyframes chibi-hit-left {
  0%, 8%, 50%, 100% { transform: translateY(0); }
  14% { transform: translateY(-14px); }
  22% { transform: translateY(-4px); }
}

@keyframes chibi-hit-right {
  0%, 8%, 50%, 58%, 100% { transform: translateY(0); }
  64% { transform: translateY(-14px); }
  72% { transform: translateY(-4px); }
}

@keyframes chibi-racket-left {
  0%, 8%, 50%, 100% { transform: rotate(108deg); }
  14% { transform: rotate(12deg); }
  22% { transform: rotate(55deg); }
  38% { transform: rotate(95deg); }
}

@keyframes chibi-racket-right {
  0%, 8%, 50%, 58%, 100% { transform: rotate(-108deg); }
  64% { transform: rotate(-12deg); }
  72% { transform: rotate(-55deg); }
  88% { transform: rotate(-95deg); }
}

@keyframes chibi-shuttle-rally {
  0%, 4% { transform: translate(90px, 72px) rotate(-12deg); opacity: 1; }
  8% { transform: translate(108px, 56px) rotate(-6deg); opacity: 1; }
  18% { transform: translate(158px, 36px) rotate(4deg); opacity: 1; }
  28% { transform: translate(210px, 44px) rotate(8deg); opacity: 1; }
  38%, 46% { transform: translate(268px, 66px) rotate(14deg); opacity: 1; }
  50% { transform: translate(268px, 68px) rotate(14deg); opacity: 1; }
  54% { transform: translate(252px, 54px) rotate(8deg); opacity: 1; }
  64% { transform: translate(198px, 34px) rotate(-4deg); opacity: 1; }
  74% { transform: translate(138px, 42px) rotate(-10deg); opacity: 1; }
  84%, 92% { transform: translate(96px, 66px) rotate(-14deg); opacity: 1; }
  96%, 100% { transform: translate(90px, 72px) rotate(-12deg); opacity: 1; }
}

@keyframes chibi-float-a {
  0%, 100% { transform: translateY(0) rotate(-15deg); }
  50% { transform: translateY(-14px) rotate(10deg); }
}

@keyframes chibi-float-b {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-10px) rotate(-8deg); }
}

@keyframes chibi-shadow-left {
  0%, 8%, 50%, 100% { transform: scaleX(1); opacity: 0.35; }
  14% { transform: scaleX(0.75); opacity: 0.2; }
}

@keyframes chibi-shadow-right {
  0%, 50%, 58%, 100% { transform: scaleX(1); opacity: 0.35; }
  64% { transform: scaleX(0.75); opacity: 0.2; }
}

.category-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.breadcrumb--light a {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb--light a:hover {
  color: var(--white);
}

.breadcrumb--light span[aria-current="page"] {
  color: var(--white);
}

.category-hero__content {
  display: flex;
  align-items: flex-start;
  max-width: 62%;
}

.category-hero__text {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.category-hero__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.category-hero__desc {
  font-size: 15px;
  opacity: 0.95;
  max-width: 560px;
  margin-bottom: 8px;
}

.category-hero__count {
  font-size: 13px;
  opacity: 0.85;
}

.category-toolbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}

.category-toolbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-filters__btn {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.category-filters__btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.category-filters__btn.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.category-sort select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  background: var(--white);
  cursor: pointer;
}

.category-products {
  padding: 24px 0 40px;
}

.category-products .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.category-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.pagination {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border, #e0e0e0);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pagination__summary {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.pagination__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pagination__nums {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.pagination__btn,
.pagination__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius, 8px);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text, #333);
  background: var(--white, #fff);
  border: 1px solid var(--border, #e0e0e0);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pagination__num {
  min-width: 40px;
  padding: 0 8px;
}

.pagination__btn:hover:not(.is-disabled),
.pagination__num:hover:not(.is-active) {
  border-color: var(--green, #2e7d32);
  color: var(--green-dark, #1b5e20);
}

.pagination__num.is-active {
  background: var(--green, #2e7d32);
  border-color: var(--green, #2e7d32);
  color: var(--white, #fff);
  pointer-events: none;
}

.pagination__btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.pagination__ellipsis {
  padding: 0 6px;
  color: var(--text-muted);
  font-size: 14px;
  user-select: none;
}

.category-info {
  padding: 0 0 48px;
}

.category-info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.category-info__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.category-info__card h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.category-info__card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.category-info__card a {
  color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
  .chibi-scene .chibi-player--left,
  .chibi-scene .chibi-player--right,
  .chibi-scene .chibi-racket-holder--left,
  .chibi-scene .chibi-racket-holder--right,
  .chibi-scene .chibi-shuttle--rally,
  .chibi-scene .chibi-player--left .chibi-shadow,
  .chibi-scene .chibi-player--right .chibi-shadow,
  .chibi-shuttle--float {
    animation: none;
  }

  .chibi-scene .chibi-racket-holder--left {
    transform: rotate(95deg);
  }

  .chibi-scene .chibi-racket-holder--right {
    transform: rotate(-95deg);
  }

  .chibi-scene .chibi-shuttle--rally {
    transform: translate(179px, 48px);
  }
}

@media (max-width: 767px) {
  .category-hero__content {
    max-width: 100%;
  }

  .category-hero--lining .category-hero__content,
  .category-hero--shoes .category-hero__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-hero__visual {
    display: none;
  }

  .category-filters--series .category-filters__btn {
    font-size: 12px;
    padding: 6px 10px;
  }

  .pagination__btn {
    font-size: 13px;
    padding: 0 10px;
  }

  .chibi-scene {
    width: min(82vw, 320px);
    right: -24px;
    opacity: 0.92;
  }

  .category-hero--shuttle {
    min-height: 220px;
  }
}

@media (min-width: 768px) {
  .category-hero__content {
    max-width: 55%;
  }

  .chibi-scene {
    width: 420px;
    right: 0;
  }

  .category-hero__title {
    font-size: 32px;
  }

  .category-info__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-products .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* Company info page */
.page-thong-tin-cong-ty main {
  background: var(--bg);
}

.company-intro {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 55%, #7f2f0d 100%);
  color: var(--white);
  padding: 44px 0;
  position: relative;
  overflow: hidden;
}

.company-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-bottom: 0;
}

.company-hero__logo {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.company-hero__content {
  flex: 1;
  min-width: 0;
}

.company-hero__eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}

.company-hero__title {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.15;
}

.company-hero__desc {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.92;
  max-width: 640px;
}

.company-hero__desc strong {
  color: var(--yellow);
}

.company-hero__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-self: center;
}

.company-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 16px;
  white-space: nowrap;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.company-hero__btn:hover {
  transform: translateY(-1px);
}

.company-hero__btn--primary {
  background: var(--white);
  color: var(--brand-orange-dark);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.company-hero__btn--primary:hover {
  background: #fff3e0;
}

.company-hero__btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.company-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.company-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 183, 77, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 107, 53, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.company-stats-section {
  padding: 24px 0;
  background: var(--bg);
}

.company-body {
  padding: 0 0 56px;
}

.company-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
}

.company-stat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  color: var(--text);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  min-height: 88px;
}

.company-stat__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f4fc, #d4ebfa);
  color: var(--blue);
}

.company-stat strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 3px;
}

.company-stat span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.company-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 8px;
}

.company-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
}

.company-detail-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company-detail-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.company-detail-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  border-color: #c8e0f4;
}

.company-detail-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f4fc, #d4ebfa);
  color: var(--blue);
}

.company-detail-card__icon--phone {
  background: linear-gradient(135deg, #e8f8ee, #c8efd4);
  color: var(--green);
}

.company-detail-card__icon--biz {
  background: linear-gradient(135deg, #fff8e0, #ffecb3);
  color: #b8860b;
}

.company-detail-card__body h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.company-detail-card__body p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.company-detail-card__body a {
  color: var(--blue);
  font-weight: 700;
  font-size: 17px;
}

.company-detail-card__meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.company-detail-card__mst {
  margin-top: 4px !important;
}

.company-map-panel {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: sticky;
  top: 16px;
}

.company-map-panel__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--border);
}

.company-map-panel__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.company-map-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.company-map-panel__link:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .company-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-layout {
    grid-template-columns: 1fr;
  }

  .company-map-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .company-intro {
    padding-top: 32px;
  }

  .company-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 32px;
  }

  .company-hero__actions {
    width: 100%;
  }

  .company-hero__logo {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 600px) {
  .company-stats {
    grid-template-columns: 1fr;
  }

  .company-hero__actions {
    flex-direction: column;
  }

  .company-hero__btn {
    justify-content: center;
    width: 100%;
  }

  .company-detail-card {
    flex-direction: column;
    gap: 12px;
  }
}

/* Policy pages (warranty, returns, …) */
.page-policy main {
  background: var(--bg);
}

@keyframes policyFloat {
  0%,
  100% {
    transform: translateY(0) rotate(var(--float-rotate, 0deg));
  }
  50% {
    transform: translateY(-14px) rotate(var(--float-rotate, 0deg));
  }
}

@keyframes policyFadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes policyShieldPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 183, 77, 0.45);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 183, 77, 0);
  }
}

.policy-animate-in {
  animation: policyFadeInUp 0.75s ease-out both;
}

.policy-animate-in--delay {
  animation-delay: 0.15s;
}

.policy-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease var(--reveal-delay, 0s),
    transform 0.55s ease var(--reveal-delay, 0s);
}

.policy-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.policy-hero {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 55%, #7f2f0d 100%);
  color: var(--white);
  padding: 44px 0 48px;
  position: relative;
  overflow: hidden;
}

.policy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 183, 77, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 107, 53, 0.18) 0%, transparent 40%);
  pointer-events: none;
}

.policy-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.policy-hero__copy {
  min-width: 0;
}

.policy-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.policy-hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.policy-hero__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.policy-hero__visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.policy-hero__shield {
  position: absolute;
  top: 8px;
  right: 12%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 183, 77, 0.95);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  animation: policyShieldPulse 2.4s ease-in-out infinite;
}

.policy-hero__img {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.35));
  animation: policyFloat 4.5s ease-in-out infinite;
}

.policy-hero__img--1 {
  --float-rotate: -8deg;
  width: min(240px, 42vw);
  right: 8%;
  top: 18%;
  animation-delay: 0s;
}

.policy-hero__img--2 {
  --float-rotate: 10deg;
  width: min(210px, 38vw);
  left: 6%;
  bottom: 0;
  animation-delay: 0.8s;
}

.policy-intro__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}

.policy-intro__title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.12;
}

.policy-intro__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.92;
  max-width: 520px;
}

.policy-intro__desc strong {
  color: var(--yellow);
}

.policy-intro__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  background: var(--yellow);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(255, 183, 77, 0.35);
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.policy-intro__cta:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

.policy-highlights {
  padding: 28px 0;
  background: var(--bg);
}

.policy-highlights__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
}

.policy-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.policy-highlight__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f3f3f3;
}

.policy-highlight__icon img {
  object-fit: contain;
}

.policy-highlight__icon--blue {
  background: linear-gradient(135deg, #e8f4fc, #d4ebfa);
  color: var(--blue);
}

.policy-highlight__icon--green {
  background: linear-gradient(135deg, #e8f8ee, #c8efd4);
  color: var(--green);
}

.policy-highlight__icon--yellow {
  background: linear-gradient(135deg, #fff8e0, #ffecb3);
  color: #b8860b;
}

.policy-highlight strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.policy-highlight span {
  font-size: 12px;
  color: var(--text-muted);
}

.policy-body {
  padding: 8px 0 56px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.policy-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.policy-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 26px 28px;
}

.policy-card--warn {
  border-color: #ffd6d6;
  background: linear-gradient(180deg, #fff 0%, #fffafa 100%);
}

.policy-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.policy-card__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.policy-card--warn .policy-card__num {
  background: linear-gradient(135deg, var(--red), #c41619);
}

.policy-card h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.policy-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

.policy-card ul {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 15px;
}

.policy-card li + li {
  margin-top: 8px;
}

.policy-checklist {
  list-style: none;
  padding-left: 0;
}

.policy-checklist li {
  position: relative;
  padding-left: 28px;
  margin-top: 0;
}

.policy-checklist li + li {
  margin-top: 10px;
}

.policy-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8f8ee;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.policy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.policy-steps__item {
  padding: 16px 18px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.policy-steps__item:hover {
  border-color: #c8e0f4;
  box-shadow: 0 4px 16px rgba(40, 138, 214, 0.1);
}

.policy-steps__item strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 6px;
}

.policy-steps__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.policy-note {
  margin-top: 4px;
  padding: 20px 22px;
  background: #fff8e6;
  border: 1px solid #ffe08a;
  border-radius: 12px;
}

.policy-note h2 {
  font-size: 16px;
  margin: 0 0 10px;
  color: #8a6d00;
}

.policy-note ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 14px;
}

.policy-note a {
  color: var(--blue);
  font-weight: 700;
}

.policy-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 16px;
}

.policy-aside__gallery {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.policy-aside__photo {
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.policy-aside__photo--main {
  width: 100%;
  aspect-ratio: 1;
  animation: policyFloat 5s ease-in-out infinite;
}

.policy-aside__photo--sub {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38%;
  border: 3px solid var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: policyFloat 4s ease-in-out 0.6s infinite;
}

.policy-aside__cta {
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  color: var(--white);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(26, 95, 42, 0.25);
}

.policy-aside__cta img {
  border-radius: 10px;
  margin-bottom: 10px;
}

.policy-aside__cta h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.policy-aside__cta p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.9;
}

.policy-aside__cta .policy-intro__cta {
  width: 100%;
  justify-content: center;
}

@media (max-width: 960px) {
  .policy-hero__grid {
    grid-template-columns: 1fr;
  }

  .policy-hero__visual {
    min-height: 220px;
    order: -1;
  }

  .policy-highlights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .policy-aside__gallery,
  .policy-aside__cta {
    flex: 1 1 280px;
  }
}

@media (max-width: 768px) {
  .policy-hero {
    padding: 32px 0 36px;
  }

  .policy-hero__actions {
    flex-direction: column;
  }

  .policy-hero__cta-secondary,
  .policy-intro__cta {
    width: 100%;
    justify-content: center;
  }

  .policy-highlights__grid {
    grid-template-columns: 1fr;
  }

  .policy-aside {
    flex-direction: column;
  }

  .policy-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .policy-animate-in,
  .policy-hero__img,
  .policy-aside__photo,
  .policy-hero__shield,
  .header,
  .section-head--flash,
  .section-head--flash::after,
  .hero__slide--active,
  .hero__racket,
  .category-tile--sale::after,
  .product-card,
  .countdown__box,
  .footer__main::before {
    animation: none;
  }

  .policy-reveal,
  .product-card,
  .category-tile,
  .hero__racket,
  .search-tags__chip,
  .search-tags__list a {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Modern UI polish */
.section-head--flash .section-head__title,
.section-head--flash .flash-tabs,
.section-head--flash .countdown {
  position: relative;
  z-index: 1;
}

.product-card__discount {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  padding: 2px 6px;
  border-radius: 6px;
}

.product-card__price-current {
  background: linear-gradient(135deg, var(--red), #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header__action {
  transition: background 0.25s ease, transform 0.25s var(--ease-out);
}

.header__action:hover {
  transform: translateY(-1px);
}

.header__cart-count {
  animation: pulseGlow 2.5s ease infinite;
}

.category-tile__badge {
  animation: pulseGlow 2s ease infinite;
}

.flash-icon {
  display: inline-block;
  animation: floatSoft 1.5s ease-in-out infinite;
}
