/* ============================================
   HOMEPAGE V3 - MODERN DESIGN SYSTEM
   ============================================ */
:root {
  --v3-container-width: 1240px;
  --v3-container-padding: 24px;
  --v3-primary: #3338A0;
  --v3-primary-dark: #252978;
  --v3-primary-rgb: 51, 56, 160;
  --v3-gold: #C59560;
  --v3-gold-light: #D9B17E;
  --v3-accent: #FCC61D;
  --v3-bg: #F7F7F7;
  --v3-white: #FFFFFF;
  --v3-dark: #1A1A2E;
  --v3-text: #202020;
  --v3-muted: #1b1b1b;
  --v3-border: #E8E8E8;
  --v3-radius: 12px;
  --v3-radius-sm: 8px;
  --v3-ease: cubic-bezier(.25, .46, .45, .94);
  --v3-font: 'Be Vietnam Pro', -apple-system, sans-serif;
}

/* ---- Reset for template ---- */
.page-template-template-homepage-v3 .main-content,
.page-template-template-homepage-v3 #content {
  padding: 0 !important;
}

/* Break out of Flatsome container constraints */
.page-template-template-homepage-v3 #content>.container,
.page-template-template-homepage-v3 #content>.row,
.page-template-template-homepage-v3 #content .page-wrapper>.container,
.page-template-template-homepage-v3 .page-wrapper,
.page-template-template-homepage-v3 #content .row,
.page-template-template-homepage-v3 #content .col {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  flex-basis: 100% !important;
}

.page-template-template-homepage-v3 .page-title {
  display: none;
}

body.page-template-template-homepage-v3 {
  font-family: var(--v3-font);
  color: var(--v3-text);
  background: var(--v3-white);
  -webkit-font-smoothing: antialiased;
}

/* Override Flatsome parent theme's Lato font on headings */
body.page-template-template-homepage-v3 h1,
body.page-template-template-homepage-v3 h2,
body.page-template-template-homepage-v3 h3,
body.page-template-template-homepage-v3 h4,
body.page-template-template-homepage-v3 h5,
body.page-template-template-homepage-v3 h6,
body.page-template-template-homepage-v3 .heading-font,
body.page-template-template-homepage-v3 .banner h1,
body.page-template-template-homepage-v3 p,
body.page-template-template-homepage-v3 span,
body.page-template-template-homepage-v3 a,
body.page-template-template-homepage-v3 button {
  font-family: 'Be Vietnam Pro', -apple-system, sans-serif !important;
}

.v3-container {
  max-width: var(--v3-container-width);
  margin: 0 auto;
  padding: 0 var(--v3-container-padding);
}

/* ============================================
   HERO â€” IMAGE SLIDER
   ============================================ */
.v3-hero-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--v3-dark);
}

.v3-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 650px;
}

/* Individual slide */
.v3-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
  z-index: 1;
}

.v3-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.v3-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 6s ease;
}

/* Ken Burns zoom on active slide (Removed to keep original image scale) */
.v3-slide.active .v3-slide-bg {
  /* animation: v3KenBurns 8s ease forwards; */
  transform: scale(1);
}

@keyframes v3KenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.v3-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(167 91 183 / 85%) 0%, rgb(95 76 143 / 75%) 30%, rgba(51, 56, 160, .2) 50%, transparent 65%);
  z-index: 1;
}

/* Content inside each slide */
.v3-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 80px 60px 160px 80px;
  color: #fff;
}

/* Staggered entrance animation for content */
.v3-slide.active .v3-hero-tag {
  animation: v3SlideUp .6s ease .1s both;
}

.v3-slide.active .v3-slide-title {
  animation: v3SlideUp .6s ease .25s both;
}

.v3-slide.active .v3-hero-content p {
  animation: v3SlideUp .6s ease .4s both;
}

.v3-slide.active .v3-hero-actions {
  animation: v3SlideUp .6s ease .55s both;
}

@keyframes v3SlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.v3-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--v3-accent);
  letter-spacing: .5px;
  margin-bottom: 24px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, .15);
  opacity: 0;
}

