/* Hero slider */
.home-section {
  padding: 0 !important;
}

/* Fixed-ratio slide box: aspect-ratio lives on the swiper itself so slides
   can't stretch to their content/image's native size. */
.home-section .swiper {
  width: 100%;
  aspect-ratio: 3 / 1;
}

.home-section .swiper-wrapper,
.home-section .swiper-slide {
  height: 100%;
}

.home-section .swiper-slide {
  background-color: #f5f5f5;
}

.home-section .swiper-slide > a {
  display: block;
  height: 100%;
}

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

@media (max-width: 1199px) {
  .home-section .swiper {
    aspect-ratio: 5 / 2;
  }
}

@media (max-width: 575px) {
  .home-section .swiper {
    aspect-ratio: 2 / 1;
  }
}

/* Swiper arrow overrides — navy/gold to match brand
   Swiper 12 renders the arrow as a real inline <svg fill="currentColor">
   child, not a ::after font icon — so color is set on the button itself. */
.home-section .swiper-button-next,
.home-section .swiper-button-prev {
  width: 44px;
  height: 44px;
  margin-top: -22px;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #14213d;
  box-shadow: 0 6px 20px rgba(20, 33, 61, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease, color 0.25s ease;
}

.home-section .swiper-button-next svg,
.home-section .swiper-button-prev svg {
  width: 13px;
  height: 22px;
}

.home-section .swiper-button-next:hover,
.home-section .swiper-button-prev:hover {
  background-color: #14213d;
  border-color: #14213d;
  color: #d4af37;
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.38);
  transform: scale(1.05);
}

.home-section .swiper-button-next:active,
.home-section .swiper-button-prev:active {
  transform: scale(0.96);
}

.home-section .swiper-button-prev {
  left: 24px;
}

.home-section .swiper-button-next {
  right: 24px;
}

@media (max-width: 1199px) {
  .home-section .swiper-button-next,
  .home-section .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }
  .home-section .swiper-button-next svg,
  .home-section .swiper-button-prev svg {
    width: 11px;
    height: 19px;
  }
}

@media (max-width: 575px) {
  .home-section .swiper-button-next,
  .home-section .swiper-button-prev {
    display: none;
  }
}

/* Sticky header */
header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease;
}

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

/* Header height + Logo size */
header .main-header {
  padding: 0 !important;
}

header .main-menu {
  min-height: auto !important;
  padding: 5px 0 !important;
}

header .brand-logo img {
  max-height: 100px !important;
  width: auto !important;
}

/* Navigation menu styling — Style 1: Clean Bold */
header .main-navbar .nav-menu > li > a {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #232323;
  padding: 12px 20px !important;
  position: relative;
  transition: color 0.3s ease;
}

header .main-navbar .nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--theme-color);
  transition: width 0.4s ease;
}

header .main-navbar .nav-menu > li > a:hover {
  color: var(--theme-color);
}

header .main-navbar .nav-menu > li > a:hover::after {
  width: 100%;
}

header .main-navbar .nav-menu > li + li {
  margin-left: 5px;
}

/* Hotline in header menu-right */
.hotline-item {
  display: flex;
  align-items: center;
  margin-right: 16px;
}

.hotline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background-color: #e74c3c;
  border: 2px solid #e74c3c;
  border-radius: 50px;
  padding: 6px 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.hotline-link:hover {
  color: #e74c3c;
  background-color: #fff;
}

.hotline-link i {
  font-size: 18px;
}

@media (max-width: 575px) {
  .hotline-link span {
    display: none;
  }
}

