/*
 * Repsaigon Style Sheet
 * Quicksand — Modern Minimal E-commerce Design System
 */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #000000;
  --primary-hover: #0d69a6;
  --secondary: #0e76bc;
  --bg-light: #F5F5F5;
  --bg-white: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-muted: #4e4e4e;
  --border-color: #E8E8E8;

  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Quicksand', sans-serif;

  --transition-smooth: all 0.3s ease-in-out;
}

/* Global Reset & Base Styles */
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 0em;
}

h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 15px;
  letter-spacing: 0em;
}

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

a:hover {
  color: var(--secondary);
}

/* Clean corner rounding for standard commercial e-commerce look */
.rounded-0-custom,
.btn,
.form-control,
.form-select,
.card,
.modal-content,
.nav-tabs .nav-link,
.dropdown-menu {
  border-radius: 4px !important;
}

/* Spacing Utilities */
.py-xl {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

@media (max-width: 767.98px) {
  .py-xl {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}

/* Typography utilities — synchronized scale */
.fs-12 {
  font-size: 12px !important;
}

.fs-13 {
  font-size: 13px !important;
}

.fs-14 {
  font-size: 14px !important;
}

.fs-15 {
  font-size: 15px !important;
}

.fs-16 {
  font-size: 16px !important;
}

.fs-18 {
  font-size: 18px !important;
}

.fs-20 {
  font-size: 20px !important;
}

.fw-400 {
  font-weight: 400 !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.fw-600 {
  font-weight: 600 !important;
}

.fw-700 {
  font-weight: 700 !important;
}

.fw-800 {
  font-weight: 800 !important;
}

.fw-900 {
  font-weight: 900 !important;
}

.uppercase {
  text-transform: uppercase !important;
}

.tracking-widest {
  letter-spacing: 0.1em !important;
}

/* Form Styles */
.form-control,
.form-select {
  border: 1px solid var(--border-color);
  padding: 11px 16px;
  font-size: 14px;
  background-color: var(--bg-white);
  color: var(--text-primary);
  transition: var(--transition-smooth);
  font-family: var(--font-body);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary);
  box-shadow: none;
}

/* Buttons */
.btn-repsaigon-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  border: 1.5px solid var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  padding: 13px 26px;
  transition: var(--transition-smooth);
  letter-spacing: 0.08em;
}

.btn-repsaigon-primary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--bg-white);
}

.btn-repsaigon-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  padding: 13px 26px;
  transition: var(--transition-smooth);
  letter-spacing: 0.08em;
}

.btn-repsaigon-secondary:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

/* Header Styles */
.top-bar {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.top-bar a {
  color: #FFFFFF;
}

.top-bar a:hover {
  color: var(--secondary);
}

.main-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  z-index: 1000;
}

.main-header.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  animation: slideDown 0.3s ease-out;
}

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

  to {
    transform: translateY(0);
  }
}

/* Navigation */
.nav-link-custom {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  text-transform: none;
  color: var(--primary) !important;
  position: relative;
  padding: 22px 14px !important;
  transition: var(--transition-smooth);
  letter-spacing: -0.01em;
}

.sticky-header .nav-link-custom {
  padding: 16px 14px !important;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--secondary) !important;
}

.header-icons .btn-icon {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 23px;
  position: relative;
  padding: 8px;
  transition: var(--transition-smooth);
}

.header-icons .btn-icon:hover {
  color: var(--secondary);
}

.header-icons .badge-count {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: var(--secondary);
  color: var(--bg-white);
  font-size: 9px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  font-weight: 700;
  padding-bottom: 2px;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 88vh;
  min-height: 540px;
  background-color: var(--bg-light);
  overflow: hidden;
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: 100%;
  width: 100%;
}