.v3-hero-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--v3-accent);
  border-radius: 50%;
  animation: v3pulse 2s infinite;
}

@keyframes v3pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.3);
  }
}

.v3-hero-content h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
  opacity: 0;
}

.v3-hero-content h1 span {
  color: var(--v3-accent);
  -webkit-text-fill-color: var(--v3-accent);
}

.v3-hero-content p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 32px;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .2);
  opacity: 0;
}

.v3-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  opacity: 0;
}

.v3-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--v3-accent);
  color: var(--v3-dark);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all .3s var(--v3-ease);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(252, 198, 29, .35);
}

.v3-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(252, 198, 29, .5);
  background: #ffe066;
}

.v3-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all .3s var(--v3-ease);
  border: 2px solid rgba(255, 255, 255, .25);
}

.v3-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* ---- Slider Navigation Arrows ---- */
.v3-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 30px));
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--v3-ease);
  opacity: 0;
}

.v3-hero-slider:hover .v3-slider-arrow {
  opacity: 1;
}

.v3-slider-prev {
  left: 24px;
}

.v3-slider-next {
  right: 24px;
}

.v3-slider-arrow:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .5);
  transform: translateY(calc(-50% - 30px)) scale(1.08);
}

.v3-slider-arrow:active {
  transform: translateY(calc(-50% - 30px)) scale(.95);
}



/* ---- Stats Bar â€” thin line ---- */
.v3-hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  z-index: 10;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.v3-hero-stat {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.v3-hero-stat:last-child {
  border-right: none;
}

.v3-hero-stat strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--v3-accent);
  line-height: 1;
}

.v3-hero-stat span {
  font-size: 12px;
  color: rgba(255, 255, 255, .88);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}

/* ============================================
   MARQUEE / TICKER
   ============================================ */
.v3-ticker {
  background: var(--v3-accent);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.v3-ticker-inner {
  display: inline-flex;
  gap: 60px;
  animation: v3scroll 30s linear infinite;
}

.v3-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--v3-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.v3-ticker-item::before {
  content: '\2605';
  /* Star symbol */
  color: var(--v3-primary);
}

@keyframes v3scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   CATEGORY CARDS â€” HORIZONTAL SCROLL
   ============================================ */
.v3-cats-section {
  padding: 64px 0;
}

.v3-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.v3-section-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--v3-dark);
  line-height: 1.2;
}

.v3-section-head h2 em {
  font-style: normal;
  color: var(--v3-primary);
}

.v3-section-head p {
  color: var(--v3-muted);
  margin-top: 8px;
  font-size: 15px;
}

.v3-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--v3-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .3s;
}

.v3-link:hover {
  gap: 12px;
}

.v3-link::after {
  content: '→';
}

.v3-cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.v3-cat-item {
  text-align: center;
  text-decoration: none;
  padding: 24px 12px;
  border-radius: var(--v3-radius);
  background: var(--v3-bg);
  transition: all .35s var(--v3-ease);
  border: 2px solid transparent;
}

.v3-cat-item:hover {
  border-color: var(--v3-primary);
  background: #fff;
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(var(--v3-primary-rgb), .12);
}

.v3-cat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.v3-cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.v3-cat-item:hover .v3-cat-icon img {
  transform: scale(1.15);
}

.v3-cat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--v3-dark);
  margin-bottom: 4px;
}

.v3-cat-count {
  font-size: 12px;
  color: var(--v3-muted);
}

/* ============================================
   FEATURED PRODUCTS â€” GRID W/ FILTER PILLS
   ============================================ */
.v3-products-section {
  background: var(--v3-bg);
  padding: 64px 0;
}

.v3-filter-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.v3-pill {
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  background: var(--v3-white);
  color: var(--v3-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}

.v3-pill:hover {
  color: var(--v3-primary);
  box-shadow: 0 2px 12px rgba(var(--v3-primary-rgb), .1);
}

.v3-pill.active {
  background: var(--v3-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--v3-primary-rgb), .3);
}

