/* ======================== */
/* DESIGN SYSTEM TOKENS */
/* ======================== */

:root {
  /* Brand Colors */
  --color-primary: #8B1E1E;
  --color-primary-hover: #731818;
  --color-primary-light: #F5E6E6;
  
  --color-secondary: #3A1A1A;
  --color-accent: #C89B3C;
  
  /* Neutral Colors */
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #5F5F5F;
  
  --color-bg: #FFFFFF;
  --color-bg-muted: #F7F5F3;
  --color-border: #E5E0DB;
  
  /* Feedback Colors */
  --color-success: #2E7D32;
  --color-danger: #B71C1C;
  
  /* Spacing (8px grid) */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  
  /* Typography */
  --font-family: "Inter", "Roboto", system-ui, sans-serif;
  
  /* Transitions */
  --transition-base: 0.2s ease;

  /* Layout Constants */
  --header-height: 64px;
}

/* ======================== */
/* RESET & BASE STYLES */
/* ======================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ======================== */
/* TYPOGRAPHY SCALE */
/* ======================== */

h1, .h1 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
}

h2, .h2 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
}

h3, .h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

h4, .h4 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.body-l {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

.body-m {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.body-s {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.caption {
  font-size: 12px;
  line-height: 16px;
}

/* Desktop Typography */
@media (min-width: 1024px) {
  h1, .h1 {
    font-size: 40px;
    line-height: 48px;
  }
  
  h2, .h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

/* ======================== */
/* LAYOUT UTILITIES */
/* ======================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-s);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-m);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-l);
  }
}

/* ======================== */
/* BUTTON COMPONENT */
/* ======================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px var(--space-m);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition-base);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  min-height: 48px;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-primary-light);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text-primary);
}

.btn--ghost:hover {
  background-color: var(--color-bg-muted);
}

.btn--full {
  width: 100%;
}

.btn--large {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn--white {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-text-primary);
  border: 2px solid transparent;
}

.btn--white:hover {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Hero Section Buttons - Enhanced */
.hero-slide__actions .btn {
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.hero-slide__actions .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.hero-slide__actions .btn:hover::before {
  left: 100%;
}

.hero-slide__actions .btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #6B1515 100%);
  box-shadow: 0 4px 20px rgba(139, 30, 30, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-slide__actions .btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(139, 30, 30, 0.5);
  background: linear-gradient(135deg, #A02525 0%, var(--color-primary) 100%);
}

.hero-slide__actions .btn--white {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}

.hero-slide__actions .btn--white:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(139, 30, 30, 0.2);
  background-color: #ffffff;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Mobile adjustments for hero buttons */
@media (max-width: 768px) {
  .btn--large {
    padding: 14px 24px;
    font-size: 16px;
  }

  .hero-slide__actions .btn {
    min-width: 150px;
  }
}

/* ======================== */
/* HEADER / NAVIGATION */
/* ======================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-m);
  position: relative;
  z-index: 101; /* Above mobile menu (z-index: 99) */
}

.header__logo {
  flex-shrink: 0;
  position: relative;
  z-index: 102; /* Ensure logo is always above mobile menu */
}

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

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
}

/* Desktop Navigation */
.header__nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: var(--space-m);
}

.nav-link {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text-primary);
  transition: color var(--transition-base);
}

.nav-link:hover {
  color: var(--color-primary);
}

/* Header CTA */
.header__cta {
  display: none;
}

/* Mobile Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 32px;
  justify-content: center;
  padding: 4px;
  position: relative;
  z-index: 102; /* Same as logo, above mobile menu */
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all var(--transition-base);
}

.header__hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.header__nav.active {
  display: block;
  position: fixed;
  top: var(--header-height, 64px);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg);
  padding: var(--space-m);
  overflow-y: auto;
  z-index: 99; /* Below header (z-index: 100) so logo stays visible */
}

.header__nav.active .nav-list {
  flex-direction: column;
  gap: var(--space-s);
}

.header__nav.active .nav-link {
  display: block;
  padding: var(--space-s);
  font-size: 18px;
}