.hero-slide {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 30%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-title-main {
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.2;
  color: var(--primary);
  text-transform: uppercase;
}

.hero-title-main span {
  color: var(--secondary);
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-image-box {
  width: 100%;
  position: relative;
  background-color: var(--bg-white);
  overflow: hidden;
  border-radius: 4px !important;
  border: 1px solid var(--border-color);
}

.hero-image-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.hero-image-box:hover img {
  transform: scale(1.02);
}

.hero-swiper-pagination {
  bottom: 25px !important;
  z-index: 10;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  background: #FFFFFF !important;
  opacity: 0.4;
  width: 8px;
  height: 8px;
  margin: 0 5px !important;
  border-radius: 50% !important;
  transition: var(--transition-smooth);
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--secondary) !important;
  opacity: 1;
  width: 24px;
  border-radius: 4px !important;
}

.hero-swiper-next,
.hero-swiper-prev {
  color: #FFFFFF !important;
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50% !important;
  transition: var(--transition-smooth);
  z-index: 10;
}

.hero-swiper-next:hover,
.hero-swiper-prev:hover {
  background-color: var(--secondary);
}

.hero-swiper-next::after,
.hero-swiper-prev::after {
  font-size: 16px !important;
}

.btn-hero {
  transition: var(--transition-smooth);
}

.btn-hero.btn-repsaigon-secondary {
  background-color: transparent;
  color: #FFFFFF !important;
  border-color: #FFFFFF;
}

.btn-hero.btn-repsaigon-secondary:hover {
  background-color: #FFFFFF;
  color: #000000 !important;
  border-color: #FFFFFF;
}

/* About Section — Full Bleed Layout */
.about-section {
  background-color: var(--bg-white);
  overflow: hidden;
}

/* Left image panel — full height */
.about-img-full {
  height: 100%;
  min-height: 520px;
}

.about-img-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right content panel */
.about-content-panel {
  padding: 60px 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .about-content-panel {
    padding: 50px 24px;
  }
}

/* Lead paragraph */
.about-lead-text {
  font-size: 16px;
  color: #1a1a1a !important;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 100%;
}

/* Custom styles for About section image card and hover */
.about-img-container {
  overflow: hidden;
  border-radius: 8px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease;
  height: 100%;
}

.about-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-img-container:hover {
  transform: translateY(-5px);
}

.about-img-container:hover img {
  transform: scale(1.06);
}

/* Full-width stats row */
.about-stats-fullrow {
  width: 100%;
  margin-top: 40px;
}

.about-stats-fullrow .about-stat-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: var(--secondary);
  line-height: 1;
}

.about-stats-fullrow .about-stat-desc {
  font-size: 12px;
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.border-start-md {
  border-left: 1px solid var(--border-color);
}

@media (max-width: 767.98px) {
  .border-start-md {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
}

/* Feature list */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background-color: var(--bg-light);
  border-radius: 4px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--secondary);
  transition: var(--transition-smooth);
}

.about-feature-item:hover .about-feature-icon {
  background-color: var(--secondary);
  color: var(--bg-white);
}

.about-feature-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: 0em;
}

.about-feature-item p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* CTA row */
.about-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}


.section-title {
  position: relative;
  margin-bottom: 0;
}

.section-title h2 {
  font-size: 26px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background-color: var(--secondary);
}

/* Centered title support */
.section-title.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.counter-box {
  background-color: var(--bg-light);
  padding: 20px 10px;
  text-align: center;
  border-radius: 4px !important;
  border: 1px solid var(--border-color);
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 5px;
}

.counter-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* Advantages Cards */
.advantage-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 30px 20px;
  transition: var(--transition-smooth);
  height: 100%;
  border-radius: 4px !important;
}

.advantage-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.advantage-icon {
  font-size: 44px;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1;
}

.advantage-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.65;
}

/* Product Cards & Collections */
.product-grid-card {
  background-color: transparent;
  border: none;
  position: relative;
  transition: var(--transition-smooth);
  height: 100%;
}

.product-grid-card:hover {
  transform: translateY(-2px);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 0.72;
  /* Tall portrait — shows more of the garment */
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 0 !important;
  border: none;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.15, 1, 0.3, 1), opacity 0.5s ease;
}

.product-img-wrap .img-primary {
  position: relative;
  z-index: 1;
}

.product-img-wrap .img-secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
}

.product-grid-card:hover .product-img-wrap .img-primary {
  opacity: 0;
}

.product-grid-card:hover .product-img-wrap .img-secondary {
  opacity: 1;
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--secondary);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 10;
  border-radius: 2px !important;
  line-height: 1.3;
}

.product-badge.badge-sale {
  background-color: var(--secondary);
}

/* Product actions — top-right icon buttons, slide in on hover */
.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.28s ease, transform 0.28s ease;
  opacity: 0;
  z-index: 15;
  transform: translateX(10px);
}

.product-grid-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 38px;
  height: 38px;
  border: none;
  background-color: rgba(255, 255, 255, 0.96);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border-radius: 50% !important;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.action-btn:hover {
  background-color: var(--secondary);
  color: var(--bg-white);
  transform: scale(1.08);
}