.v3-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.v3-p-card {
  background: var(--v3-white);
  border-radius: var(--v3-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all .35s var(--v3-ease);
  border: 1px solid var(--v3-border);
}

.v3-p-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
  border-color: transparent;
}

.v3-p-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--v3-bg);
}

.v3-p-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--v3-ease);
}

.v3-p-card:hover .v3-p-thumb img {
  transform: scale(1.08);
}

.v3-p-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
}

.v3-p-badge.sale {
  background: #ef4444;
  color: #fff;
}

.v3-p-badge.new {
  background: var(--v3-primary);
  color: #fff;
}

.v3-p-badge.hot {
  background: var(--v3-accent);
  color: var(--v3-dark);
}


.v3-p-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.v3-p-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--v3-dark);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v3-p-prices {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.v3-p-now {
  font-size: 16px;
  font-weight: 800;
  color: #ef4444;
}

.v3-p-was {
  font-size: 12px;
  color: var(--v3-muted);
  text-decoration: line-through;
}

.v3-p-off {
  font-size: 11px;
  background: #fef2f2;
  color: #ef4444;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
}

/* ============================================
   PROMO SPLIT â€” 2-COL IMAGE + TEXT
   ============================================ */
.v3-promo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.v3-promo-img {
  overflow: hidden;
}

.v3-promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--v3-ease);
}

.v3-promo-split:hover .v3-promo-img img {
  transform: scale(1.06);
}

.v3-promo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--v3-primary);
  color: #fff;
}

.v3-promo-split>.v3-promo-text:first-child {
  padding-left: max(60px, calc(50vw - (var(--v3-container-width) / 2) + var(--v3-container-padding)));
  padding-right: 60px;
}

.v3-promo-split>.v3-promo-text:last-child {
  padding-left: 60px;
  padding-right: max(60px, calc(50vw - (var(--v3-container-width) / 2) + var(--v3-container-padding)));
}

.v3-promo-text.gold {
  background: linear-gradient(135deg, var(--v3-gold), #b5834e);
}

.v3-promo-text h3 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff !important;
}

.v3-promo-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, .9) !important;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ============================================
   IMAGE GALLERY STYLES
   ============================================ */
.v3-promo-gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  min-height: 420px;
  background: #f9f9fc;
  overflow: hidden;
}

.v3-promo-split>.v3-promo-gallery:first-child {
  padding-left: max(24px, calc(50vw - (var(--v3-container-width) / 2) + var(--v3-container-padding)));
  padding-right: 24px;
}

.v3-promo-split>.v3-promo-gallery:last-child {
  padding-left: 24px;
  padding-right: max(24px, calc(50vw - (var(--v3-container-width) / 2) + var(--v3-container-padding)));
}

.v3-gallery-inner {
  position: relative;
  width: 220px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v3-gallery-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 280px;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.5s var(--v3-ease), z-index 0.5s;
  cursor: pointer;
}

.v3-promo-gallery:hover .v3-gallery-item {
  filter: brightness(0.9);
}

.v3-promo-gallery .v3-gallery-item:hover {
  filter: brightness(1);
  z-index: 10 !important;
}

.v3-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* --- Section 1 Gallery Arrangement --- */
.v3-promo-gallery.gallery-1 .item-1 {
  transform: translate(-55%, -10%) rotate(-14deg);
  z-index: 1;
}

.v3-promo-gallery.gallery-1 .item-2 {
  transform: translate(0, 0) rotate(5deg);
  z-index: 3;
}

.v3-promo-gallery.gallery-1 .item-3 {
  transform: translate(55%, 15%) rotate(-8deg);
  z-index: 2;
}

.v3-promo-gallery.gallery-1:hover .item-1 {
  transform: translate(-65%, -15%) rotate(-18deg);
}

.v3-promo-gallery.gallery-1:hover .item-2 {
  transform: translate(0, -5%) rotate(0deg) scale(1.05);
}

.v3-promo-gallery.gallery-1:hover .item-3 {
  transform: translate(65%, 20%) rotate(-2deg);
}

.v3-promo-gallery.gallery-1 .item-1:hover {
  transform: translate(-65%, -15%) rotate(-8deg) scale(1.1);
}