/* Desktop Header */
@media (min-width: 1024px) {
  .header__hamburger {
    display: none;
  }
  
  .header__wrapper {
    position: relative;
  }
  
  .header__nav {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .header__cta {
    display: block;
    margin-left: auto;
  }
}

/* ======================== */
/* HERO SECTION */
/* ======================== */

.hero {
  padding: var(--space-xl) 0;
  background-color: var(--color-bg-muted);
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.hero__content {
  order: 2;
}

.hero__title {
  margin-bottom: var(--space-s);
  color: var(--color-text-primary);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-m);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.hero__image {
  order: 1;
  border-radius: 12px;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Desktop Hero */
@media (min-width: 768px) {
  .hero__actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: var(--space-xxl) 0;
  }
  
  .hero__grid {
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
  }
  
  .hero__content {
    order: 1;
    flex: 1;
  }
  
  .hero__image {
    order: 2;
    flex: 1;
    max-width: 550px;
  }
}

/* ======================== */
/* VALUE PROPOSITION */
/* ======================== */

.value-section {
  padding: var(--space-xl) 0;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
}

.value-item {
  text-align: center;
}

.value-item__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.value-item__title {
  margin-bottom: var(--space-xs);
}

.value-item__description {
  color: var(--color-text-secondary);
}

/* Desktop Value Grid */
@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-m);
  }
}

/* ======================== */
/* SECTION HEADER */
/* ======================== */

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title {
  margin-bottom: var(--space-s);
}

.section-subtitle {
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 28px;
}

/* ======================== */
/* PRODUCTS SECTION */
/* ======================== */

.products-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-bg-muted);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-m);
}

/* Desktop Products Grid */
@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ======================== */
/* PRODUCT CARD COMPONENT */
/* ======================== */

.product-card {
  background-color: var(--color-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.product-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

.product-card__image.loaded {
  animation: none;
  background: var(--color-bg-muted);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card__image img.loaded {
  opacity: 1;
}

.product-card__badges {
  position: absolute;
  top: var(--space-s);
  left: var(--space-s);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 2;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, #6B1515 100%);
  border-radius: 3px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(139, 30, 30, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover .product-card__badge {
  transform: translateX(2px);
  box-shadow: 0 3px 12px rgba(139, 30, 30, 0.4);
}

/* Badge Variants - Based on content */
.product-card__badge--hot,
.product-card__badge:first-child {
  background: linear-gradient(135deg, var(--color-primary) 0%, #6B1515 100%);
}

.product-card__badge--gift,
.product-card__badge:nth-child(2) {
  background: linear-gradient(135deg, var(--color-accent) 0%, #A67C00 100%);
  box-shadow: 0 2px 8px rgba(200, 155, 60, 0.3);
}

.product-card__badge--premium {
  background: linear-gradient(135deg, #2C3E50 0%, #1A252F 100%);
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.3);
}

.product-card__badge--new {
  background: linear-gradient(135deg, #27AE60 0%, #1E8449 100%);
  box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.product-card__content {
  padding: var(--space-s);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__content .btn {
  margin-top: auto;
}

.product-card__image-link {
  display: block;
}

.product-card__title-link {
  display: block;
  transition: color var(--transition-base);
}

.product-card__title-link:hover .product-card__title {
  color: var(--color-primary);
}

.product-card__title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: var(--space-xxs);
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  height: calc(18px * 1.4 * 2);
  transition: color var(--transition-base);
}

.product-card__description {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-xxs);
  margin-bottom: var(--space-s);
}

.rating-stars {
  color: #FFA500;
  font-size: 14px;
}

.rating-text {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-secondary);
}

.product-card__price {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-s);
}

/* ======================== */
/* PAGINATION */
/* ======================== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
  padding: var(--space-m) 0;
}

.pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination__btn:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.pagination__btn--disabled,
.pagination__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination__numbers {
  display: flex;
  align-items: center;
  gap: var(--space-xxs);
}

.pagination__number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 var(--space-xs);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination__number:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.pagination__number--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.pagination__number--active:hover {
  background: var(--color-primary-hover);
  color: #fff;
}

.pagination__ellipsis {
  padding: 0 var(--space-xxs);
  color: var(--color-text-secondary);
  font-size: 14px;
}

/* Mobile pagination */
@media (max-width: 576px) {
  .pagination {
    gap: 4px;
  }

  .pagination__btn,
  .pagination__number {
    min-width: 38px;
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
}

/* ======================== */
/* PROCESS TIMELINE */
/* ======================== */

.process-section {
  padding: var(--space-xl) 0;
}

.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
}

.process-step {
  text-align: center;
}

.process-step__number {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-s);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  border-radius: 50%;
}

.process-step__title {
  margin-bottom: var(--space-xs);
}

.process-step__description {
  color: var(--color-text-secondary);
}

/* Desktop Process Timeline */
@media (min-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-m);
  }
}

@media (min-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-m);
  }
}

/* ======================== */
/* BRAND STORY SECTION */
/* ======================== */

.story-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-bg-muted);
}