/* Nav dropdown (e.g. Sản phẩm > Sơn nội thất / Sơn ngoại thất) */
header .main-navbar .nav-menu .submenu-toggle {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

header .main-navbar .nav-menu .nav-submenu {
  list-style: none;
}

header .main-navbar .nav-menu .nav-submenu a {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: #232323;
  border-radius: 6px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

header .main-navbar .nav-menu .nav-submenu a:hover {
  background-color: #f3f4f6;
  color: var(--theme-color);
}

/* Active: the item whose flyout is currently open (hovered or click-toggled on
   mobile) stays highlighted even while the cursor is over its submenu panel. */
header .main-navbar .nav-menu .nav-submenu li.has-submenu:hover > a,
header .main-navbar .nav-menu .nav-submenu li.has-submenu:has(> .nav-submenu.open) > a {
  background-color: #eef1f6;
  color: var(--theme-color);
}

/* Small heading above the brand flyout (depth-2), e.g. "Thương hiệu" */
header .main-navbar .nav-menu .nav-submenu-heading {
  padding: 6px 20px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9ca3af;
  cursor: default;
}

@media (min-width: 1200px) {
  header .main-navbar .nav-menu > li.has-submenu {
    position: relative;
  }

  header .main-navbar .nav-menu .nav-submenu li.has-submenu {
    position: relative;
  }

  /* demo1.css reveals every descendant .nav-submenu the instant the top-level li is
     hovered (its selector isn't depth-scoped) — re-hide anything past level 2 by default
     so it only opens once its own direct parent is hovered/clicked. This must stay
     BEFORE the hover/open reveal rule below: both match at equal specificity, so
     source order is what lets the reveal rule win for the branch actually being hovered. */
  header .main-navbar .nav-menu > li.has-submenu .nav-submenu .nav-submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
  }

  /* Shared dropdown panel look — applies at every nesting depth (level-2 list
     and the level-3 brand flyout) so neither ever renders without a solid
     background/shadow/radius. */
  header .main-navbar .nav-menu li.has-submenu > .nav-submenu {
    position: absolute;
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    margin: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  header .main-navbar .nav-menu > li.has-submenu > .nav-submenu {
    top: 100%;
    left: 0;
  }

  /* Level-3+ flies out to the right of level-2 instead of stacking under it. */
  header .main-navbar .nav-menu .nav-submenu li.has-submenu > .nav-submenu {
    top: 0;
    left: 100%;
    border-left: 1px solid #e5e7eb;
  }

  /* Reveal on hover/click-open — declared after the re-hide rule above so it
     wins at equal specificity for whichever branch is actually being hovered. */
  header .main-navbar .nav-menu li.has-submenu:hover > .nav-submenu,
  header .main-navbar .nav-menu li.has-submenu > .nav-submenu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  header .main-navbar .nav-menu > li.has-submenu .nav-submenu li {
    display: block;
  }

  header .main-navbar .nav-menu > li.has-submenu .nav-submenu a {
    display: block;
    padding: 8px 20px !important;
  }

  header .main-navbar .nav-menu > li.has-submenu:hover .submenu-toggle {
    transform: rotate(180deg);
  }
}

/* Between 1200-1280px there isn't reliable room for a level-3 flyout to open
   further right without overflowing the viewport — stack it below instead. */
@media (min-width: 1200px) and (max-width: 1279.98px) {
  header .main-navbar .nav-menu .nav-submenu li.has-submenu > .nav-submenu {
    top: 100%;
    left: 0;
    border-left: none;
  }
}

@media (max-width: 1199.98px) {
  /* demo1.css defaults .nav-submenu to display:none and only reveals it via its own
     .opensubmenu class — our JS toggles .open instead, so we must own `display` too. */
  header .main-navbar .nav-menu > li.has-submenu .nav-submenu {
    display: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 20px;
    transition: max-height 0.3s ease;
  }

  header .main-navbar .nav-menu > li.has-submenu .nav-submenu.open {
    display: block;
    max-height: 300px;
  }

  header .main-navbar .nav-menu > li.has-submenu .nav-submenu li a {
    display: block;
    padding: 10px 0 !important;
  }

  header .main-navbar .nav-menu > li.has-submenu .submenu-toggle.open {
    transform: rotate(180deg);
  }

  header .main-navbar .nav-menu .nav-submenu .nav-submenu {
    padding-left: 20px;
  }
}

/* Seasonal backgrounds */
body.season-spring {
  background: linear-gradient(180deg, #f0f9f0 0%, #ffffff 300px);
}

body.season-spring .home-section .swiper-slide {
  background-color: #f0f9f0;
}

body.season-spring .quick-filter-section,
body.season-spring .blog-section {
  background-color: #f0f9f0;
}

body.season-summer {
  background: linear-gradient(180deg, #fffbf0 0%, #ffffff 300px);
}

body.season-summer .home-section .swiper-slide {
  background-color: #fffbf0;
}

body.season-summer .quick-filter-section,
body.season-summer .blog-section {
  background-color: #fffbf0;
}

body.season-autumn {
  background: linear-gradient(180deg, #faf5ef 0%, #ffffff 300px);
}

body.season-autumn .home-section .swiper-slide {
  background-color: #faf5ef;
}

body.season-autumn .quick-filter-section,
body.season-autumn .blog-section {
  background-color: #faf5ef;
}

body.season-winter {
  background: linear-gradient(180deg, #f0f4fa 0%, #ffffff 300px);
}

body.season-winter .home-section .swiper-slide {
  background-color: #f0f4fa;
}

body.season-winter .quick-filter-section,
body.season-winter .blog-section {
  background-color: #f0f4fa;
}

/* Consistent section spacing */
.section-spacing {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.section-b-space {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* Design tokens — pigment/sale accents, layered on top of --theme-color */
:root {
  --pigment: #e2963c;
  --pigment-tint: #fbeed9;
  --pigment-ink: #7a4c14;
  --sale: #d64546;
  --line: #dce2e8;
}

/* Section titles — consistent with menu font */
.title h2,
.quick-filter-label,
.footer-simple h3,
.blog-section .title h2 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800 !important;
  color: #232323;
}

.title h2 {
  font-size: 28px !important;
  letter-spacing: 0.3px;
}

/* Eyebrow label above a section title */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #232323;
  margin: 0;
}

.section-eyebrow-dot {
  width: 12px;
  height: 12px;
  background: var(--pigment);
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

/* Title with "view all" link */
.title-with-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.view-all-link {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background-color: var(--theme-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 100px;
  white-space: nowrap;
  transition: gap 0.3s ease, box-shadow 0.3s ease;
}

.view-all-link:hover {
  gap: 10px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(1, 99, 210, 0.3);
}

/* Product card hover effect */
.product-box-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 8px;
  overflow: hidden;
}

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

/* Quick filter section */
.quick-filter-section {
  padding: 30px 0;
  background-color: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.quick-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.quick-filter-label {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #232323;
}

.quick-filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--theme-color);
  border-radius: 50px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--theme-color);
  background: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.quick-filter-btn:hover {
  background-color: var(--theme-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(1, 99, 210, 0.3);
}

.quick-filter-btn i {
  font-size: 16px;
}

@media (max-width: 575px) {
  .quick-filter-wrap {
    flex-direction: column;
    gap: 16px;
  }
  .quick-filter-btn {
    padding: 10px 22px;
    font-size: 14px;
  }
}

/* Blog section */
.blog-section {
  background-color: #f8f9fa;
  padding-top: 40px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Sale flag */
.img-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
}

.sale-flag {
  position: absolute;
  top: 10px;
  left: 0;
  background: var(--sale);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px 4px 12px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 7px 50%);
  z-index: 1;
}

/* Unified image pattern: fixed-ratio box, whole product visible, no cropping */
.product-card-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 10 / 13;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  box-sizing: border-box;
  background-color: #f8f9fa;
}

/* Quick add-to-cart affordance, fades in over the image on hover */
.quick-add-btn {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #fff;
  color: #14213d;
  box-shadow: 0 4px 14px rgba(20, 33, 61, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  z-index: 2;
  text-decoration: none;
  font-size: 14px;
}

.img-wrapper:hover .quick-add-btn {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.quick-add-btn:hover {
  background-color: var(--theme-color);
  color: #fff;
}

/* Category eyebrow above product name */
.product-category-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a93a0;
  margin: 0 0 2px;
}

/* Product name / price consistency across all product grids
   (home, listing, related) — supersedes demo1.css's 1-line clamp. */
.product-box .product-details h3 {
  margin: 4px 0 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-box .product-details h3 span {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12px;
  font-weight: 400;
  margin-left: 4px;
}

.product-box .product-details h5 {
  margin: 0 auto;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-img {
  display: block;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}

/* Blog empty state */
.blog-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 16px;
}

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #999;
}

.blog-card-meta i {
  margin-right: 4px;
  color: var(--theme-color);
}

.blog-card-title {
  text-decoration: none;
  color: #232323;
  transition: color 0.3s ease;
}

.blog-card-title h5 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title:hover {
  color: var(--theme-color);
}

.blog-card-excerpt {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-link {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--theme-color);
  text-decoration: none;
  transition: gap 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-link:hover {
  gap: 10px;
}

/* Product Detail Page */
.product-detail-section {
  padding: 30px 0 40px;
}

/* Gallery */
.product-gallery {
  max-width: 420px;
}

.product-gallery-main {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f9f9f9;
  position: relative;
}

.product-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #333;
  transition: all 0.2s;
  z-index: 2;
}

.gallery-nav:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.product-gallery-thumb {
  width: 80px;
  height: 80px;
  border: 2px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease;
  background: #f9f9f9;
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
  border-color: var(--theme-color);
}

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

/* Product Info */
.product-info-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.badge-brand {
  background: var(--theme-color);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.badge-category {
  background: #f0f0f0;
  color: #555;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.badge-discount {
  background: #e74c3c;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.product-info-name {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #232323;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-info-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.product-info-rating .rating {
  display: flex;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rating-count {
  font-size: 14px;
  color: #999;
}

.product-info-price {
  margin-bottom: 8px;
}

.price-sale {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--theme-color);
}

.price-original {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
  margin-left: 12px;
}

.price-contact {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--theme-color);
}

.product-info-wholesale {
  font-size: 13px;
  color: #e67e22;
  background: #fef9f3;
  border: 1px solid #fde8cd;
  border-radius: 6px;
  padding: 8px 14px;
  margin-bottom: 16px;
}

.product-info-wholesale i {
  margin-right: 6px;
}

.product-info-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Color swatches */
.product-info-colors {
  margin-bottom: 20px;
}

.product-info-colors h6 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #232323;
}

.color-selected-name {
  font-weight: 400;
  color: var(--theme-color);
}

.color-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.color-swatch:hover {
  transform: scale(1.15);
}

.color-swatch.active {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 2px var(--theme-color);
  transform: scale(1.1);
}

/* Size selector */
.product-info-sizes {
  margin-bottom: 20px;
}

.product-info-sizes h6 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #232323;
  margin-bottom: 10px;
}

.product-info-specs {
  margin-bottom: 20px;
}

.product-info-specs .specs-title-row h6 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #232323;
  margin: 0;
}

.size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size-option {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-option:hover {
  border-color: var(--theme-color);
  color: var(--theme-color);
}

.size-option.active {
  border-color: var(--theme-color);
  background: var(--theme-color);
  color: #fff;
}

/* Qty + Actions */
.product-info-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.product-info-actions .qty-box {
  width: 120px;
}

.product-info-actions .qty-box .input-group {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.product-info-actions .qty-box .btn {
  background: #f5f5f5;
  border: none;
  padding: 8px 14px;
  font-size: 12px;
  color: #232323;
}

.product-info-actions .qty-box .btn:hover {
  background: #e0e0e0;
}

.product-info-actions .qty-box .input-number {
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 15px;
}

.btn-addcart {
  flex: 1;
  min-width: 180px;
}

.btn-buynow {
  background: #232323 !important;
  border-color: #232323 !important;
  color: #fff !important;
}

.btn-buynow:hover {
  background: #444 !important;
}

/* Product Specs Section */
.product-specs-section {
  background: #f8f9fa;
}

.specs-block {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.specs-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #232323;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--theme-color);
}

.specs-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--theme-color);
}

.specs-title-row .specs-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.specs-download-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--theme-color);
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.specs-download-btn:hover {
  opacity: 0.85;
  color: #fff;
}

.specs-desc p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 10px 0;
  font-size: 14px;
}

.specs-key {
  font-weight: 600;
  color: #232323;
  width: 45%;
}

.specs-value {
  color: #666;
}

/* Breadcrumb override */
.breadcrumb-section {
  padding: 16px 0 !important;
  background: #f8f9fa;
}

.breadcrumb-section .breadcrumb {
  margin-bottom: 0;
  font-size: 14px;
}

.breadcrumb-section .breadcrumb a {
  color: var(--theme-color);
  text-decoration: none;
}

.breadcrumb-section .breadcrumb .active {
  color: #999;
}

/* Blog Page */
.blog-page-section {
  background: #fff;
}

/* Category Filter Tabs */
.blog-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.blog-filter-tab {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border: 1px solid #ddd;
  border-radius: 50px;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-filter-tab:hover {
  border-color: var(--theme-color);
  color: var(--theme-color);
}

.blog-filter-tab.active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

/* Blog Tag */
.blog-tag {
  display: inline-block;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-color) !important;
  background: transparent !important;
  padding: 0;
  border-bottom: 2px solid var(--theme-color);
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 10px;
}

/* Featured Post */
.blog-featured {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.blog-featured-img {
  display: block;
  overflow: hidden;
  padding-top: 12px;
}

.blog-featured-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-featured:hover .blog-featured-img img {
  transform: scale(1.05);
}

.blog-featured-tag {
  padding: 12px 20px 0;
}

.blog-featured-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.blog-featured-title {
  text-decoration: none;
  color: #232323;
  transition: color 0.3s ease;
}

.blog-featured-title h2 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
}

.blog-featured-title:hover {
  color: var(--theme-color);
}

.blog-featured-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-featured-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #999;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.blog-featured-meta i {
  margin-right: 4px;
  color: var(--theme-color);
}