.v3-promo-gallery.gallery-1 .item-2:hover {
  transform: translate(0, -5%) rotate(0deg) scale(1.1);
}

.v3-promo-gallery.gallery-1 .item-3:hover {
  transform: translate(65%, 20%) rotate(0deg) scale(1.1);
}

/* --- Section 2 Gallery Arrangement --- */
.v3-promo-gallery.gallery-2 .item-1 {
  transform: translate(-50%, 15%) rotate(-10deg);
  z-index: 2;
}

.v3-promo-gallery.gallery-2 .item-2 {
  transform: translate(5%, -10%) rotate(12deg);
  z-index: 3;
}

.v3-promo-gallery.gallery-2 .item-3 {
  transform: translate(60%, 10%) rotate(-6deg);
  z-index: 1;
}

.v3-promo-gallery.gallery-2:hover .item-1 {
  transform: translate(-60%, 20%) rotate(-14deg);
}

.v3-promo-gallery.gallery-2:hover .item-2 {
  transform: translate(5%, -15%) rotate(4deg) scale(1.05);
}

.v3-promo-gallery.gallery-2:hover .item-3 {
  transform: translate(70%, 15%) rotate(-2deg);
}

.v3-promo-gallery.gallery-2 .item-1:hover {
  transform: translate(-60%, 20%) rotate(-4deg) scale(1.1);
}

.v3-promo-gallery.gallery-2 .item-2:hover {
  transform: translate(5%, -15%) rotate(0deg) scale(1.1);
}

.v3-promo-gallery.gallery-2 .item-3:hover {
  transform: translate(70%, 15%) rotate(0deg) scale(1.1);
}

/* ============================================
   TESTIMONIALS â€” CARD GRID
   ============================================ */
.v3-reviews-section {
  padding: 64px 0;
}

.v3-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.v3-review-card {
  background: var(--v3-bg);
  border-radius: var(--v3-radius);
  padding: 28px;
  transition: all .3s;
}

.v3-review-card:hover {
  background: var(--v3-white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.v3-review-stars {
  color: var(--v3-accent);
  font-size: 16px;
  margin-bottom: 14px;
}

.v3-review-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--v3-text);
  margin-bottom: 18px;
  font-style: italic;
}

.v3-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v3-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--v3-border);
}

.v3-review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--v3-dark);
}

.v3-review-role {
  font-size: 12px;
  color: var(--v3-muted);
}

/* ============================================
   BLOG â€” MAGAZINE LAYOUT
   ============================================ */
.v3-blog-section {
  padding: 64px 0;
  background: var(--v3-bg);
}

.v3-blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.v3-blog-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  background: var(--v3-white);
  border-radius: var(--v3-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all .3s var(--v3-ease);
  border: 1px solid var(--v3-border);
}

.v3-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  border-color: transparent;
}

.v3-blog-card-img {
  overflow: hidden;
}

.v3-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.v3-blog-card:hover .v3-blog-card-img img {
  transform: scale(1.08);
}

.v3-blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.v3-blog-card-date {
  font-size: 12px;
  color: var(--v3-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.v3-blog-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--v3-dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   NEWSLETTER â€” GLASSMORPHISM
   ============================================ */
.v3-cta-section {
  background: linear-gradient(135deg, var(--v3-primary) 0%, var(--v3-primary-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.v3-cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(252, 198, 29, .12), transparent 70%);
  top: -200px;
  right: -100px;
  border-radius: 50%;
}

.v3-cta-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(197, 149, 96, .12), transparent 70%);
  bottom: -100px;
  left: -50px;
  border-radius: 50%;
}

.v3-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.v3-cta-inner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff !important;
}

.v3-cta-inner p {
  font-size: 16px;
  color: rgba(255, 255, 255, .85) !important;
  margin-bottom: 28px;
  line-height: 1.7;
}

.v3-cta-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 5px;
}