.story-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.story__image {
  border-radius: 12px;
  overflow: hidden;
}

.story__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.story__title {
  margin-bottom: var(--space-s);
}

.story__text {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-s);
}

.story__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
  margin-top: var(--space-l);
}

.stat-item {
  text-align: center;
}

.stat-item__value {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xxs);
}

.stat-item__label {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-secondary);
}

/* Desktop Story Grid */
@media (min-width: 1024px) {
  .story-grid {
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
  }
  
  .story__image,
  .story__content {
    flex: 1;
  }
}

/* ======================== */
/* CTA SECTION */
/* ======================== */

.cta-section {
  padding: var(--space-xl) 0;
}

.cta-box {
  background-color: var(--color-primary-light);
  border-radius: 16px;
  padding: var(--space-xl) var(--space-m);
  text-align: center;
}

.cta-box__title {
  margin-bottom: var(--space-s);
}

.cta-box__subtitle {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-m);
}

.cta-box__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  max-width: 500px;
  margin: 0 auto;
}

/* Desktop CTA */
@media (min-width: 768px) {
  .cta-box {
    padding: var(--space-xl);
  }
  
  .cta-box__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ======================== */
/* GUIDE SECTION (Cẩm nang) */
/* ======================== */

.guide-section {
  padding: var(--space-xl) 0;
}

.guide-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.guide-content p {
  color: var(--color-text-secondary);
}

/* ======================== */
/* CONTACT FORM */
/* ======================== */

.contact-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-bg-muted);
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--color-bg);
  border-radius: 12px;
  padding: var(--space-l);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: var(--space-m);
}

.form-label {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.form-input {
  width: 100%;
  padding: 12px var(--space-s);
  font-size: 16px;
  line-height: 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-family);
  transition: border-color var(--transition-base);
  min-height: 48px;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-input::placeholder {
  color: var(--color-text-secondary);
}

/* ======================== */
/* UX & ACCESSIBILITY ENHANCEMENTS */
/* ======================== */

/* Focus States */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: var(--space-m);
  right: var(--space-m);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  pointer-events: none;
}

.toast {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  padding: var(--space-s) var(--space-m);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-s);
  min-width: 280px;
  max-width: 400px;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: auto;
}

.toast.active {
  transform: translateX(0);
}

.toast--success { border-left-color: var(--color-success); }
.toast--error { border-left-color: var(--color-danger); }
.toast--warning { border-left-color: var(--color-accent); }

/* Skeleton Loader */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Offline Detection */
.offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-secondary);
  color: var(--color-bg);
  text-align: center;
  padding: var(--space-xs);
  font-size: 14px;
  z-index: 2000;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.offline-banner.active {
  transform: translateY(0);
}

/* Loading Spinner */
.btn .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-right: var(--space-xs);
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn--loading .spinner {
  display: inline-block;
}

/* Responsive Overrides & Touch Friendly */
@media (max-width: 768px) {
  .btn, .form-input, .nav-link {
    min-height: 48px; /* Touch target size */
  }
  
  .container {
    padding: 0 var(--space-m);
  }
}

/* Floating Contact Menu (Radial Layout) */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 70px;
  height: 70px;
}