/* Add to cart button — slides up from image bottom, side-by-side with quick view */
.btn-add-to-cart {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% - 38px);
  height: 38px;
  background-color: rgba(17, 17, 17, 0.95);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: opacity 0.3s ease, transform 0.32s cubic-bezier(0.2, 1, 0.3, 1), background-color 0.2s ease;
  opacity: 0;
  transform: translateY(100%);
  z-index: 14;
  cursor: pointer;
  backdrop-filter: blur(2px);
  border-radius: 0 !important;
}

.btn-add-to-cart:hover {
  background-color: var(--secondary);
}

.product-img-wrap .btn-quick-view {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 38px !important;
  height: 38px !important;
  background-color: #ffffff;
  color: var(--text-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: opacity 0.3s ease, transform 0.32s cubic-bezier(0.2, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
  opacity: 0;
  transform: translateY(100%);
  z-index: 14;
  cursor: pointer;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.product-img-wrap .btn-quick-view:hover {
  background-color: var(--secondary);
  color: #ffffff;
}

.product-grid-card:hover .btn-add-to-cart,
.product-grid-card:hover .product-img-wrap .btn-quick-view {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  padding: 10px 0 0 0;
  text-align: left;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 11.5px;
  color: var(--text-muted);
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.product-variant-info {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #555;
}

.product-variant-info i {
  font-size: 12px;
  opacity: 0.75;
}

.product-cat {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 5px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.product-title-text {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 7px;
  text-transform: none;
  line-height: 1.42;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  height: 2.84em;
  /* line-height 1.42 * 2 = 2.84em */
}

.product-title-text a {
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.product-title-text a:hover {
  color: var(--secondary);
}

.product-price-box {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price-box .price-old {
  text-decoration: line-through;
  color: #888888;
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0;
}

.product-price-box .price-new {
  color: var(--secondary);
}

/* Sold count badge */
.product-sold-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  color: #e05c00;
  background: rgba(224, 92, 0, 0.08);
  border-radius: 20px;
  padding: 2px 8px;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.product-sold-info .bi-fire {
  color: #f05a00;
  font-size: 12px;
}

/* Quick View Modal */
.quick-view-modal .modal-content {
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.quick-view-modal .modal-dialog {
  max-width: 780px;
}

.quick-view-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
  aspect-ratio: 1 / 1;
}

.quick-view-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.quick-view-img-wrap:hover img {
  transform: scale(1.04);
}

.quick-view-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.06em;
  font-family: var(--font-heading);
  border-radius: 2px;
  text-transform: uppercase;
  z-index: 5;
}

.quick-view-info {
  padding: 10px 0 0 0;
}

.quick-view-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 10px;
}

.quick-view-price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.quick-view-price .price-old {
  font-size: 14px;
  font-weight: 400;
  color: #888888;
  text-decoration: line-through;
  margin-left: 6px;
}

.quick-view-sold {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #e05c00;
  background: rgba(224, 92, 0, 0.08);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 16px;
}

.quick-view-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 16px 0;
}

.quick-view-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease;
}

.quick-view-close:hover {
  background: var(--secondary);
  color: #fff;
}


/* Quick size drawer */
.quick-size-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 20;
}

.quick-size-select.active {
  opacity: 1;
  pointer-events: auto;
}

.quick-size-title {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.size-btn-group {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.size-select-btn {
  width: 38px;
  height: 38px;
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  transition: var(--transition-smooth);
  border-radius: 4px !important;
}

.size-select-btn:hover,
.size-select-btn.active {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--bg-white);
}

/* View-All Link */
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1.5px solid var(--text-primary);
  padding-bottom: 2px;
  transition: color 0.22s ease, border-color 0.22s ease, gap 0.22s ease;
}

.view-all-link:hover {
  color: var(--secondary);
  border-color: var(--secondary);
  gap: 12px;
}

/* Flash Sale & Countdown */
.flash-sale-section {
  background-color: var(--bg-light);
}

.countdown-box {
  display: flex;
  gap: 8px;
}

.countdown-item {
  background-color: var(--primary);
  color: var(--bg-white);
  width: 54px;
  height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 4px !important;
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.countdown-lbl {
  font-size: 9px;
  text-transform: uppercase;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
}

/* Promo Banner Slider */
.promo-banner-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-white);
  padding: 30px 0;
}

.promo-banner-swiper {
  width: 100%;
  height: auto;
}

.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.promo-banner-pagination {
  position: absolute;
  bottom: 10px !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.promo-banner-pagination .swiper-pagination-bullet {
  background: var(--primary) !important;
  opacity: 0.3;
  width: 8px;
  height: 8px;
  margin: 0 !important;
  transition: all 0.3s ease;
}

.promo-banner-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--secondary) !important;
  width: 24px;
  border-radius: 4px;
}