.v3-cta-form input {
  flex: 1;
  padding: 14px 22px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.v3-cta-form input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.v3-cta-form button {
  background: var(--v3-accent);
  color: var(--v3-dark);
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s;
  white-space: nowrap;
}

.v3-cta-form button:hover {
  background: #ffe066;
}

/* Contact Form 7 inside CTA */
.v3-cta-inner .wpcf7 {
  max-width: 520px;
  margin: 0 auto;
}

.v3-cta-inner .wpcf7-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  gap: 12px;
}

.v3-cta-inner .wpcf7-response-output {
  flex: 1 1 100%;
  margin: 15px 0 0 0 !important;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

.v3-cta-inner .wpcf7-spinner {
  margin-left: 10px;
  background-color: rgba(255, 255, 255, 0.8);
}
/* Reset CF7's <p> wrappers so they don't break flex */
.v3-cta-inner .wpcf7-form p {
  margin: 0;
  padding: 0;
}

.v3-cta-inner .wpcf7-form>p:first-child {
  flex: 1;
}

.v3-cta-inner .wpcf7-form>p:last-child {
  flex-shrink: 0;
}

.v3-cta-inner .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.v3-cta-inner .wpcf7 input[type="email"],
.v3-cta-inner .wpcf7 input[type="text"] {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  background: rgba(255, 255, 255, .1) !important;
  backdrop-filter: blur(10px);
  border-radius: 50px;
  color: #fff !important;
  font-size: 15px;
  outline: none;
  box-shadow: none !important;
  transition: all .3s;
}

.v3-cta-inner .wpcf7 input[type="email"]:focus,
.v3-cta-inner .wpcf7 input[type="text"]:focus {
  border-color: rgba(255, 255, 255, .4) !important;
  background: rgba(255, 255, 255, .15) !important;
}

.v3-cta-inner .wpcf7 input::placeholder {
  color: rgba(255, 255, 255, .5) !important;
}

.v3-cta-inner .wpcf7 input[type="submit"] {
  background: var(--v3-accent) !important;
  color: var(--v3-dark) !important;
  padding: 3px 32px;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(252, 198, 29, .3);
}

.v3-cta-inner .wpcf7 input[type="submit"]:hover {
  background: #ffe066 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(252, 198, 29, .5);
}

.v3-cta-inner .wpcf7-response-output {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .3) !important;
  border-radius: 8px;
  margin-top: 12px !important;
}

.v3-cta-inner .wpcf7-not-valid-tip {
  color: var(--v3-accent) !important;
  font-size: 12px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.v3-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--v3-ease), transform .6s var(--v3-ease);
}

.v3-fade.v3-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

  .v3-hero-slider,
  .v3-slider-track {
    min-height: 520px;
  }

  .v3-hero-content {
    padding: 48px 32px 140px;
  }

  .v3-hero-content h1 {
    font-size: 38px;
  }

  .v3-slider-controls {
    left: 32px;
    bottom: 85px;
  }

  .v3-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .v3-cats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .v3-promo-split {
    grid-template-columns: 1fr;
  }

  .v3-promo-split>.v3-promo-text:first-child,
  .v3-promo-split>.v3-promo-text:last-child {
    padding: 40px 32px;
  }

  .v3-promo-split>.v3-promo-gallery:first-child,
  .v3-promo-split>.v3-promo-gallery:last-child {
    padding: 40px 24px;
  }
}