.floating-contact__menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-contact.active .floating-contact__menu {
  pointer-events: auto;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn--main {
  width: 70px;
  height: 70px;
  background-color: var(--color-primary);
  cursor: pointer;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.floating-btn--main .icon-close {
  display: none;
}

.floating-contact.active .floating-btn--main {
  background-color: var(--color-secondary);
  transform: rotate(135deg);
}

.floating-contact.active .floating-btn--main .icon-contact {
  display: none;
}

.floating-contact.active .floating-btn--main .icon-close {
  display: block;
}

.floating-contact__menu .floating-btn {
  position: absolute;
  top: 5px;
  left: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translate(0, 0) scale(0.3);
  z-index: 1;
}

/* Facebook (180deg) */
.floating-contact.active .floating-btn--facebook {
  transform: translate(-100px, 0) scale(1);
  opacity: 1;
  visibility: visible;
}

/* Zalo (135deg) */
.floating-contact.active .floating-btn--zalo {
  transform: translate(-71px, -71px) scale(1);
  opacity: 1;
  visibility: visible;
  transition-delay: 0.07s;
}

/* TikTok (90deg) */
.floating-contact.active .floating-btn--tiktok {
  transform: translate(0, -100px) scale(1);
  opacity: 1;
  visibility: visible;
  transition-delay: 0.14s;
}

.floating-btn--facebook { background-color: #1877F2; }
.floating-btn--zalo { background-color: #0068FF; }
.floating-btn--tiktok { background-color: #000000; }

.floating-btn svg {
  width: 28px;
  height: 28px;
}

.floating-btn--main svg {
  width: 35px;
  height: 35px;
}

/* Footer Social Links */
.footer__social {
  display: flex;
  gap: var(--space-s);
  margin-top: var(--space-m);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
  color: white;
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

/* ======================== */
/* FOOTER */
/* ======================== */

.footer {
  background-color: var(--color-text-primary);
  color: var(--color-bg);
  padding: var(--space-xl) 0 var(--space-m);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
  margin-bottom: var(--space-l);
}

.footer__title {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: var(--space-s);
  color: var(--color-bg);
}

.footer__text {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__link {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--color-bg);
}

.footer__bottom {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__copyright {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
}

/* Desktop Footer */
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-m);
  }
}

@media (min-width: 1024px) {
  .footer {
    padding: var(--space-xxl) 0 var(--space-m);
  }
}

/* ======================== */
/* HERO SLIDER - VIEWPORT OPTIMIZED */
/* ======================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 600px; /* Default height for desktop */
  overflow: hidden;
  background-color: var(--color-secondary);
}

@media (max-width: 767px) {
  .hero-slider {
    /* Above the fold only for mobile */
    height: calc(100dvh - var(--header-height));
    min-height: 480px;
  }
}

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

.hero-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2;
}

.hero-slide__content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  width: 90%;
  max-width: 900px;
  padding: var(--space-m);
  /* Ensure content never pushes beyond viewport */
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-slide__title {
  /* Dynamic sizing: stays readable, doesn't overflow */
  font-size: clamp(28px, 8vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: var(--space-s);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
}

.hero-slide__subtitle {
  font-size: clamp(16px, 4vw, 24px);
  line-height: 1.4;
  margin-bottom: var(--space-l);
  max-width: 600px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
}

.hero-slide__actions {
  display: flex;
  gap: var(--space-s);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

/* Animation triggers */
.hero-slide--active .hero-slide__title {
  animation: fadeInUpSafe 0.8s ease forwards;
}

.hero-slide--active .hero-slide__subtitle {
  animation: fadeInUpSafe 0.8s ease 0.2s forwards;
}

.hero-slide--active .hero-slide__actions {
  animation: fadeInUpSafe 0.8s ease 0.4s forwards;
}

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

/* Slider Navigation Arrows */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(40px, 8vw, 56px);
  height: clamp(40px, 8vw, 56px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
}

@media (max-width: 767px) {
  .hero-slider__arrow {
    display: none; /* Hide arrows on mobile */
  }
}

.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.hero-slider__arrow--prev {
  left: var(--space-s);
}

.hero-slider__arrow--next {
  right: var(--space-s);
}

@media (min-width: 1024px) {
  .hero-slider__arrow--prev { left: var(--space-l); }
  .hero-slider__arrow--next { right: var(--space-l); }
}

/* Slider Dots */
.hero-slider__dots {
  position: absolute;
  bottom: var(--space-m);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-xs);
  z-index: 20;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider__dot--active {
  background: white;
  width: 30px;
  border-radius: 5px;
}

/* Mobile adjustments to prevent content overflow */
@media (max-height: 600px) {
  .hero-slide__subtitle {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--space-s);
  }
  
  .hero-slide__title {
    margin-bottom: var(--space-xs);
  }
}

/* ======================== */
/* SECTION TAG */
/* ======================== */

.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-s);
}

/* ======================== */
/* FEATURED PRODUCTS SECTION */
/* ======================== */

.featured-products {
  padding: var(--space-xxl) 0;
  background-color: var(--color-bg-muted);
}

.products-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
}