/* Tạm ẩn text trên các banner để hiển thị rõ ảnh */
.hero-slide-content .badge,
.hero-slide-content h2,
.hero-slide-content p {
  display: none !important;
}

/* Category Tabs */
.custom-tabs .nav-link {
  border: none !important;
  color: var(--text-muted) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  padding: 8px 16px;
  background-color: transparent;
  transition: var(--transition-smooth);
}

.custom-tabs .nav-link.active {
  color: var(--secondary) !important;
  background-color: transparent !important;
  border-bottom: 2px solid var(--secondary) !important;
  border-radius: 0px !important;
}

/* Production Process */
.process-timeline {
  position: relative;
  padding-left: 35px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  width: 2px;
  height: 100%;
  background-color: var(--border-color);
}

.process-step {
  position: relative;
  margin-bottom: 35px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-number {
  position: absolute;
  top: 0;
  left: -35px;
  width: 28px;
  height: 28px;
  background-color: var(--bg-white);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  z-index: 2;
  border-radius: 50% !important;
  transition: var(--transition-smooth);
}

.process-step:hover .process-number {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--bg-white);
}

.process-step-content {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 20px 24px;
  transition: var(--transition-smooth);
  border-radius: 4px !important;
}

.process-step-content:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.process-step-content h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
}

.process-step-content p {
  font-size: 13px;
  margin-bottom: 0;
}

/* Testimonials */
.review-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 30px;
  text-align: center;
  border-radius: 4px !important;
}

.review-avatar {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  margin-bottom: 15px;
  border-radius: 50% !important;
}

.review-quote {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.review-stars {
  color: #FFC107;
  font-size: 12px;
  margin-bottom: 10px;
}

.review-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
}

.review-role {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Gallery Masonry */
.gallery-filter-btn {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #555555;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-transform: none;
  padding: 6px 18px;
  margin: 0 2px 4px;
  transition: color 0.22s ease, border-color 0.22s ease;
  letter-spacing: 0;
  cursor: pointer;
}

.gallery-filter-btn:hover {
  color: var(--text-primary);
}

.gallery-filter-btn.active {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.4;
  background-color: var(--bg-light);
  border-radius: 4px !important;
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 10;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .icon {
  font-size: 20px;
  color: var(--bg-white);
  margin-bottom: 6px;
}

.gallery-overlay h4 {
  color: var(--bg-white);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

/* News Section */
.news-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  height: 100%;
  transition: var(--transition-smooth);
  border-radius: 4px !important;
  overflow: hidden;
}

.news-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.news-img-wrap {
  aspect-ratio: 1.6;
  overflow: hidden;
  position: relative;
}

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

.news-info {
  padding: 20px;
}

.news-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.45;
}

.news-title a {
  color: var(--primary);
}

.news-title a:hover {
  color: var(--secondary);
}

.news-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.news-more-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.news-more-btn:hover {
  color: var(--secondary);
}

/* Commitment Section */
.commitment-section {
  background-color: var(--bg-light);
}

.commitment-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 4px !important;
  padding: 24px 22px;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.commitment-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--secondary);
  transition: width 0.35s ease;
}

.commitment-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 6px 24px rgba(14, 118, 188, 0.10);
  transform: translateY(-3px);
}

.commitment-card:hover::before {
  width: 100%;
}

.commitment-icon-wrap {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, rgba(14, 118, 188, 0.10) 0%, rgba(8, 76, 122, 0.08) 100%);
  border: 1.5px solid rgba(14, 118, 188, 0.20);
  border-radius: 4px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 18px;
  transition: var(--transition-smooth);
}