/* Blog Card — override/extend from homepage */
.blog-page-section .blog-card {
  border: 1px solid #f0f0f0;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.blog-card-footer i {
  margin-right: 4px;
  color: var(--theme-color);
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.blog-page-btn {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 50px;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-page-btn:hover:not(:disabled) {
  border-color: var(--theme-color);
  color: var(--theme-color);
}

.blog-page-btn.active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

.blog-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Blog Detail Page */
.blog-detail-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #232323;
  line-height: 1.4;
  margin-bottom: 14px;
}

.blog-detail-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.blog-detail-meta i {
  margin-right: 5px;
  color: var(--theme-color);
}

.blog-detail-image {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.blog-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-detail-content {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.blog-detail-content h2 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #232323;
  margin: 28px 0 12px;
}

.blog-detail-content h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #232323;
  margin: 28px 0 12px;
}

.blog-detail-content h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #232323;
  margin: 24px 0 10px;
}

.blog-detail-content p {
  margin-bottom: 16px;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin-bottom: 16px;
  padding-left: 20px;
}

.blog-detail-content ul li,
.blog-detail-content ol li {
  display: list-item;
  font-size: inherit;
  margin-bottom: 8px;
}

.blog-detail-content ul {
  list-style-type: disc;
}

.blog-detail-content ol {
  list-style-type: decimal;
}

