:root {
  --nobifashion_brand_black: #0f172a;
  --nobifashion_brand_white: #ffffff;
  --nobifashion_brand_bg: #fafafa;
  --nobifashion_brand_line: #e2e8f0;
  --nobifashion_brand_muted: #64748b;
  --nobifashion_brand_primary: #111827;
  --nobifashion_brand_card_bg: #ffffff;
}

.nobifashion_brand_page {
  background: var(--nobifashion_brand_bg);
  color: var(--nobifashion_brand_black);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  width: 100%;
  overflow-x: hidden;
  padding-bottom: 40px;
}

.nobifashion_brand_page * {
  box-sizing: border-box;
}

.nobifashion_brand_page button,
.nobifashion_brand_page a {
  font: inherit;
  text-decoration: none;
}

.nobifashion_brand_page button {
  cursor: pointer;
}

/* ==========================================================================
   HERO / BRAND PROFILE & SLIDER
   ========================================================================== */
.nobifashion_brand_hero {
  background: linear-gradient(135deg, #09090b 0%, #18181b 50%, #27272a 100%);
  color: #fff;
  padding: 32px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nobifashion_brand_hero_inner {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: center;
}

.nobifashion_brand_profile_top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nobifashion_brand_logo {
  width: 110px;
  height: 110px;
  flex: 0 0 110px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  font-size: 26px;
  line-height: .88;
  letter-spacing: -1.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.2);
  user-select: none;
}

.nobifashion_brand_logo span {
  font-size: 19px;
  letter-spacing: -0.5px;
}

.nobifashion_brand_campaign {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #94a3b8;
  text-transform: uppercase;
}

.nobifashion_brand_identity h1 {
  margin: 4px 0 6px;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  letter-spacing: -0.3px;
}

.nobifashion_brand_identity h1 span {
  color: #38bdf8;
  font-size: 12px;
}

.nobifashion_brand_identity p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
}

.nobifashion_brand_stats {
  display: flex;
  gap: 12px;
  margin: 18px 0 16px;
}

.nobifashion_brand_stats div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 14px;
  text-align: center;
  min-width: 80px;
  backdrop-filter: blur(8px);
}

.nobifashion_brand_stats b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.nobifashion_brand_stats span {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
  display: block;
}

.nobifashion_brand_intro_wrapper {
  margin: 0 0 16px;
}