@media (min-width: 768px) {
  .products-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.products-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

.products-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ======================== */
/* PRODUCT CARD V2 - IMAGE FOCUSED */
/* ======================== */

.product-card-v2 {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-card-v2__images {
  position: relative;
}

.product-card-v2__main-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

.product-card-v2__main-image.loaded {
  animation: none;
  background: var(--color-bg-muted);
}

.product-card-v2__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.product-card-v2__main-image img.loaded {
  opacity: 1;
}

.product-card-v2:hover .product-card-v2__main-image img {
  transform: scale(1.08);
}

.product-card-v2__badge {
  position: absolute;
  top: var(--space-s);
  left: var(--space-s);
  padding: 6px 12px;
  background: var(--color-primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  z-index: 5;
}

.product-card-v2__badge--new {
  background: var(--color-success);
}

.product-card-v2__badge--sale {
  background: var(--color-danger);
}

/* Product Thumbnails */
.product-card-v2__thumbnails {
  display: flex;
  gap: var(--space-xs);
  padding: var(--space-s);
  background: var(--color-bg-muted);
}

.product-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  padding: 0;
  background: transparent;
}

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

.product-thumb:hover {
  border-color: var(--color-text-secondary);
}

.product-thumb--active {
  border-color: var(--color-primary);
}

/* Product Overlay */
.product-card-v2__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.product-card-v2:hover .product-card-v2__overlay {
  opacity: 1;
  visibility: visible;
}

.btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-icon:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.btn-icon--light {
  background: rgba(255, 255, 255, 0.9);
}

/* Product Info */
.product-card-v2__info {
  padding: var(--space-m);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-v2__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--space-xxs);
  color: var(--color-text-primary);
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  height: calc(18px * 1.4 * 2);
}

.product-card-v2__description {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-v2__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-s);
}

.product-card-v2__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card-v2__rating .stars {
  color: #FFA500;
  font-size: 14px;
}

.product-card-v2__rating .count {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.product-card-v2__weight {
  font-size: 13px;
  color: var(--color-text-secondary);
  background: var(--color-bg-muted);
  padding: 4px 10px;
  border-radius: 12px;
}

.product-card-v2__pricing {
  margin-bottom: var(--space-m);
}

.product-card-v2__price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
}

.product-card-v2__actions {
  display: flex;
  gap: var(--space-xs);
  margin-top: auto;
}

.product-card-v2__actions .btn {
  flex: 1;
  padding: 12px 16px;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-border);
}

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

/* ======================== */
/* PRODUCT OPTIONS CHIPS */
/* ======================== */

.product-options {
  margin-bottom: var(--space-l);
  padding-bottom: var(--space-m);
}

.product-options__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-s);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
}

.option-chip {
  padding: 10px 20px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.option-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.option-chip--active {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(139, 30, 30, 0.1);
}

/* ======================== */
/* IMAGE SHOWCASE / GALLERY */
/* ======================== */

.image-showcase {
  padding: var(--space-xxl) 0;
  background: white;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 200px);
  gap: var(--space-s);
}

.showcase-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-item:hover img {
  transform: scale(1.1);
}

.showcase-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.showcase-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: var(--space-m);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
}

.showcase-item:hover .showcase-item__overlay {
  opacity: 1;
}

.showcase-item__caption {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.showcase-item__overlay .btn-icon--light {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.showcase-item--more {
  position: relative;
}

.showcase-item__more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: white;
  text-align: center;
  transition: background 0.3s ease;
}

.showcase-item--more:hover .showcase-item__more-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.more-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.more-content svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.showcase-item--more:hover .more-content svg {
  transform: translateX(5px);
}

.more-text {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .showcase-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 250px 250px;
  }

  .showcase-item--large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (min-width: 1024px) {
  .showcase-grid {
    grid-template-rows: 300px 300px;
  }
}

/* ======================== */
/* LIGHTBOX MODAL */
/* ======================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox__close {
  position: absolute;
  top: var(--space-m);
  right: var(--space-m);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
  left: var(--space-m);
}

.lightbox__nav--next {
  right: var(--space-m);
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox__caption {
  color: white;
  font-size: 16px;
  margin-top: var(--space-m);
  text-align: center;
}

.lightbox__counter {
  position: absolute;
  bottom: var(--space-m);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* ======================== */
/* RESPONSIVE ADJUSTMENTS */
/* ======================== */

@media (max-width: 767px) {
  .lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .lightbox__nav--prev {
    left: var(--space-s);
  }

  .lightbox__nav--next {
    right: var(--space-s);
  }
}

/* ======================== */
/* VIDEO INTEGRATION */
/* ======================== */

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
}