.blog-detail-content blockquote {
  border-left: 3px solid var(--theme-color);
  padding: 10px 20px;
  margin: 16px 0;
  background: #f8fafc;
  color: #555;
  font-style: italic;
}

.blog-detail-content a {
  color: var(--theme-color);
  text-decoration: underline;
}

.blog-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-block {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #232323;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--theme-color);
}

.sidebar-recent {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-recent-item {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f5f5f5;
}

.sidebar-recent-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-recent-link {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: #232323;
  align-items: center;
}

.sidebar-recent-link:hover h6 {
  color: var(--theme-color);
}

.sidebar-recent-img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.sidebar-recent-link h6 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-recent-date {
  font-size: 12px;
  color: #999;
}

.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-categories li {
  border-bottom: 1px solid #f5f5f5;
}

.sidebar-categories li:last-child {
  border-bottom: none;
}

.sidebar-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  color: #555;
  font-size: 14px;
  transition: color 0.3s ease;
}

.sidebar-cat-link:hover {
  color: var(--theme-color);
}

/* Product List Page */
.product-list-section {
  background: #fff;
}

.product-list-section .product-box {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
}

.product-list-section .product-details {
  padding: 10px 8px;
}

/* Sidebar Filter */
.product-filter {
  position: sticky;
  top: 100px;
}