.commitment-card:hover .commitment-icon-wrap {
  background: linear-gradient(135deg, #0e76bc 0%, #084c7a 100%);
  border-color: #0e76bc;
  color: #ffffff;
}

.commitment-info {
  flex: 1;
}

.commitment-info h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.commitment-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Call to Action (CTA) */
.cta-section {
  background: linear-gradient(135deg, #0e76bc 0%, #084c7a 100%);
  color: var(--bg-white);
}

.cta-section h2 {
  color: var(--bg-white) !important;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 28px;
}

.cta-section .btn-repsaigon-primary {
  background-color: var(--bg-white);
  border-color: var(--bg-white);
  color: #084c7a;
}

.cta-section .btn-repsaigon-primary:hover {
  background-color: #0e76bc;
  border-color: #0e76bc;
  color: var(--bg-white);
}

.cta-section .btn-repsaigon-secondary {
  color: var(--bg-white);
  border-color: var(--bg-white);
}

.cta-section .btn-repsaigon-secondary:hover {
  background-color: var(--bg-white);
  color: #084c7a;
}

/* Footer */
.footer {
  background-color: #000000;
  color: #e5e5e5;
  font-size: 13px;
  border-top: 1px solid #1a1a1a;
}

.footer h4 {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer p,
.footer .text-muted {
  color: #a3a3a3 !important;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #a3a3a3;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-social-icons a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border: 1px solid #333333;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  transition: var(--transition-smooth);
  background-color: #111111;
  border-radius: 4px !important;
}

.footer-social-icons a:hover {
  background-color: var(--secondary);
  color: var(--bg-white);
  border-color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  color: #737373;
  font-size: 12px;
}

/* AJAX Spinner */
.ajax-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--secondary);
  border-radius: 50% !important;
  animation: spin 0.8s linear infinite;
  margin: 25px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .nav-link-custom {
    padding: 10px 0 !important;
  }

  /* Always show buy and quick view buttons inside image at the bottom on mobile/tablet */
  .btn-add-to-cart,
  .product-img-wrap .btn-quick-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .btn-add-to-cart {
    background-color: rgba(17, 17, 17, 0.95);
    font-size: 10.5px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    height: 70vh;
    min-height: 420px;
  }

  .hero-title-main {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }

  .hero-slide-content .col-lg-7 {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero-swiper-next,
  .hero-swiper-prev {
    display: none;
  }

  .promo-banner-section {
    padding: 15px 0;
  }
}

/* ========================================
   PRODUCT CAROUSELS SHARED SWIPER STYLES
   ======================================== */

/* Override Swiper default button size and color */
.collections-swiper .swiper-button-next,
.collections-swiper .swiper-button-prev,
.new-products-swiper .swiper-button-next,
.new-products-swiper .swiper-button-prev,
.promo-products-swiper .swiper-button-next,
.promo-products-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
  top: 38%;
  transform: translateY(-50%);
  transition: all 0.25s ease;
}

.collections-swiper .swiper-button-next:hover,
.collections-swiper .swiper-button-prev:hover,
.new-products-swiper .swiper-button-next:hover,
.new-products-swiper .swiper-button-prev:hover,
.promo-products-swiper .swiper-button-next:hover,
.promo-products-swiper .swiper-button-prev:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.collections-swiper .swiper-button-next::after,
.collections-swiper .swiper-button-prev::after,
.new-products-swiper .swiper-button-next::after,
.new-products-swiper .swiper-button-prev::after,
.promo-products-swiper .swiper-button-next::after,
.promo-products-swiper .swiper-button-prev::after {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-primary);
}

.collections-swiper .swiper-button-next:hover::after,
.collections-swiper .swiper-button-prev:hover::after,
.new-products-swiper .swiper-button-next:hover::after,
.new-products-swiper .swiper-button-prev:hover::after,
.promo-products-swiper .swiper-button-next:hover::after,
.promo-products-swiper .swiper-button-prev:hover::after {
  color: #fff;
}

/* Category swiper */
.category-swiper {
  width: 100%;
  overflow: hidden;
}

.category-swiper .swiper-button-next,
.category-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
  top: 38%;
  transform: translateY(-50%);
  transition: all 0.25s ease;
}

.category-swiper .swiper-button-next:hover,
.category-swiper .swiper-button-prev:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.category-swiper .swiper-button-next::after,
.category-swiper .swiper-button-prev::after {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-primary);
}

.category-swiper .swiper-button-next:hover::after,
.category-swiper .swiper-button-prev:hover::after {
  color: #fff;
}

/* Ensure swiper-slides in category have proper width */
.category-swiper .swiper-slide,
.new-products-swiper .swiper-slide {
  height: auto;
}

/* ========================================
   ABOUT SECTION - STATS ROW ENHANCEMENTS
   ======================================== */
.about-stats-fullrow .col-md-4 {
  position: relative;
}

.about-stats-fullrow .col-md-4+.col-md-4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--border-color);
}

@media (max-width: 767.98px) {
  .about-stats-fullrow .col-md-4+.col-md-4::before {
    display: none;
  }
}

/* ========================================
   BANNER CTA BUTTON – KEEP VISIBLE
   ======================================== */
.middle-banner .content .btn,
.hero-slide-content .btn {
  display: inline-flex !important;
}

/* ========================================
   AJAX SPINNER
   ======================================== */
.ajax-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}