@media (max-width: 768px) {
  .v3-promo-gallery {
    min-height: 380px;
  }

  .v3-gallery-item {
    width: 160px;
    height: 200px;
  }

  /* Tinh chỉnh lại vị trí ảnh trên mobile để không bị cắt mép phải */
  .v3-promo-gallery.gallery-1 .item-1 {
    transform: translate(-42%, -10%) rotate(-12deg);
  }

  .v3-promo-gallery.gallery-1 .item-2 {
    transform: translate(0, 0) rotate(5deg);
  }

  .v3-promo-gallery.gallery-1 .item-3 {
    transform: translate(42%, 15%) rotate(-6deg);
  }

  .v3-promo-gallery.gallery-2 .item-1 {
    transform: translate(-42%, 15%) rotate(-8deg);
  }

  .v3-promo-gallery.gallery-2 .item-2 {
    transform: translate(5%, -10%) rotate(10deg);
  }

  .v3-promo-gallery.gallery-2 .item-3 {
    transform: translate(45%, 10%) rotate(-4deg);
  }

  /* Thay đổi layout slider trên mobile: chia đôi trên/dưới */
  .v3-hero-slider,
  .v3-slider-track {
    min-height: 650px;
    background: #fff;
  }

  .v3-slide-bg {
    height: 55%;
    bottom: auto;
    background-position: 85% center !important;
    background-size: auto 115% !important;
  }

  .v3-hero-overlay {
    height: 55%;
    bottom: auto;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  }

  .v3-hero-content {
    position: absolute;
    top: 55%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 80px;
    /* Chừa 80px bottom cho stats bar */
    max-width: 100%;
    background: #ffffff;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .v3-hero-content h1 {
    font-size: 26px;
    color: #0b1120;
    text-shadow: none;
    margin-bottom: 12px;
  }

  .v3-hero-content h1 span {
    -webkit-text-fill-color: initial;
    color: var(--v3-accent);
  }

  .v3-hero-content p {
    font-size: 14px;
    color: #555;
    text-shadow: none;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .v3-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .v3-btn-primary,
  .v3-btn-outline {
    flex: 1;
    padding: 14px 10px;
    font-size: 13px;
    text-align: center;
    justify-content: center;
  }

  .v3-btn-primary {
    background: #fbc52c;
    color: #111;
    box-shadow: none;
  }

  .v3-btn-outline {
    border-color: #111;
    color: #111;
    background: #fff;
  }

  .v3-slider-arrow {
    width: 40px;
    height: 40px;
  }

  .v3-slider-prev {
    left: 12px;
  }

  .v3-slider-next {
    right: 12px;
  }

  .v3-hero-stats {
    flex-wrap: wrap;
    background: #f8f8f8;
    border-top: 1px solid #eaeaea;
    backdrop-filter: none;
  }

  .v3-hero-stat {
    flex: 1 1 auto;
    padding: 8px 10px;
    gap: 6px;
    border-right: 1px solid #eaeaea;
    color: #333;
  }

  .v3-hero-stat strong {
    font-size: 13px;
    color: #0b1120;
  }

  .v3-hero-stat span {
    font-size: 10px;
    letter-spacing: 0.5px;
    color: #666;
  }

  .v3-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .v3-cats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .v3-reviews-grid {
    grid-template-columns: 1fr;
  }

  .v3-blog-grid {
    grid-template-columns: 1fr;
  }

  .v3-blog-card {
    grid-template-columns: 120px 1fr;
  }

  .v3-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .v3-section-head h2 {
    font-size: 24px;
  }

  .v3-cta-form {
    flex-direction: column;
    border-radius: var(--v3-radius);
  }

  .v3-filter-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .v3-hero-tag {
    background: #fff;
    color: #111;
    border: 1.5px solid #111;
    font-size: 11px;
    padding: 6px 14px;
    margin-bottom: 12px;
  }

  .v3-hero-tag::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .v3-hero-content {
    padding: 25px 20px 80px;
  }

  .v3-hero-content h1 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .v3-hero-content p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .v3-slider-arrow {
    display: none;
  }

  .v3-hero-stat {
    padding: 6px 8px;
    gap: 4px;
  }

  .v3-hero-stat strong {
    font-size: 12px;
  }

  .v3-hero-stat span {
    font-size: 9px;
  }

  .v3-cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v3-promo-text h3 {
    font-size: 24px;
  }

  .v3-pill {
    padding: 4px 10px;
    font-size: 10px;
  }
}

/* ==========================================
   NEW USP SECTION (SPLIT LAYOUT)
   ========================================== */
.v3-usp-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.v3-usp-intro {
  flex: 0 0 35%;
}

.v3-usp-intro h2 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--v3-primary);
  margin: 0 0 20px 0;
}

.v3-usp-intro h2 span {
  color: #FFB300;
  display: block;
}