.filter-block {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #232323;
  margin: 0;
}

.filter-reset {
  background: none;
  border: none;
  color: var(--theme-color);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.filter-reset:hover {
  text-decoration: underline;
}

.filter-subtitle {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #232323;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

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

.filter-list li {
  border-bottom: 1px solid #f5f5f5;
}

.filter-list li:last-child {
  border-bottom: none;
}

.filter-radio,
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  padding: 10px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.filter-radio:hover,
.filter-checkbox:hover {
  color: var(--theme-color);
  background: #f0f6ff;
}

.filter-radio input,
.filter-checkbox input {
  accent-color: var(--theme-color);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.filter-radio input:checked + span,
.filter-checkbox input:checked + span {
  color: var(--theme-color);
  font-weight: 600;
}

/* Sort Bar */
.product-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #f0f0f0;
}

.sort-count {
  font-size: 13px;
  color: #666;
}

.sort-select {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #232323;
  cursor: pointer;
}

.sort-select:focus {
  outline: none;
  border-color: var(--theme-color);
}

/* Sticky footer: footer sits at bottom of viewport on short pages */
html, body {
  height: 100%;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top info bar */
.top-bar {
  background-color: #232323;
  color: #ccc;
  font-size: 13px;
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 24px;
  row-gap: 4px;
}

.top-bar-item {
  color: #ccc;
  text-decoration: none;
  white-space: nowrap;
}

.top-bar-item i {
  color: var(--theme-color);
  margin-right: 6px;
}

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

@media (max-width: 768px) {
  .top-bar-inner {
    justify-content: flex-start;
  }
  .top-bar-item:first-child {
    display: none;
  }
}

/* Simple footer */
.footer-simple {
  background-color: #f4f5f7;
  color: #444;
  padding: 50px 0 2px;
  font-size: 19px;
  margin-top: auto;
}

.footer-simple p {
  margin-bottom: 12px;
}

.footer-simple i {
  color: var(--theme-color);
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.footer-simple a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-simple a:hover {
  color: var(--theme-color);
}

.footer-copyright-bar {
  background-color: #232323;
  padding: 18px 0;
}

.footer-simple .copyright {
  margin: 0;
  text-align: center;
  color: #ccc;
  font-size: 16px;
}

.sales-process-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

/* Dashed route connecting the steps — a real sequence, not five loose tiles */
.sales-process-row::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 8%;
  right: 8%;
  border-top: 2px dashed var(--line, #dce2e8);
  z-index: 0;
}

.sales-process-step {
  position: relative;
  z-index: 1;
  flex: 1 1 150px;
  padding: 0 10px;
}

.sales-process-ghost {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #c7ced6;
  margin-bottom: 2px;
}

.sales-process-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--pigment-tint);
  color: var(--theme-color);
  font-size: 26px;
  border: 3px solid #fff;
}

.sales-process-step h5 {
  margin-bottom: 8px;
}

.sales-process-step p {
  color: #777;
  font-size: 13px;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .sales-process-row {
    justify-content: center;
  }
  .sales-process-row::before {
    display: none;
  }
  .sales-process-step {
    flex: 1 1 45%;
  }
}

/* Brand name tile */
.brand-tile {
  position: relative;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, #eef4fd 0%, #f9fbff 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(1, 99, 210, 0.06);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.brand-tile::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--theme-color);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.brand-tile:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  box-shadow: 0 12px 24px rgba(1, 99, 210, 0.22);
  transform: translateY(-4px);
}

.brand-tile:hover::before {
  transform: scaleY(1);
}

.brand-tile-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--theme-color);
  text-align: center;
  transition: color 0.25s ease;
}

/* Products page "load more" button */
.load-more {
  width: auto;
  margin: 40px auto 0;
}

.load-more button {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 2px solid var(--theme-color);
  border-radius: 100px;
  background: #fff;
  color: var(--theme-color);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.load-more button:hover:not(:disabled) {
  background: var(--theme-color);
  color: #fff;
  box-shadow: 0 8px 20px rgba(1, 99, 210, 0.25);
}

.load-more button:disabled {
  opacity: 0.6;
  cursor: default;
}

.brand-tile:hover .brand-tile-name {
  color: #fff;
}
