/* =======================================================
   HOMEPAGE CSS
======================================================== */
#sobie-luxe-homepage { overflow-x: hidden; background: #fff; }
.luxe-section { padding: 50px 0; clear: both; }

.container-logo-aligned {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.container-full-size {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  margin: 0 auto;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
}
.section-title {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 1px;
  color: #16283A;
}
.view-all-link {
  font-size: 12px;
  font-weight: 700;
  color: #0A7FD9;
  text-transform: uppercase;
  border-bottom: 1px solid #ddd;
  padding-bottom: 2px;
  transition: 0.3s;
  text-decoration: none;
}
.view-all-link:hover { color: #0868B3; border-color: #0868B3; }

/* ----- Slider ngang chung ----- */
.slider-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 15px;
  cursor: grab;
  padding-right: 20px;
}
.slider-wrapper::-webkit-scrollbar { display: none; }
.slider-wrapper:active { cursor: grabbing; }
.slider-wrapper > div { flex: 0 0 350px; }

/* ----- Hero Banner & Video ----- */
.hero-banner-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hero-banner-slider::-webkit-scrollbar { display: none; }

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 21/9;
  background: #16283A;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}
.hero-slide video,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide video {
  display: block;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.sobie-vid-desktop { display: block !important; }
.sobie-vid-mobile { display: none !important; }

.hero-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #0A7FD9;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  text-transform: uppercase;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.hero-dot.active { background: #fff; transform: scale(1.2); }

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: #16283A;
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  font-size: 18px;
}
.hero-nav-btn:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.hero-nav-btn.prev { left: 20px; }
.hero-nav-btn.next { right: 20px; }

.hero-dot-line {
  width: 40px; height: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: 0.3s;
}
.hero-dot-line.active {
  background: #fff;
  width: 60px;
}

/* ----- Content page cards ----- */
.content-page-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #16283A;
  display: block;
}
.content-page-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: 0.5s;
}
.content-page-card:hover img { opacity: 0.6; transform: scale(1.05); }
.content-page-info {
  position: absolute;
  bottom: 20px; left: 20px;
  color: #fff;
  z-index: 2;
}
.content-page-info h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 5px;
  text-transform: uppercase;
}

/* ----- 3 Banner ngang ----- */
.three-banner-wrapper {
  display: flex;
  width: 100%;
  gap: 4px;
}
.banner-item {
  flex: 1;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #16283A;
}
.banner-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, opacity 0.3s;
  display: block;
}
.banner-item:hover img { transform: scale(1.05); opacity: 0.9; }
.banner-overlay {
  position: absolute;
  bottom: 40px; left: 40px;
  z-index: 2;
  pointer-events: none;
}
.banner-overlay h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.banner-overlay span {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-bottom: 3px;
  letter-spacing: 0.5px;
}

/* ----- Split banner (2 ảnh chia đôi) ----- */
.split-banner-wrap {
  display: flex;
  width: 100%;
  margin-top: 30px;
}
.split-item {
  flex: 1;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #16283A;
  display: block;
}
.split-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.8s ease;
  display: block;
}
.split-item:hover img { transform: scale(1.05); opacity: 1; }
.split-info {
  position: absolute;
  bottom: 40px; left: 40px;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}
.split-info h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.split-info span {
  font-size: 13px;
  font-weight: 700;
  border-bottom: 2px solid #fff;
  padding-bottom: 3px;
  letter-spacing: 0.5px;
}

/* ----- Community grid ----- */
.comm-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 40px 0 20px;
  letter-spacing: 2px;
  color: #16283A;
}
.comm-grid {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}
.comm-item {
  flex: 0 0 16.6666%;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: block;
  position: relative;
  background: #f4f4f4;
}
.comm-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: 0.5s;
  display: block;
}
.comm-item:hover img { transform: scale(1.1); filter: brightness(0.8); }

/* ----- Menu tabs side ----- */
.menu-tab-links li {
  margin-bottom: 50px;
  font-size: 20px;
  font-weight: 600;
  color: #5A6B7B;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s;
}
.menu-tab-links li:hover,
.menu-tab-links li.active {
  color: #16283A;
  font-weight: 800;
  transform: translateX(5px);
}

.sobie-simple-banner { max-height: 480px; }
.sobie-simple-banner img { object-position: center 15% !important; }