.v3-usp-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--v3-muted);
  margin: 0 0 30px 0;
}

.v3-usp-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.v3-usp-item {
  background: var(--v3-white);
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius);
  padding: 30px 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}

.v3-usp-item:hover {
  border-color: #FFB300;
  box-shadow: 0 10px 25px rgba(51, 56, 160, 0.05);
  transform: translateY(-3px);
}

.v3-usp-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--v3-bg);
  border-radius: var(--v3-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFB300;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.v3-usp-item:hover .v3-usp-icon {
  background: #FFB300;
  color: #fff;
}

.v3-usp-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.v3-usp-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--v3-primary);
}

.v3-usp-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--v3-muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .v3-usp-wrapper {
    flex-direction: column;
  }

  .v3-usp-intro {
    text-align: center;
    flex: none;
    margin-bottom: 40px;
  }

  .v3-usp-intro h2 span {
    display: inline;
  }
}

@media (max-width: 768px) {
  .v3-usp-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   MACHINE HOOP COLLECTION
   ========================================== */
.v3-machine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
  padding: 0 15px;
  /* Ch?a biên cho ngàm gá máy */
}

.v3-machine-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.v3-machine-hoop {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  border-radius: 36px;
  position: relative;
  background-color: #fff;
  border: 12px solid #a4a5c34a;
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    0 10px 20px rgba(26, 35, 126, 0.15),
    inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  transition: all 0.5s var(--v3-ease);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
  background-origin: border-box;
}

.v3-machine-hoop::before,
.v3-machine-hoop::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 45px;
  background: linear-gradient(to right, #B0BEC5, #ECEFF1, #90A4AE);
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.5);
  z-index: 10;
  transition: all 0.3s ease;
}

.v3-machine-hoop::before {
  left: -18px;
}

.v3-machine-hoop::after {
  right: -18px;
}

.v3-hoop-inner-stitch {
  position: absolute;
  inset: 8px;
  border-radius: 28px;
  border: 2px dashed #e5e5e5;
  opacity: 0.6;
  z-index: 2;
  pointer-events: none;
  transition: all 0.4s ease;
}

.v3-hoop-inner-stitch::before,
.v3-hoop-inner-stitch::after {
  content: '';
  position: absolute;
  background-color: rgba(255, 179, 0, 0.3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 5;
}

.v3-hoop-inner-stitch::before {
  width: 20px;
  height: 1px;
}

.v3-hoop-inner-stitch::after {
  height: 20px;
  width: 1px;
}

.v3-hoop-image {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  z-index: 1;
}

.v3-hoop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.v3-machine-card:hover .v3-machine-hoop {
  transform: translateY(-8px);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    0 15px 30px rgba(26, 35, 126, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  border-color: #B0BEC5;
}

.v3-machine-card:hover .v3-hoop-inner-stitch {
  opacity: 1;
  inset: 6px;
  border-color: var(--v3-accent);
}

.v3-machine-card:hover .v3-hoop-inner-stitch::before,
.v3-machine-card:hover .v3-hoop-inner-stitch::after {
  opacity: 1;
}

.v3-machine-card:hover .v3-hoop-image img {
  transform: scale(1.08);
}

.v3-machine-card:hover .v3-machine-hoop::before {
  left: -20px;
}

.v3-machine-card:hover .v3-machine-hoop::after {
  right: -20px;
}

.v3-machine-title {
  margin-top: -5px;
  font-size: 1rem;
  font-weight: 700;
  color: #0038a0;
  position: relative;
  padding: 8px 9px;
  background: #d4d4dd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  /* border-left: 3px solid var(--v3-accent); */
  transition: all 0.3s ease;
}

.v3-machine-card:hover .v3-machine-title {
  background-color: var(--v3-primary);
  color: #fff;
  border-left-color: #fff;
}

.v3-machine-count {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--v3-muted);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .v3-machine-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .v3-machine-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 25px;
  }
}

@media (max-width: 480px) {
  .v3-machine-grid {
    grid-template-columns: 1fr;
    gap: 40px 0;
    padding: 0 25px;
  }
}