/* Fashion Home Variant — only overrides on top of home-base.css */

/* Tất cả sections fashion dùng container gần full width — như demo Molla dùng container-fluid 1800px */
.fashion-hero .container,
.fashion-featured .container,
.fashion-new-arrivals .container,
.fashion-blog-section .container,
.fashion-testimonial .container,
.fashion-services .container,
.fashion-brands .container {
  width: 100%;
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Brands không có container — tự fill full width */
.fashion-brands { width: 100%; }

/* ── Hero Main: 2 columns ── */
.fashion-hero { background: #f5f5f5; padding-top: 24px; }

.fashion-hero-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  min-height: 440px;
}
.fashion-hero-sub {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  min-height: 220px;
  margin-top: 6px;
}

.fashion-hero-item,
.fashion-hero-sub-item {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  min-height: inherit;
}
.fashion-hero-item img,
.fashion-hero-sub-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.fashion-hero-item:hover img,
.fashion-hero-sub-item:hover img { transform: scale(1.04); }

.fashion-hero-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
}

.fashion-hero-caption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  color: #333;
}
.fashion-hero-sub-item .fashion-hero-caption {
  bottom: 20px;
  left: 20px;
}
.fashion-hero-pre {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: .75;
}
.fashion-hero-caption h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.2;
  color: #222;
}
.fashion-hero-sub-item .fashion-hero-caption h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #222;
}
.fashion-hero-cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid #555;
  padding-bottom: 1px;
  color: #444;
  transition: color .2s, border-color .2s;
}
.fashion-hero-item:hover .fashion-hero-cta,
.fashion-hero-sub-item:hover .fashion-hero-cta {
  color: var(--molla-accent, #c96);
  border-color: var(--molla-accent, #c96);
}

/* ── Services ── */
.fashion-services {
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  padding: 20px 0;
}
.fashion-services-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fashion-service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  border-right: 1px solid #ebebeb;
}
.fashion-service-item:last-child { border-right: none; }
.fashion-service-item > .bi {
  font-size: 28px;
  color: var(--molla-dark, #222);
  flex-shrink: 0;
}
.fashion-service-title {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.fashion-service-desc {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}

/* ── Brands ── */
.fashion-brands {
  background: #2d2d2d;
  border-top: 1px solid #3a3a3a;
  border-bottom: 1px solid #1a1a1a;
  padding: 0;
}
.fashion-brands-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.fashion-brand-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 24px 20px;
  border-right: 1px solid #555;
  opacity: .5;
  transition: opacity .2s;
}
.fashion-brand-item:last-child { border-right: none; }
.fashion-brand-item:hover { opacity: 1; }
.fashion-brand-item img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) invert(1);
}
.fashion-brand-text {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  font-style: italic;
}

/* ── Section title override — center, underline ── */
.fashion-featured .molla-section-title,
.fashion-new-arrivals .molla-section-title {
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

/* ── Tabs ── */
.fashion-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 16px 0 32px;
  border-bottom: 1px solid #ebebeb;
}
.fashion-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #999;
  cursor: pointer;
  text-transform: uppercase;
  transition: color .2s, border-color .2s;
  margin-bottom: -1px;
}
.fashion-tab-btn:hover { color: #333; }
.fashion-tab-btn.active { color: #222; border-bottom-color: #222; }

.fashion-tab-pane { display: none; }
.fashion-tab-pane.active { display: block; }

/* ── Featured Products: horizontal carousel ── */
.fashion-product-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.fashion-product-carousel::-webkit-scrollbar { height: 4px; }
.fashion-product-carousel::-webkit-scrollbar-track { background: #f0f0f0; }
.fashion-product-carousel::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }

.fashion-carousel-item {
  flex: 0 0 calc(20% - 13px);
  min-width: 180px;
  scroll-snap-align: start;
}

/* ── New Arrivals Grid — CSS Grid 5 cột cố định ── */
.fashion-new-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

/* ── Load More ── */
.fashion-load-more-wrap {
  text-align: center;
  margin-top: 36px;
}
.fashion-load-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid #ccc;
  padding: 10px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #555;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.fashion-load-more:hover { border-color: #222; color: #222; }

/* ── Blog ── */
.fashion-blog-card { margin-bottom: 8px; }
.fashion-blog-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f0f0f0;
}
.fashion-blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.fashion-blog-img:hover img { transform: scale(1.05); }
.fashion-blog-placeholder { width: 100%; height: 100%; background: #e8e8e8; }
.fashion-blog-body { padding: 14px 0 0; }
.fashion-blog-date { font-size: 11px; color: #aaa; margin: 0 0 6px; }
.fashion-blog-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.4;
}
.fashion-blog-title a { color: #222; text-decoration: none; }
.fashion-blog-title a:hover { color: var(--molla-accent, #c96); }
.fashion-read-more {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  transition: color .2s, border-color .2s;
}
.fashion-read-more:hover { color: var(--molla-accent, #c96); border-color: var(--molla-accent, #c96); }

/* ── Testimonial ── */
.fashion-testimonial {
  background: #f9f9f9;
  padding: 72px 0;
  text-align: center;
}
.fashion-testimonial-icon {
  font-size: 32px;
  color: var(--molla-accent, #c96);
  margin-bottom: 24px;
}
.fashion-testimonial-slider { position: relative; min-height: 100px; }
.fashion-testimonial-slide { display: none; }
.fashion-testimonial-slide.active { display: block; }
.fashion-testimonial-quote {
  font-size: 18px;
  font-style: italic;
  color: #333;
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.7;
  border: none;
  padding: 0;
}
.fashion-testimonial-author {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #222;
}
.fashion-testimonial-role {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.fashion-testimonial-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
.fashion-t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ccc; border: none; padding: 0; cursor: pointer;
  transition: background .2s;
}
.fashion-t-dot.active { background: #222; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .fashion-new-grid { grid-template-columns: repeat(3, 1fr); }
  .fashion-hero-main { min-height: 300px; }
  .fashion-hero-sub  { min-height: 160px; }
}
@media (max-width: 767px) {
  .fashion-hero { padding-top: 12px; }
  .fashion-hero-main {
    grid-template-columns: 1fr 1fr;
    min-height: 200px;
  }
  .fashion-hero-sub {
    grid-template-columns: 1fr 1fr;
    min-height: 130px;
  }
  .fashion-hero-sub-item:last-child { display: none; }
  .fashion-hero-caption h2 { font-size: 16px; }
  .fashion-hero-caption { bottom: 14px; left: 14px; }
  .fashion-hero-pre { font-size: 9px; margin-bottom: 4px; }
  .fashion-hero-cta { font-size: 10px; }

  .fashion-services-inner { grid-template-columns: 1fr; }
  .fashion-service-item { border-right: none; border-bottom: 1px solid #ebebeb; }
  .fashion-service-item:last-child { border-bottom: none; }

  .fashion-carousel-item { flex: 0 0 calc(50% - 8px); }
  .fashion-new-grid { grid-template-columns: repeat(2, 1fr); }

  .fashion-brands-inner { flex-wrap: wrap; }
  .fashion-brand-item { flex: 0 0 33.33%; border-right: 1px solid #555; border-bottom: 1px solid #3a3a3a; padding: 16px 12px; }
  .fashion-brand-item:nth-child(3n) { border-right: none; }

  .fashion-blog-card { margin-bottom: 16px; }
  .fashion-testimonial { padding: 48px 0; }
  .fashion-testimonial-quote { font-size: 15px; }
}