.video-wrapper:hover .video-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.play-button-large {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(139, 30, 30, 0.6);
  animation: pulse-play 2s infinite;
  transition: transform 0.3s ease;
}

/* Offset triangle icon to optical center (play icons look off when perfectly centered) */
.play-button-large svg {
  margin-left: 4px;
  flex-shrink: 0;
}

@keyframes pulse-play {
  0% { box-shadow: 0 0 0 0 rgba(139, 30, 30, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(139, 30, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 30, 30, 0); }
}

.video-wrapper:hover .play-button-large,
.video-card:hover .play-button-large {
  transform: scale(1.1);
}

/* Video Grid for Testimonials */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-card__player {
  position: relative;
  aspect-ratio: 4/3; /* Better fit for most video posters */
  background: var(--color-bg-muted);
  cursor: pointer;
  overflow: hidden;
}

.video-card__player video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Poster image styling to prevent black bars */
.video-card__player video[poster] {
  background-size: cover;
  background-position: center;
}

.video-card__info {
  padding: var(--space-m);
}

.video-card__name {
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text-primary);
}

.video-card__desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* ======================== */
/* PRODUCT REELS SECTION - VIP STYLE */
/* ======================== */

.reels-section {
  padding: var(--space-xxl) 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 155, 60, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(200, 155, 60, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(200, 155, 60, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
  overflow: hidden;
  position: relative;
}

/* Golden shimmer overlay */
.reels-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 155, 60, 0.03) 25%,
    rgba(255, 215, 0, 0.05) 50%,
    rgba(200, 155, 60, 0.03) 75%,
    transparent 100%
  );
  animation: golden-shimmer 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes golden-shimmer {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(25%); }
}

/* Floating golden particles */
.reels-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(2px 2px at 10% 20%, rgba(255, 215, 0, 0.4) 50%, transparent 50%),
    radial-gradient(2px 2px at 90% 30%, rgba(200, 155, 60, 0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 70%, rgba(255, 215, 0, 0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 80%, rgba(200, 155, 60, 0.4) 50%, transparent 50%),
    radial-gradient(2px 2px at 50% 10%, rgba(255, 215, 0, 0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 60%, rgba(255, 215, 0, 0.4) 50%, transparent 50%);
  animation: sparkle 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.reels-section .container {
  position: relative;
  z-index: 2;
}

.reels-section .section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.reels-section .section-tag {
  color: #FFD700;
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.2) 0%, rgba(255, 215, 0, 0.15) 100%);
  padding: 8px 20px;
  border-radius: 20px;
  display: inline-block;
  border: 1px solid rgba(200, 155, 60, 0.3);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  animation: tag-glow 3s ease-in-out infinite;
}

@keyframes tag-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(200, 155, 60, 0.2); }
  50% { box-shadow: 0 0 20px rgba(200, 155, 60, 0.4); }
}

.reels-section .section-title {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.reels-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* Reels Grid */
.reels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-m);
}

@media (min-width: 768px) {
  .reels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Reel Card - TikTok VIP Style */
.reel-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reel-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(200, 155, 60, 0.2),
    0 0 60px rgba(255, 215, 0, 0.1);
  border-color: rgba(200, 155, 60, 0.5);
}

/* Golden glow inner border on hover */
.reel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg,
    rgba(255, 215, 0, 0.6) 0%,
    rgba(200, 155, 60, 0.3) 25%,
    rgba(200, 155, 60, 0.1) 50%,
    rgba(200, 155, 60, 0.3) 75%,
    rgba(255, 215, 0, 0.6) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 20;
}

.reel-card:hover::after {
  opacity: 1;
  animation: rotate-glow 3s linear infinite;
}

