/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome (Vien Dong Equipment JSC)
Author: UX-Themes
Template: flatsome
Version: 3.1
*/

/* ==========================================================================
   FLATSOME INDUSTRIAL STYLING - VIEN DONG EQUIPMENT JSC
   ========================================================================== */

:root {
  --flex-red: #E2001A;
  --flex-red-hover: #B80015;
  --flex-dark: #111111;
  --flex-gray-bg: #F4F5F7;
  --flex-border: #E5E7EB;
  --flex-footer: #282625;
  --flex-font: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

/* Nút bấm phong cách công nghiệp cơ khí */
.button.primary, 
.button.checkout,
input[type='submit'] {
  background-color: var(--flex-red) !important;
  border-color: var(--flex-red) !important;
  color: #ffffff !important;
  border-radius: 2px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px;
  box-shadow: none !important;
  transition: all 0.25s ease-in-out;
}

.button.primary:hover,
input[type='submit']:hover {
  background-color: var(--flex-red-hover) !important;
  border-color: var(--flex-red-hover) !important;
}

.button.outline.primary {
  border: 2px solid var(--flex-red) !important;
  color: var(--flex-red) !important;
  background: transparent !important;
}

.button.outline.primary:hover {
  background-color: var(--flex-red) !important;
  color: #ffffff !important;
}

/* Thẻ khối dịch vụ Proformance */
.flex-service-card {
  background: #ffffff;
  padding: 35px 30px;
  border-left: 5px solid var(--flex-red);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Card sản phẩm WooCommerce */
.product-small.box {
  border: 1px solid var(--flex-border);
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.product-small.box:hover {
  border-color: var(--flex-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.product-small .box-text {
  padding: 16px;
}

.product-small .title-wrapper {
  min-height: 44px;
}

/* Giá bán & Badge nổi bật */
.price {
  color: var(--flex-red) !important;
  font-weight: 700;
  font-size: 1.05rem;
}

.badge-container .badge-inner {
  background-color: var(--flex-red) !important;
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 0px !important;
  text-transform: uppercase;
  padding: 4px 8px;
}

/* Top bar ngăn nắp kỹ thuật */
#top-bar {
  border-bottom: 1px solid #222222;
}

.footer-legal-viendong h4 {
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-legal-viendong p {
  color: #aaaaaa;
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.footer-legal-viendong strong {
  color: #ffffff;
}

/* ==========================================================================
   FEG / FLEX-STYLE LAYOUT
   ========================================================================== */

body,
h1, h2, h3, h4, h5, h6,
.nav > li > a,
.button, button, input, select, textarea {
  font-family: var(--flex-font);
}

body { color: #1d1d1b; }

/* ---------- Header ---------- */
.header-main { border-bottom: 1px solid #ececec; }
.stuck .header-main { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); }
.header-main .nav > li > a {
  font-size: 17px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #111;
  position: relative;
}
.header-main .header-nav-main > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--flex-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.header-main .header-nav-main > li:hover > a::after,
.header-main .header-nav-main > li.active > a::after,
.header-main .header-nav-main > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.header-main .header-nav-main > li > a:hover,
.header-main .header-nav-main > li.active > a { color: #111; }
#logo { margin-right: 36px; }
#logo img { padding: 6px 0; }
.nav-dropdown {
  border: 0 !important;
  border-top: 3px solid var(--flex-red) !important;
  border-radius: 0 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: 14px 0;
  min-width: 260px;
}
.nav-dropdown > li > a {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  padding: 10px 24px !important;
  text-transform: none;
  border-bottom: 0 !important;
}
.nav-dropdown > li > a:hover { color: var(--flex-red); background: #f6f6f6; }
.header-main .header-nav .icon-search,
.header-main .header-nav .icon-user,
.header-main .header-nav .icon-shopping-basket,
.header-main .header-nav .icon-shopping-bag,
.header-main .header-nav .icon-shopping-cart { font-size: 1.25em; }

/* ---------- Shared ---------- */
.vd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1.2;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.vd-btn--light { background: #fff; color: #111 !important; }
.vd-btn--light:hover { background: #111; color: #fff !important; }
.vd-btn--red { background: var(--flex-red); color: #fff !important; }
.vd-btn--red:hover { background: var(--flex-red-hover); }
.vd-btn--ghost { border-color: #fff; color: #fff !important; }
.vd-btn--ghost:hover { background: #fff; color: #111 !important; }

.vd-kicker {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.85;
}
.vd-section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.vd-section-sub { color: #6b6b6b; font-size: 17px; margin: 0; }
.vd-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.6px;
  color: var(--flex-red) !important;
}
.vd-link-arrow::after { content: "→"; transition: transform 0.2s; }
.vd-link-arrow:hover::after,
.vd-card:hover .vd-link-arrow::after { transform: translateX(4px); }

/* Remove default page padding on the homepage (page-blank template) */
.home #content > .page-wrapper,
.home .page-wrapper { padding-top: 0; padding-bottom: 0; }

/* ---------- Video hero (FLEX-style framed video) ---------- */
.vd-hero {
  position: relative;
  background: linear-gradient(180deg, #fff 0, #fff 62%, var(--flex-red) 62%, var(--flex-red) 100%);
}
.vd-hero__frame {
  position: relative;
  margin-left: clamp(24px, 4.7vw, 64px);
  height: clamp(440px, 40vw, 620px);
  overflow: hidden;
  background: #0c0d0f;
  color: #fff;
}
/* The film carries the FEG logo in its centre: anchor it right and fade its left edge
   into the frame so the headline gets clean space (FLEX keeps its text bottom-left). */
.vd-hero__video {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24%);
}
.vd-hero__stars {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  aspect-ratio: 170 / 548;
  z-index: 1;
  pointer-events: none;
}
.vd-hero__stars use,
.vd-contact__stars use { fill: none; stroke: #fff; stroke-width: 2.4; }
.vd-hero__stars use.is-filled { fill: var(--flex-red); stroke: var(--flex-red); }
.vd-hero__content {
  position: absolute;
  left: clamp(32px, 7vw, 100px);
  bottom: clamp(36px, 5.5vw, 76px);
  z-index: 2;
  display: block;
  max-width: 48%;
  margin: 0;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
}
.vd-hero__kicker {
  display: block;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}
.vd-hero__title {
  display: block;
  font-size: clamp(40px, 4.4vw, 76px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -1.5px;
}
.vd-hero__toggle {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.vd-hero__toggle:hover,
.vd-hero__toggle:focus-visible { opacity: 1; }
.vd-hero__toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}
.vd-hero.is-paused .vd-hero__toggle span {
  width: 0;
  height: 0;
  border-right: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
  margin-left: 2px;
}

/* ---------- Application tiles: red top half, white bottom half ---------- */
.vd-tiles {
  background: linear-gradient(180deg, var(--flex-red) 0, var(--flex-red) 60%, #fff 60%, #fff 100%);
  padding: 64px 0 72px;
}
.vd-tiles__title {
  color: #fff;
  text-align: center;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  text-transform: none;
  line-height: 1.15;
  max-width: 1040px;
  margin: 0 auto 48px;
  text-wrap: balance;
}
.vd-tiles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.vd-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-height: 210px;
  padding: 32px 14px 30px;
  background: #fff;
  color: #111 !important;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s, box-shadow 0.25s, color 0.25s;
}
.vd-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16); color: var(--flex-red) !important; }
.vd-tile__icon { color: var(--flex-red); }
.vd-tile__icon svg { display: block; width: 128px; height: 104px; }
.vd-tile__label { font-size: 18px; font-weight: 700; line-height: 1.2; }

/* ---------- Intro ---------- */
.vd-intro { padding: 96px 0; text-align: center; background: #fff; }
.vd-intro__title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  text-transform: none;
  margin-bottom: 22px;
}
.vd-intro__text { max-width: 860px; margin: 0 auto; font-size: 19px; line-height: 1.7; color: #333; }

/* ---------- Teaser (image + text) ---------- */
.vd-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.vd-teaser--red { background: var(--flex-red); color: #fff; }
.vd-teaser--dark { background: #000; color: #fff; }
.vd-teaser--light { background: var(--flex-gray-bg); color: #111; }
.vd-teaser--reverse .vd-teaser__media { order: 2; }
.vd-teaser__media { position: relative; overflow: hidden; background: #1a1a1a; }
.vd-teaser__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.vd-teaser:hover .vd-teaser__media img { transform: scale(1.03); }
.vd-teaser__media--product { background: radial-gradient(circle at 50% 45%, #ffffff 0%, #ececec 70%); }
.vd-teaser__media--product img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.vd-teaser__body { display: flex; align-items: center; padding: 64px clamp(24px, 6vw, 96px); }
.vd-teaser__inner { max-width: 540px; }
.vd-teaser__title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
  color: inherit;
  margin-bottom: 20px;
}
.vd-teaser__text { font-size: 18px; line-height: 1.65; margin-bottom: 28px; }
.vd-teaser--red .vd-teaser__text,
.vd-teaser--dark .vd-teaser__text { color: rgba(255, 255, 255, 0.88); }
.vd-teaser--red .vd-teaser__title,
.vd-teaser--dark .vd-teaser__title { color: #fff; }

/* ---------- Product slider (FLEX "Our new products") ---------- */
.vd-products { padding: 96px 0 104px; background: #fff; overflow: hidden; }
.vd-products__wrap {
  display: grid;
  grid-template-columns: 1fr min(1050px, calc(100% - 30px)) 1fr;
}
.vd-products__inner {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.vd-products__title {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: none;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}
.vd-products__text { font-size: 17px; color: #222; margin: 0 0 40px; }
.vd-products__nav { display: flex; gap: 16px; margin-bottom: 32px; }
.vd-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--flex-red);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.vd-arrow:hover { background: var(--flex-red-hover); }
.vd-arrow[disabled] { opacity: 0.35; cursor: default; }
.vd-arrow svg { width: 22px; height: 22px; }
.vd-products__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 320px;
  gap: 48px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 48px 4px 0;
}
.vd-products__track::-webkit-scrollbar { display: none; }
.vd-pcard { display: flex; flex-direction: column; scroll-snap-align: start; color: #111 !important; }
.vd-pcard__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.94;
  padding: 28px;
  overflow: hidden;
  background: #f6f1ea;
}
.vd-pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.4s ease;
}
.vd-pcard:hover .vd-pcard__media img { transform: scale(1.05); }
.vd-pcard__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 5px 10px;
  background: var(--flex-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}
.vd-pcard__model { margin-top: 22px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.vd-pcard:hover .vd-pcard__model { color: var(--flex-red); }
.vd-pcard__desc { margin-top: 8px; font-size: 16px; line-height: 1.5; color: #333; }
.vd-pcard__price { margin-top: 10px; font-size: 16px; font-weight: 700; color: var(--flex-red); }
.vd-pcard__price .amount, .vd-pcard__price ins { color: var(--flex-red); text-decoration: none; }
.vd-pcard__price del, .vd-pcard__price del .amount { color: #999; font-weight: 400; }

/* Flatsome greys out headings by default; keep the FLEX black. */
.vd-products__title,
.vd-intro__title,
.vd-section-title { color: #111; }

/* ---------- Service cards ---------- */
.vd-services { padding: 88px 0 96px; background: #fff; }
.vd-services .vd-section-title { margin-bottom: 36px; }
.vd-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vd-card { display: flex; flex-direction: column; color: #111 !important; background: #fff; }
.vd-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
}
.vd-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.vd-card:hover .vd-card__media img { transform: scale(1.05); }
.vd-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 0 0; }
/* Full-width section (same 64px inset as the hero) with the links aligned on one line. */
.vd-services .container { max-width: none; padding-left: clamp(16px, 4.7vw, 64px); padding-right: clamp(16px, 4.7vw, 64px); }
.vd-services__grid { gap: clamp(20px, 2.4vw, 40px); }
.vd-card { height: 100%; }
.vd-card__body .vd-link-arrow { margin-top: auto; padding-top: 8px; }
.vd-card__title { font-size: 24px; font-weight: 700; line-height: 1.2; }
.vd-card__text { color: #555; font-size: 16px; line-height: 1.6; }

/* ---------- Brands ---------- */
.vd-brands { background: #fff; padding: 72px 0 88px; }
.vd-brands__title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 24px;
}
.vd-brands__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vd-brands__list li { margin: 0; }
.vd-brands__list a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 16px 20px;
  overflow: hidden;
  border: 1px solid #ececec;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vd-brands__list a:hover { border-color: var(--flex-red); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.vd-brands__list img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s;
}
.vd-brands__list span { font-size: 26px; font-weight: 800; letter-spacing: 1px; color: #b5b5b5; transition: color 0.2s; }
.vd-brands__list a:hover span { color: var(--flex-red); }

/* ---------- Footer ---------- */
#footer.footer-wrapper { background: var(--flex-footer); }
.vd-footer { color: #fff; font-size: 15px; }
.vd-footer a { color: inherit; }
/* Contact box (FLEX style): red panel straddling the white page and the dark footer */
.vd-contact {
  position: relative;
  padding-top: 24px;
  background: linear-gradient(180deg, #fff 0, #fff 52%, var(--flex-footer) 52%, var(--flex-footer) 100%);
}
.vd-contact__stars {
  position: absolute;
  left: 0;
  bottom: -60px;
  width: 250px;
  height: auto;
  opacity: 0.14;
  pointer-events: none;
}
.vd-contact__box {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 52px);
  background: var(--flex-red);
  color: #fff;
}
.vd-contact__kicker { font-size: 15px; font-weight: 600; margin: 0 0 6px; color: #fff; }
.vd-contact__title {
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  text-transform: none;
  color: #fff;
  margin: 0 0 40px;
}
.vd-contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.vd-contact__phone { display: inline-flex; align-items: center; min-height: 52px; }
.vd-contact__head { font-size: 20px; font-weight: 700; margin: 0 0 18px; color: #fff; }
.vd-contact__phone { font-size: 28px; font-weight: 700; line-height: 1.2; color: #fff !important; }
.vd-contact__search { display: flex; margin: 0; background: rgba(255, 255, 255, 0.12); border-bottom: 2px solid #fff; }
.vd-contact__search input {
  flex: 1;
  height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: 16px;
}
.vd-contact__search input::placeholder { color: rgba(255, 255, 255, 0.85); }
.vd-contact__search input:focus { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.vd-contact__search button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.vd-contact__search button svg { width: 22px; height: 22px; }
.vd-footer__main { padding: 64px 0 48px; }
.vd-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr 1.4fr;
  gap: 40px;
}
.vd-footer__logo { width: 180px; height: auto; margin-bottom: 14px; }
.vd-footer__claim { font-size: 26px; font-weight: 700; line-height: 1.15; margin: 0 0 12px; }
.vd-footer__about { color: #bdbab7; line-height: 1.6; }
.vd-footer__social { display: flex; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.vd-footer__social li { margin: 0; }
.vd-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}
.vd-footer__social a:hover { background: var(--flex-red); }
.vd-footer__social svg { width: 20px; height: 20px; fill: #fff; }
.vd-footer__head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8f8b88;
  margin-bottom: 16px;
}
.vd-footer__col ul { list-style: none; margin: 0; padding: 0; }
.vd-footer__col li { margin: 0 0 10px; }
.vd-footer__col a { font-size: 16px; font-weight: 500; }
.vd-footer__col a:hover { color: var(--flex-red); }
.vd-footer__legal p { color: #bdbab7; font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
.vd-footer__legal strong { color: #fff; }
.vd-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; }
.vd-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.vd-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.vd-footer__links li { margin: 0; }
.vd-footer__links a, .vd-footer__copy { font-size: 13px; color: #8f8b88; margin: 0; }
.vd-footer__links a:hover { color: #fff; }

/* ---------- About page ---------- */
.vd-kicker.vd-kicker--red { color: var(--flex-red); opacity: 1; }
.vd-hero--page .vd-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.vd-hero--page.has-image .vd-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.08) 85%);
  pointer-events: none;
}
.vd-hero--page .vd-hero__stars { z-index: 1; }
.vd-hero--page .vd-hero__content { max-width: 60%; }
.vd-hero__text {
  display: block;
  max-width: 540px;
  margin-top: 18px;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  opacity: 0.92;
}

.vd-stats { background: var(--flex-red); color: #fff; padding: 40px 0 56px; }
.vd-stats__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vd-stats__list li { margin: 0; padding-left: 20px; border-left: 2px solid rgba(255, 255, 255, 0.35); }
.vd-stats__num { display: block; font-size: clamp(40px, 4.4vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -1px; }
.vd-stats__label { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; opacity: 0.92; }

.vd-story { padding: 96px 0; background: #fff; }
.vd-story__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.vd-story__title { font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; line-height: 1.1; text-transform: none; color: #111; margin: 0 0 22px; }
.vd-story__text p { font-size: 18px; line-height: 1.7; color: #333; }
.vd-story__sub { font-size: 20px; font-weight: 700; text-transform: none; color: #111; margin: 32px 0 14px; }
.vd-story__list { margin: 0; padding: 0; list-style: none; counter-reset: vd-li; }
.vd-story__list li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 48px;
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  counter-increment: vd-li;
}
.vd-story__list li::before {
  content: counter(vd-li, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--flex-red);
}
.vd-factsheet { padding: 36px 32px; background: #111; color: #fff; border-top: 5px solid var(--flex-red); }
.vd-factsheet h3 { color: #fff; font-size: 20px; font-weight: 700; text-transform: none; margin: 0 0 12px; }
.vd-factsheet dl { display: grid; grid-template-columns: auto 1fr; margin: 0; }
.vd-factsheet dt,
.vd-factsheet dd { margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 15px; line-height: 1.45; }
.vd-factsheet dt { padding-right: 16px; color: #a8a29e; font-weight: 500; text-transform: none; letter-spacing: 0; }
.vd-factsheet dd { text-align: right; font-weight: 600; }
.vd-factsheet .is-red { color: #ff4d5e; }
.vd-factsheet a { color: #fff; }

.vd-timeline { padding: 96px 0 40px; background: #0f0f10; color: #fff; }
.vd-timeline__head { max-width: 720px; margin-bottom: 40px; }
.vd-timeline__title { color: #fff; font-size: clamp(32px, 3.6vw, 52px); font-weight: 700; line-height: 1.05; text-transform: none; margin: 0 0 14px; }
.vd-timeline__text { color: #bdbab7; font-size: 18px; line-height: 1.6; margin: 0; }
.vd-timeline__nav {
  position: sticky;
  top: 70px;
  z-index: 5;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 0 64px;
  background: rgba(15, 15, 16, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.vd-timeline__nav::-webkit-scrollbar { display: none; }
.admin-bar .vd-timeline__nav { top: 102px; }
.vd-timeline__year {
  flex: 1 0 auto;
  margin-bottom: -1px;
  padding: 16px 20px;
  border-bottom: 3px solid transparent;
  color: #8f8b88 !important;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  transition: color 0.2s, border-color 0.2s;
}
.vd-timeline__year:hover { color: #fff !important; }
.vd-timeline__year.is-active { color: #fff !important; border-bottom-color: var(--flex-red); }
.vd-timeline__list { position: relative; margin: 0; padding: 0; list-style: none; }
.vd-timeline__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.vd-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  margin: 0 0 96px;
  scroll-margin-top: 150px;
}
.vd-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  background: var(--flex-red);
  box-shadow: 0 0 0 6px rgba(226, 0, 26, 0.25);
  transform: rotate(45deg);
}
.vd-stage:nth-child(even) .vd-stage__text { order: 2; }
.vd-stage__year {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(72px, 9vw, 140px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -3px;
  color: transparent;
  -webkit-text-stroke: 2px var(--flex-red);
}
.vd-stage__title { color: #fff; font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.15; text-transform: none; margin: 0 0 16px; }
.vd-stage__body p { color: #cfcac6; font-size: 17px; line-height: 1.7; }
.vd-slider { position: relative; }
.vd-slider__track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.vd-slider__track::-webkit-scrollbar { display: none; }
.vd-slider__slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #1b1b1c;
  scroll-snap-align: start;
}
/* Blurred copy of the photo fills the frame so portrait and landscape shots sit nicely together. */
.vd-slider__slide::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: var(--vd-bg) center / cover no-repeat;
  filter: blur(24px) brightness(0.5);
}
.vd-slider__slide a { position: relative; z-index: 1; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.vd-slider__slide img { width: 100%; height: 100%; object-fit: contain; }
.vd-slider__slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 44px 20px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  pointer-events: none;
}
.vd-slider__controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.vd-slider__count { margin-right: auto; color: #8f8b88; font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.vd-slider__count b { color: #fff; font-size: 22px; }

.vd-docs { padding: 96px 0; background: var(--flex-gray-bg); }
.vd-docs__head { max-width: 720px; margin-bottom: 40px; }
.vd-docs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.vd-doc { display: flex; flex-direction: column; color: #111 !important; }
.vd-doc__paper {
  display: block;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  padding: 24px 24px 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.vd-doc__paper img { display: block; width: 100%; height: auto; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14); }
.vd-doc:hover .vd-doc__paper { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14); }
.vd-doc__title { margin-top: 20px; font-size: 20px; font-weight: 700; line-height: 1.25; }
.vd-doc__sub { margin-top: 6px; color: #555; font-size: 15px; line-height: 1.5; }
.vd-doc .vd-link-arrow { margin-top: auto; padding-top: 14px; }

/* ---------- Shop: archive header ---------- */
.vd-shophead { background: linear-gradient(180deg, #fff 0, #fff 72%, var(--flex-red) 72%, var(--flex-red) 100%); }
.vd-shophead__frame {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 280px;
  margin-left: clamp(0px, 4.7vw, 64px);
  overflow: hidden;
  background: #0c0d0f;
  color: #fff;
}
.vd-shophead__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%);
}
.vd-shophead__inner { position: relative; z-index: 2; width: 100%; padding-top: 56px; padding-bottom: 40px; }
.vd-shophead__kicker { margin: 0 0 8px; color: #ff4d5e; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.vd-shophead__title {
  max-width: 60%;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  text-transform: none;
}
.vd-shophead__desc { max-width: 560px; margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 16px; line-height: 1.55; }
.vd-shophead__count {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 10px;
  background: var(--flex-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.shop-page-title { margin-top: 8px; }
.vd-shophead__frame { min-height: 320px; }
.vd-shophead__video {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}
.vd-shophead .vd-hero__toggle { left: auto; right: 16px; }
.vd-shophead.is-paused .vd-hero__toggle span {
  width: 0;
  height: 0;
  border-right: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
  margin-left: 2px;
}
.vd-hero--page.has-video .vd-hero__content { max-width: 40%; }
.vd-hero--page.has-video .vd-hero__title { font-size: clamp(36px, 3.7vw, 64px); }
.vd-hero--page.has-video .vd-hero__text { max-width: 400px; font-size: clamp(15px, 1.15vw, 18px); }
/* The archive header already shows the category description. */
.tax-product_cat .term-description,
.tax-product_tag .term-description { display: none; }

/* ---------- Shop: sidebar widgets ---------- */
.vd-w { margin-bottom: 40px; }
.vd-w .widget-title {
  display: block;
  margin: 0;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.vd-w .is-divider { max-width: 32px; height: 3px; margin: 10px 0 16px; background: var(--flex-red); }
.vd-w-search { display: flex; margin: 0; border: 2px solid #111; }
.vd-w-search input[type="search"] {
  flex: 1;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  box-shadow: none;
  font-size: 15px;
}
.vd-w-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--flex-red);
  color: #fff;
  cursor: pointer;
}
.vd-w-search button:hover { background: var(--flex-red-hover); }
.vd-w-search button svg { width: 20px; height: 20px; }
.vd-w-list { margin: 0; padding: 0; list-style: none; }
.vd-w-list li { margin: 0; border-bottom: 1px solid #eee; }
.vd-w-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 8px 11px 12px;
  border-left: 3px solid transparent;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.vd-w .vd-w-list li > a { display: flex; width: 100%; }
.vd-w .vd-w-list--chips li > a { display: flex; width: 100%; }
.vd-w-list a:hover { color: var(--flex-red); border-left-color: rgba(226, 0, 26, 0.35); }
.vd-w-list a.is-active { color: var(--flex-red); font-weight: 700; border-left-color: var(--flex-red); background: #fff4f4; }
.vd-w-count {
  flex: 0 0 auto;
  min-width: 28px;
  padding: 2px 7px;
  background: #f2f2f2;
  color: #666;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.vd-w-list--chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vd-w-list--chips li { border: 0; }
.vd-w-list--chips a {
  gap: 8px;
  padding: 8px 10px 8px 12px;
  border: 1px solid #ddd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.vd-w-list--chips a:hover { border-color: var(--flex-red); }
.vd-w-list--chips a.is-active { background: var(--flex-red); border-color: var(--flex-red); color: #fff; }
.vd-w-list--chips a.is-active .vd-w-count { background: rgba(255, 255, 255, 0.22); color: #fff; }
.vd-w-clear { display: inline-block; margin-top: 12px; color: var(--flex-red) !important; font-size: 13px; font-weight: 700; }
.vd-w-prods,
.vd-w-posts { margin: 0; padding: 0; list-style: none; }
.vd-w-prods li,
.vd-w-posts li { margin: 0; border-bottom: 1px solid #eee; }
.vd-w-prod,
.vd-w-post { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 10px 0; color: #111 !important; }
.vd-w-post { grid-template-columns: 64px 1fr; }
.vd-w .vd-w-prods li > a.vd-w-prod,
.vd-w .vd-w-posts li > a.vd-w-post { display: grid; width: 100%; }
.vd-w-prod__img { display: block; width: 72px; height: 72px; padding: 6px; background: #f6f1ea; }
.vd-w-prod__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.vd-w-prod__body,
.vd-w-post__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vd-w-prod__model { font-size: 14px; font-weight: 700; line-height: 1.3; }
.vd-w-prod:hover .vd-w-prod__model,
.vd-w-post:hover .vd-w-post__title { color: var(--flex-red); }
.vd-w-prod__desc {
  display: -webkit-box;
  overflow: hidden;
  color: #666;
  font-size: 12.5px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.vd-w-prod__price { color: var(--flex-red); font-size: 13px; font-weight: 700; }
.vd-w-prod__price .amount { font-size: 13px; }
.vd-w-post__img img { display: block; width: 64px; height: 64px; object-fit: cover; }
.vd-w-post__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--flex-red);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.vd-w-post__date b { font-size: 22px; line-height: 1; }
.vd-w-post__title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.vd-w-post__meta { color: #888; font-size: 12px; }

/* ---------- Shop: product cards, marketplace (Shopee-like) grid (shop, related, up-sells) ---------- */
.products.row { margin-left: -6px; margin-right: -6px; }
:is(.products, .related, .up-sells) .product-small.col { padding: 0 6px 12px; }
:is(.products, .related, .up-sells) .product-small.col > .col-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #ececec;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
:is(.products, .related, .up-sells) .product-small.col > .col-inner:hover {
  z-index: 1;
  border-color: var(--flex-red);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
:is(.products, .related, .up-sells) .product-small.box {
  display: flex;
  flex: 1;
  flex-direction: column;
  border: 0;
  background: transparent;
}
:is(.products, .related, .up-sells) .product-small.box:hover { transform: none; box-shadow: none; }
:is(.products, .related, .up-sells) .product-small .box-image { background: #fff; }
:is(.products, .related, .up-sells) .product-small .box-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 10px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.4s ease;
}
:is(.products, .related, .up-sells) .product-small:hover .box-image img { transform: scale(1.04); }
:is(.products, .related, .up-sells) .product-small .quick-view,
:is(.products, .related, .up-sells) .product-small .image-tools.bottom { display: none !important; }
:is(.products, .related, .up-sells) .product-small .box-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 10px 10px 12px !important;
  text-align: left;
}
:is(.products, .related, .up-sells) .product-small .title-wrapper { flex: 1; min-height: 0; }
:is(.products, .related, .up-sells) .product-small .category { display: none; }
.vd-card-brand {
  margin: 0 0 4px;
  color: #999;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
:is(.products, .related, .up-sells) .product-small .name,
:is(.products, .related, .up-sells) .product-small .woocommerce-loop-product__title {
  display: -webkit-box;
  height: 2.8em;
  margin: 0 0 8px;
  overflow: hidden;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
:is(.products, .related, .up-sells) .product-small .name a { color: #222; }
:is(.products, .related, .up-sells) .product-small:hover .name a { color: var(--flex-red); }
:is(.products, .related, .up-sells) .product-small .price-wrapper { margin-top: auto; }
:is(.products, .related, .up-sells) .product-small .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 16px; line-height: 1.3; }
:is(.products, .related, .up-sells) .product-small .price ins { order: -1; text-decoration: none; }
:is(.products, .related, .up-sells) .product-small .price .amount { color: var(--flex-red); font-weight: 700; }
:is(.products, .related, .up-sells) .product-small .price del,
:is(.products, .related, .up-sells) .product-small .price del .amount { color: #aaa; font-size: 12px; font-weight: 400; }
:is(.products, .related, .up-sells) .badge-container { margin: 8px 0 0 8px; }
:is(.products, .related, .up-sells) .badge-container .badge { height: auto; width: auto; }
:is(.products, .related, .up-sells) .badge-container .badge-inner {
  height: auto;
  padding: 3px 7px;
  border-radius: 0 !important;
  background: var(--flex-red) !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

/* Related / up-sell sliders: equal-height cards like the shop grid. */
:is(.related, .up-sells) .flickity-slider > .product-small.col { height: 100%; padding: 0 6px 12px; }
:is(.related, .up-sells) .row-slider .flickity-viewport { padding-bottom: 4px; }

/* ---------- Product page ---------- */
.vd-brand-chip {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: #111;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.vd-brand-chip:hover { background: var(--flex-red); }
.single-product .product-info .product-title {
  color: #111;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
  text-transform: none;
}
.single-product .product-info .is-divider { max-width: 48px; height: 3px; background: var(--flex-red); }
.single-product .product-info .price { font-size: 30px; }
.single-product .product-info .price .amount,
.single-product .product-info .price ins { color: var(--flex-red); text-decoration: none; }
.single-product .product-info .price del .amount { color: #999; font-size: 0.7em; }
.single-product .product-gallery .woocommerce-product-gallery__image,
.single-product .product-gallery .slide { background: #f6f1ea; }
.single-product .product-gallery img { mix-blend-mode: multiply; }
.single-product .product-thumbnails .col a { background: #f6f1ea; }
.single-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.single-product form.cart .quantity { margin: 0; }
.single-product form.cart .quantity input,
.single-product form.cart .quantity .button { height: 52px; min-height: 52px; }
.single-product .single_add_to_cart_button {
  min-height: 52px;
  margin: 0;
  padding: 0 20px;
  border-color: var(--flex-red) !important;
  border-radius: 0 !important;
  background-color: var(--flex-red) !important;
  font-size: 15px;
  line-height: 1.2;
  flex: 1 1 auto;
}
.single-product .single_add_to_cart_button:hover { background-color: var(--flex-red-hover) !important; border-color: var(--flex-red-hover) !important; }
.vd-usps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  grid-auto-rows: 1fr;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
}
/* Flatsome indents list items (margin-left: 1.3em); reset so the cells line up. */
.single-product .product-info .vd-usps li,
.vd-usps li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  padding: 14px 16px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  color: #555;
  font-size: 13.5px;
  line-height: 1.4;
  list-style: none;
}
.vd-usps svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--flex-red); }
.vd-usps b { display: block; margin-bottom: 2px; color: #111; font-size: 14.5px; }
.vd-usps a { color: var(--flex-red); font-weight: 600; }
.vd-product-meta { margin-top: 20px; border: 1px solid #e5e5e5; background: #fff; }
.vd-product-meta { display: flex; flex-direction: column; }
.vd-product-meta .product_meta { flex: 1; }
.vd-product-meta .product_meta > span { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }

/* Hotline block (fills the space above the service promises). */
.vd-hotline {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin: 0 0 20px;
  padding: 18px 20px;
  overflow: hidden;
  border-left: 5px solid var(--flex-red);
  background: #111;
  color: #fff;
}
.vd-hotline::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border: 18px solid rgba(226, 0, 26, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.vd-hotline__icon {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: 50%;
  background: var(--flex-red);
  color: #fff;
  animation: vd-ring 1.8s infinite;
}
.vd-hotline__icon svg { width: 26px; height: 26px; }
@keyframes vd-ring {
  0% { box-shadow: 0 0 0 0 rgba(226, 0, 26, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(226, 0, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 0, 26, 0); }
}
.vd-hotline__body { position: relative; z-index: 1; display: flex; flex: 1 1 200px; flex-direction: column; }
.vd-hotline__label { color: #bdbab7; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.vd-hotline__phone { color: #fff !important; font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: 0.5px; }
.vd-hotline__phone:hover { color: #ff4d5e !important; }
.vd-hotline__note { color: #bdbab7; font-size: 13px; line-height: 1.4; }
.vd-hotline__btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 11px 18px;
  border: 2px solid #fff;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}
.vd-hotline__btn:hover { border-color: var(--flex-red); background: var(--flex-red); }
@media (prefers-reduced-motion: reduce) { .vd-hotline__icon { animation: none; } }
/* Two equal-height columns whose last blocks (meta card / service promises) sit on the same baseline. */
@media (min-width: 850px) {
  .single-product .product-main .product-gallery,
  .single-product .product-main .product-info { display: flex; flex-direction: column; padding-bottom: 0 !important; }
  .single-product .product-info > .vd-brand-chip { align-self: flex-start; }
  .single-product .product-gallery > .product-images { margin-bottom: 20px; }
  .single-product .product-gallery > .vd-product-meta { margin-top: auto; }
  .single-product .product-info > form.cart { margin-bottom: 20px; }
  .single-product .product-info > .vd-hotline { flex: 1 0 auto; }
  .single-product .product-info > .vd-usps { margin-top: auto; margin-bottom: 0; }
}
.vd-product-meta .product_meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 13.5px;
}
.vd-product-meta .product_meta > span {
  display: block;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid #e5e5e5;
  color: #777;
  line-height: 1.45;
}
.vd-product-meta .product_meta > span:last-child { border-right: 0; }
.vd-product-meta .product_meta .sku,
.vd-product-meta .product_meta a { color: #111; font-weight: 700; }
.vd-product-meta .product_meta a:hover { color: var(--flex-red); }
.vd-product-meta .social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border-top: 1px solid #e5e5e5;
}
.vd-product-meta .social-icons::before { content: "Chia sẻ:"; margin-right: 4px; color: #555; font-size: 14px; font-weight: 700; }
.vd-product-meta .social-icons .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--vd-share, #555) !important;
  color: #fff !important;
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.vd-product-meta .social-icons .icon i,
.vd-product-meta .social-icons .icon svg { color: #fff; fill: #fff; }
.vd-product-meta .social-icons .facebook { --vd-share: #1877f2; }
.vd-product-meta .social-icons .twitter { --vd-share: #111; }
.vd-product-meta .social-icons .email { --vd-share: #e2001a; }
.vd-product-meta .social-icons .pinterest { --vd-share: #e60023; }
.vd-product-meta .social-icons .linkedin { --vd-share: #0a66c2; }
.vd-product-meta .social-icons .whatsapp { --vd-share: #25d366; }
.vd-product-meta .social-icons .icon:hover,
.vd-product-meta .social-icons .icon:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22); filter: brightness(1.08); }
/* Product tabs: slanted (parallelogram) tabs on a red rule, same size as "Sản phẩm liên quan". */
.single-product .product-footer .woocommerce-tabs > .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  border-bottom: 3px solid var(--flex-red);
}
.single-product .product-footer .tabs > li { margin: 0 !important; padding: 0; }
.single-product .product-footer .tabs > li > a {
  display: block;
  padding: 14px 48px 12px 28px;
  background: #f1f1f1;
  color: #111;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
  transition: background 0.2s, color 0.2s;
}
.single-product .product-footer .tabs > li > a:hover { background: #111; color: #fff; }
.single-product .product-footer .tabs > li.active > a { background: var(--flex-red); color: #fff; }
.single-product .product-footer .tabs > li > a::before { display: none !important; }
.single-product .related .product-section-title,
.single-product .related > h3,
.single-product .up-sells .product-section-title {
  color: #111;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.3px;
  text-transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .vd-hero--page .vd-hero__img { position: relative; display: block; height: auto; aspect-ratio: 16 / 9; }
  .vd-hero--page .vd-hero__frame::after { display: none; }
  .vd-hero--page .vd-hero__content { max-width: 1080px; }
  /* Stack the hero: full 16:9 film on top (logo uncropped), headline on the red band below. */
  .vd-hero { background: var(--flex-red); }
  .vd-hero__frame { margin-left: 0; height: auto; overflow: visible; background: transparent; }
  .vd-hero__video {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    background: #0c0d0f;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .vd-hero__stars { display: none; }
  .vd-hero__content { position: static; max-width: none; padding: 32px 15px 0; max-width: 1080px; margin: 0 auto; }
  .vd-hero__toggle { left: auto; right: 12px; bottom: auto; top: calc(56.25vw - 50px); }
  .vd-tiles { padding-top: 36px; }
}
@media (max-width: 1023px) {
  .vd-shophead__frame { margin-left: 0; min-height: 220px; }
  .vd-shophead__video { width: 100%; height: 100%; opacity: 0.4; -webkit-mask-image: none; mask-image: none; }
  .vd-hero--page.has-video .vd-hero__content { max-width: 1080px; }
  .vd-shophead .vd-hero__stars { display: none; }
  .vd-shophead__title { max-width: none; }
  .vd-stats__list { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .vd-story__grid { grid-template-columns: 1fr; }
  .vd-timeline__list::before, .vd-stage::before { display: none; }
  .vd-stage { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
  .vd-stage:nth-child(even) .vd-stage__text { order: 0; }
  .vd-timeline__nav { top: 60px; }
  .vd-docs__grid { grid-template-columns: repeat(2, 1fr); }
  .vd-teaser { grid-template-columns: 1fr; min-height: 0; }
  .vd-teaser__media { min-height: 360px; }
  .vd-teaser--reverse .vd-teaser__media { order: 0; }
  .vd-tiles { background: linear-gradient(180deg, var(--flex-red) 0, var(--flex-red) 55%, #fff 55%, #fff 100%); }
  .vd-tiles__grid { grid-template-columns: repeat(2, 1fr); }
  .vd-products__inner { grid-template-columns: 1fr; gap: 28px; }
  .vd-products__intro { padding-right: 15px; }
  .vd-products__text { margin-bottom: 24px; }
  .vd-products__nav { margin-bottom: 20px; }
  .vd-services__grid { grid-template-columns: 1fr 1fr; }
  .vd-brands__list { grid-template-columns: repeat(3, 1fr); }
  .vd-contact__grid { grid-template-columns: 1fr 1fr; }
  .vd-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .vd-shophead__inner { padding-top: 40px; padding-bottom: 28px; }
  .vd-usps { grid-template-columns: 1fr; }
  .vd-hotline__btn { width: 100%; text-align: center; }
  .single-product .product-footer .tabs > li > a { padding: 11px 32px 9px 16px; font-size: 17px; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
  .vd-product-meta .product_meta > span { border-right: 0; border-bottom: 1px solid #e5e5e5; }
  .products .product-small .name { font-size: 13px; }
  .products .product-small .price { font-size: 14px; }
  .single-product .single_add_to_cart_button { flex: 1; }
  .vd-stats { padding: 32px 0 44px; }
  .vd-story, .vd-docs { padding: 60px 0; }
  .vd-factsheet { padding: 28px 20px; }
  .vd-factsheet dl { grid-template-columns: 1fr; }
  .vd-factsheet dt { padding-bottom: 2px; border-bottom: 0; }
  .vd-factsheet dd { padding-top: 0; text-align: left; }
  .vd-timeline { padding-top: 60px; }
  .vd-timeline__year { padding: 14px 16px; font-size: 16px; }
  .vd-stage__year { font-size: 72px; }
  .vd-docs__grid { grid-template-columns: 1fr; }
  .vd-hero__kicker { font-size: 20px; }
  .vd-hero__title { font-size: clamp(38px, 11vw, 56px); }
  .vd-hero__toggle { width: 36px; height: 36px; top: calc(56.25vw - 46px); }
  .vd-tiles { padding-bottom: 48px; }
  .vd-tiles__title { margin-bottom: 28px; }
  .vd-tile { min-height: 0; padding: 20px 8px 18px; gap: 12px; }
  .vd-tile__icon svg { width: 92px; height: 74px; }
  .vd-tile__label { font-size: 15px; }
  .vd-intro { padding: 64px 0; }
  .vd-intro__text { font-size: 17px; }
  .vd-teaser__media { min-height: 260px; }
  .vd-teaser__body { padding: 44px 16px 52px; }
  .vd-products, .vd-services { padding: 60px 0; }
  .vd-products__track { grid-auto-columns: 74vw; gap: 20px; padding-right: 16px; }
  .vd-pcard__model { font-size: 19px; }
  .vd-services__grid { grid-template-columns: 1fr; }
  .vd-brands { padding: 56px 0 64px; }
  .vd-brands__list { grid-template-columns: repeat(2, 1fr); }
  .vd-contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .vd-contact__title { margin-bottom: 28px; }
  .vd-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .vd-teaser__media img, .vd-card__media img, .vd-pcard__media img, .vd-tile { transition: none; }
}