/* ----- Blog cards ----- */
.blog-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 280px;
  display: block;
  text-decoration: none;
}
.blog-img {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
  aspect-ratio: 3/2;
  background: #f4f4f4;
  width: 100%;
}
.blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: 0.5s;
  display: block;
}
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #16283A;
  line-height: 1.4;
  margin: 0 0 8px;
}
.blog-info p { font-size: 12px; color: #5A6B7B; margin: 0; }

/* =======================================================
   BLEED SLIDER (cột trái + slider tràn viền phải)
======================================================== */
.bleed-slider-section {
  display: flex;
  align-items: stretch;
  padding: 50px 0;
  padding-left: max(20px, calc((100% - 1280px) / 2));
  gap: 30px;
  overflow: hidden;
  box-sizing: border-box;
}
.bleed-left-zone {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.bleed-left-banner {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 4px;
  overflow: hidden;
  display: block;
}
.bleed-left-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.bleed-left-banner:hover img { transform: scale(1.05); }

.bleed-right-col {
  flex: 1;
  min-width: 0;
}
.bleed-right-col .slider-wrapper {
  padding-right: max(20px, calc((100% - 1280px) / 2));
  padding-bottom: 15px;
}

.side-menu-title {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 30px;
  color: #16283A;
  letter-spacing: 1px;
}
.side-menu-list {
  list-style: none;
  padding: 0; margin: 0;
}
.side-menu-list li {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #5A6B7B;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-menu-list li:hover,
.side-menu-list li.active {
  color: #16283A;
  font-weight: 800;
  transform: translateX(5px);
}
.side-menu-list li.sale-text { color: #16283A !important; background: #FFF000; padding: 2px 8px; border-radius: 6px; }

/* =======================================================
   MOBILE RESPONSIVE
======================================================== */
@media (max-width: 768px) {
  .luxe-section { padding: 30px 0; }
  .section-title { font-size: 18px; }

  .hero-nav-btn { display: none; }
  .hero-slide { aspect-ratio: 9/16 !important; }
  .sobie-vid-desktop { display: none !important; }
  .sobie-vid-mobile { display: block !important; }
  .slider-wrapper > div { flex: 0 0 180px; }
  .slider-wrapper .product-card {
    flex: 0 0 calc(50% - 10px);
    min-width: 160px;
  }

  .three-banner-wrapper,
  .split-banner-wrap { flex-direction: column; }
  .banner-item,
  .split-item { aspect-ratio: 16/9; }
  .banner-overlay,
  .split-info { bottom: 20px; left: 20px; }
  .banner-overlay h3 { font-size: 20px; }
  .split-info h3 { font-size: 22px; }

  .content-page-card { flex: 0 0 250px; }
  .men-banner-wrap { aspect-ratio: 16/9; }
  .men-banner-text h3 { font-size: 28px; }
  .blog-card { flex: 0 0 calc(80% - 10px); min-width: 250px; }

  .container-full-size { padding: 0 15px; }
  .luxe-section .container-full-size { flex-direction: column; }

  .comm-item { flex: 0 0 33.3333%; }
  .comm-grid-18 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2px !important;
  }

  .sobie-simple-row {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .sobie-simple-banner {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-height: 480px;
  }

  .block-menu-tabs > div > div:first-child {
    padding-left: 0 !important;
    padding-top: 5px !important;
    flex: 100% !important;
    width: 100% !important;
  }
  .block-menu-tabs h3 {
    font-size: 22px !important;
    margin-bottom: 15px !important;
  }
  .menu-tab-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 20px !important;
    padding-bottom: 10px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .menu-tab-links::-webkit-scrollbar { display: none !important; }
  .menu-tab-links li {
    margin-bottom: 0 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  .menu-tab-links li:hover,
  .menu-tab-links li.active {
    transform: none !important;
    border-bottom: 2px solid #0A7FD9;
    padding-bottom: 4px;
  }

  .luxe-section:first-of-type {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .bleed-slider-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .slider-wrapper {
    padding-bottom: 5px !important;
    margin-bottom: 0 !important;
  }

  .bleed-slider-section {
    flex-direction: column;
    padding-left: 20px;
    gap: 20px;
  }
  .bleed-left-zone {
    flex: 0 0 auto;
    width: calc(100% - 20px);
  }
  .bleed-left-banner {
    min-height: 200px;
    aspect-ratio: 16/9;
  }
  .side-menu-list {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    white-space: nowrap;
    scrollbar-width: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }
  .side-menu-list li { margin-bottom: 0; }
  .side-menu-list li:hover,
  .side-menu-list li.active {
    transform: none;
    border-bottom: 2px solid #0A7FD9;
  }
}


/* ===== Brand V2.0: section xen kẽ vàng cát (web 60-30-10) ===== */
.luxe-community { background: #F6F1E6; }