@keyframes rotate-glow {
  0% {
    background: linear-gradient(0deg,
      rgba(255, 215, 0, 0.7) 0%,
      rgba(200, 155, 60, 0.2) 25%,
      rgba(200, 155, 60, 0.1) 50%,
      rgba(200, 155, 60, 0.2) 75%,
      rgba(255, 215, 0, 0.4) 100%
    );
  }
  25% {
    background: linear-gradient(90deg,
      rgba(255, 215, 0, 0.7) 0%,
      rgba(200, 155, 60, 0.2) 25%,
      rgba(200, 155, 60, 0.1) 50%,
      rgba(200, 155, 60, 0.2) 75%,
      rgba(255, 215, 0, 0.4) 100%
    );
  }
  50% {
    background: linear-gradient(180deg,
      rgba(255, 215, 0, 0.7) 0%,
      rgba(200, 155, 60, 0.2) 25%,
      rgba(200, 155, 60, 0.1) 50%,
      rgba(200, 155, 60, 0.2) 75%,
      rgba(255, 215, 0, 0.4) 100%
    );
  }
  75% {
    background: linear-gradient(270deg,
      rgba(255, 215, 0, 0.7) 0%,
      rgba(200, 155, 60, 0.2) 25%,
      rgba(200, 155, 60, 0.1) 50%,
      rgba(200, 155, 60, 0.2) 75%,
      rgba(255, 215, 0, 0.4) 100%
    );
  }
  100% {
    background: linear-gradient(360deg,
      rgba(255, 215, 0, 0.7) 0%,
      rgba(200, 155, 60, 0.2) 25%,
      rgba(200, 155, 60, 0.1) 50%,
      rgba(200, 155, 60, 0.2) 75%,
      rgba(255, 215, 0, 0.4) 100%
    );
  }
}

/* Video Container - 9:16 Aspect Ratio (TikTok style) */
.reel-card__video {
  position: relative;
  width: 100%;
  padding-top: 177.78%; /* 9:16 aspect ratio */
  background: #1a1a1a;
  overflow: hidden;
}

.reel-card__video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Play Overlay - Centered */
.reel-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  opacity: 1;
  transition: opacity 0.3s ease, background 0.3s ease;
  z-index: 5;
}

.reel-card:hover .reel-card__overlay {
  background: rgba(0, 0, 0, 0.25);
}

.reel-card.playing .reel-card__overlay {
  opacity: 0;
  pointer-events: none;
}

.reel-play-btn {
  background: none;
  border: none;
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.reel-play-btn svg circle {
  transition: fill 0.3s ease;
}

.reel-play-btn:hover {
  transform: scale(1.15);
}

.reel-play-btn:hover svg circle {
  fill: rgba(255, 255, 255, 1);
}

/* Play button shadow */
.reel-card:not(.playing) .reel-play-btn svg {
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

/* Duration Badge - VIP Style */
.reel-card__duration {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(30, 30, 30, 0.8) 100%);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 10;
  border: 1px solid rgba(200, 155, 60, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Social Actions - Right side vertical */
.reel-card__actions {
  position: absolute;
  bottom: 100px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

.reel-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: transform 0.2s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.reel-action:hover {
  transform: scale(1.15);
}

.reel-action svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Card Content - Overlay on video */
.reel-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-m);
  padding-right: 60px; /* Space for action buttons */
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%);
  z-index: 8;
}

.reel-card__title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-card__desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  margin-bottom: var(--space-xs);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags - VIP Style */
.reel-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reel-tag {
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.2) 0%, rgba(255, 215, 0, 0.15) 100%);
  backdrop-filter: blur(4px);
  color: #FFD700;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(200, 155, 60, 0.25);
}

.reel-tag:hover {
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.35) 0%, rgba(255, 215, 0, 0.25) 100%);
  box-shadow: 0 0 10px rgba(200, 155, 60, 0.3);
}

/* CTA Buttons - VIP Style */
.reels-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-m);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-social::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-social:hover::before {
  left: 100%;
}

.btn-tiktok {
  background: linear-gradient(135deg, #FFD700 0%, #C89B3C 100%);
  color: #000000;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(200, 155, 60, 0.3);
}

.btn-tiktok:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200, 155, 60, 0.4);
  background: linear-gradient(135deg, #FFE44D 0%, #D4A84A 100%);
}

.btn-facebook {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-facebook:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 155, 60, 0.5);
  box-shadow: 0 8px 25px rgba(200, 155, 60, 0.2);
  color: #FFD700;
}

/* Reduced Motion - Accessibility */
@media (prefers-reduced-motion: reduce) {
  .reels-section::before,
  .reels-section::after {
    animation: none;
  }

  .reels-section .section-tag {
    animation: none;
  }

  .reel-card:hover::after {
    animation: none;
    opacity: 1;
  }
}