.nobifashion_brand_intro {
  color: #cbd5e1;
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nobifashion_brand_intro.nobifashion_brand_expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.nobifashion_brand_more {
  background: none;
  border: 0;
  color: #38bdf8;
  padding: 4px 0 0;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.nobifashion_brand_more i {
  font-size: 9.5px;
  transition: transform 0.2s ease;
}

.nobifashion_brand_more:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.nobifashion_brand_actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nobifashion_brand_follow {
  background: #fff;
  color: #000;
  border: 0;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nobifashion_brand_follow:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.nobifashion_brand_follow span {
  font-size: 15px;
}

.nobifashion_brand_follow.nobifashion_brand_following {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   SLIDER BANNER
   ========================================================================== */
.nobifashion_brand_slider {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 260px;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.nobifashion_brand_slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 38px;
  background: linear-gradient(135deg, #18181b, #27272a);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

.nobifashion_brand_slide:nth-child(2) {
  background: linear-gradient(135deg, #1f2937, #374151);
}

.nobifashion_brand_slide:nth-child(3) {
  background: linear-gradient(135deg, #1e293b, #334155);
}

.nobifashion_brand_slide_active {
  opacity: 1;
  pointer-events: auto;
}

.nobifashion_brand_slide p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #94a3b8;
}

.nobifashion_brand_slide div {
  font-size: 24px;
  line-height: 1.3;
  color: #f1f5f9;
}

.nobifashion_brand_slide strong {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  display: block;
}

.nobifashion_brand_dots {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.nobifashion_brand_dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nobifashion_brand_dots .nobifashion_brand_dot_active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}

/* ==========================================================================
   SECTIONS & PRODUCT GRIDS
   ========================================================================== */
.nobifashion_brand_section {
  background: #ffffff;
  padding: 24px 20px;
  margin: 20px auto 0;
  width: 100%;
  max-width: 1200px;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nobifashion_brand_heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.nobifashion_brand_heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.2px;
}

.nobifashion_brand_heading a {
  color: #4b5563;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nobifashion_brand_heading a:hover {
  color: #111827;
  text-decoration: underline;
}

.nobifashion_brand_product_grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.nobifashion_brand_product {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  min-width: 0;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nobifashion_brand_product:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.nobifashion_brand_product_visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: #f8fafc;
}

.nobifashion_brand_product_visual img {
  position: absolute;
  max-width: none;
  height: auto;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.nobifashion_brand_product:hover .nobifashion_brand_product_visual img {
  transform: scale(1.03);
}

.nobifashion_brand_badge {
  position: absolute;
  right: 8px;
  top: 8px;
  background: #0f172a;
  color: #fff;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nobifashion_brand_favorite {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  color: #64748b;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.nobifashion_brand_product:hover .nobifashion_brand_favorite {
  opacity: 1;
}

.nobifashion_brand_favorite:hover {
  transform: scale(1.1);
  color: #e11d48;
}

.nobifashion_brand_favorite.nobifashion_brand_favorited {
  opacity: 1;
  color: #e11d48;
  background: #fff;
}

.nobifashion_brand_product_body {
  padding: 10px 12px 14px;
}

.nobifashion_brand_product_brand {
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 3px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nobifashion_brand_product_title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  line-height: 1.4;
  height: 2.8em;
  margin: 0 0 6px;
  text-decoration: none;
}

.nobifashion_brand_product_price {
  font-weight: 700;
  font-size: 14px;
  color: #111827;
}

.nobifashion_brand_product_old {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
}

.nobifashion_brand_product_meta {
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nobifashion_brand_stars {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 11px;
}

.nobifashion_brand_sold {
  font-size: 11px;
  color: #94a3b8;
}



/* ==========================================================================
   CATEGORIES FILTER - LIGHT & CLEAN DESIGN
   ========================================================================== */
.nobifashion_brand_category_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.nobifashion_brand_category {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 10px 14px;
  min-height: 62px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.nobifashion_brand_category:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* TRẠNG THÁI ACTIVE: SÁNG SỦA, DỄ NHÌN, NỔI BẬT KHÔNG GẮT */
.nobifashion_brand_category.nobifashion_brand_category_active {
  background: #f0f7ff;
  border-color: #2563eb;
  color: #1e293b;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

/* KHUNG ẢNH DANH MỤC */
.nobifashion_brand_category_thumb {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #f8fafc;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.nobifashion_brand_category_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Icon nút Tất cả sản phẩm */
.nobifashion_brand_category_thumb_all {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

.nobifashion_brand_category_thumb_all svg {
  width: 20px;
  height: 20px;
}

.nobifashion_brand_category:hover .nobifashion_brand_category_thumb {
  border-color: #cbd5e1;
  transform: scale(1.05);
}

.nobifashion_brand_category.nobifashion_brand_category_active .nobifashion_brand_category_thumb {
  border-color: #93c5fd;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

/* THÔNG TIN CHỮ */
.nobifashion_brand_category_info {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0;
  flex: 1;
}

.nobifashion_brand_category_info b {
  font-size: 13px;
  font-weight: 600;
  display: block;
  line-height: 1.35;
  color: #1e293b;
  transition: color 0.2s ease;
}

.nobifashion_brand_category.nobifashion_brand_category_active .nobifashion_brand_category_info b {
  color: #1d4ed8;
  font-weight: 700;
}

.nobifashion_brand_category_info small {
  font-size: 11px;
  color: #64748b;
  display: block;
  margin-top: 2px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.nobifashion_brand_category.nobifashion_brand_category_active .nobifashion_brand_category_info small {
  color: #2563eb;
  font-weight: 500;
}

/* MŨI TÊN CHỈ DẪN */
.nobifashion_brand_category_arrow {
  margin-left: auto;
  font-size: 18px;
  line-height: 1 !important;
  color: #94a3b8;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.nobifashion_brand_category:hover .nobifashion_brand_category_arrow {
  color: #64748b;
  transform: translateX(2px);
}

.nobifashion_brand_category.nobifashion_brand_category_active .nobifashion_brand_category_arrow {
  color: #2563eb;
  transform: translateX(2px);
}

/* ==========================================================================
   RECOMMEND & LOAD MORE
   ========================================================================== */
.nobifashion_brand_load_more {
  display: block;
  width: 240px;
  max-width: 100%;
  margin: 28px auto 8px;
  border: 1.5px solid #0f172a;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.nobifashion_brand_load_more:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.nobifashion_brand_faq_section {
  background: #ffffff;
  padding: 36px 20px 44px;
  text-align: center;
  margin: 20px auto 0;
  width: 100%;
  max-width: 1200px;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nobifashion_brand_faq_section h2 {
  font-size: 20px;
  margin: 0 0 6px;
  font-weight: 700;
  color: #111827;
}

.nobifashion_brand_faq_section > p {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 24px;
}

.nobifashion_brand_faq {
  max-width: 720px;
  margin: auto;
  text-align: left;
}

.nobifashion_brand_faq_item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin: 10px 0;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.nobifashion_brand_faq_item.nobifashion_brand_faq_open {
  border-color: #cbd5e1;
}

.nobifashion_brand_faq_question {
  width: 100%;
  border: 0;
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: #111827;
  transition: background 0.2s ease;
}

.nobifashion_brand_faq_question:hover {
  background: #f8fafc;
}

.nobifashion_brand_faq_answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  border-top: 1px dashed #f1f5f9;
  padding-top: 14px;
  background: #fafafa;
}

.nobifashion_brand_faq_item.nobifashion_brand_faq_open .nobifashion_brand_faq_answer {
  display: block;
}

.nobifashion_brand_faq_icon {
  font-size: 18px;
  font-weight: 400;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

/* ==========================================================================
   TOAST
   ========================================================================== */
.nobifashion_brand_toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 99999;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: #0f172a;
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.nobifashion_brand_toast.nobifashion_brand_toast_visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1000px) {
  .nobifashion_brand_hero_inner {
    grid-template-columns: 360px 1fr;
    gap: 24px;
  }
  .nobifashion_brand_product_grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .nobifashion_brand_category_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nobifashion_brand_hero {
    padding: 24px 0;
  }
  .nobifashion_brand_hero_inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nobifashion_brand_profile_top {
    justify-content: center;
  }
  .nobifashion_brand_profile {
    order: 2;
    text-align: center;
  }
  .nobifashion_brand_identity h1 {
    justify-content: center;
  }
  .nobifashion_brand_slider {
    order: 1;
    min-height: 200px;
    height: 200px;
  }
  .nobifashion_brand_stats {
    justify-content: center;
  }
  .nobifashion_brand_actions {
    justify-content: center;
  }
  .nobifashion_brand_intro {
    font-size: 13px;
    text-align: center;
  }
  .nobifashion_brand_product_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .nobifashion_brand_section {
    padding: 16px 12px;
    margin-top: 14px;
    border-radius: 10px;
  }
  .nobifashion_brand_product_body {
    padding: 8px 10px 10px;
  }
  .nobifashion_brand_product_title {
    font-size: 12px;
    line-height: 1.4;
    height: 2.8em;
  }
  .nobifashion_brand_product_price {
    font-size: 13px;
  }

  .nobifashion_brand_category_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .nobifashion_brand_category {
    padding: 8px 10px;
    min-height: 52px;
  }
  .nobifashion_brand_slide {
    padding: 24px 20px;
  }
  .nobifashion_brand_slide div {
    font-size: 18px;
  }
  .nobifashion_brand_slide strong {
    font-size: 26px;
  }
}

@media (max-width: 380px) {
  .nobifashion_brand_category_grid {
    grid-template-columns: 1fr;
  }
  .nobifashion_brand_identity h1 {
    font-size: 20px;
  }
  .nobifashion_brand_logo {
    width: 84px;
    height: 84px;
    flex-basis: 84px;
    font-size: 20px;
  }
  .nobifashion_brand_stats div {
    min-width: 0;
    flex: 1;
    padding: 6px 4px;
  }
  .nobifashion_brand_stats b {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nobifashion_brand_page * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
