/* ==============================================
   MARQUEE BANNER (chạy chữ)
   ============================================== */
.marquee-banner {
  width: 100%;
  background: #f5f2ee;
  border-top: 1px solid #e8e2da;
  border-bottom: 1px solid #e8e2da;
  overflow: hidden;
  padding: 13px 0;
  white-space: nowrap;
  position: relative;
  /* fade edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: marquee-scroll 38s linear infinite;
  will-change: transform;
}

.marquee-banner:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 400;
  color: #3a3632;
  letter-spacing: 0.03em;
  padding: 0 20px;
  white-space: nowrap;
}

.marquee-sep {
  font-size: 11px;
  color: #b0a898;
  padding: 0 4px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==============================================
   HERO SLIDER
   ============================================== */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #d0ccca;
}

/* Each slide stacks absolutely, only .active is visible */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  min-height: 780px;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* --- Background layer --- */
.hs-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hs-bg-1 {
  background: radial-gradient(ellipse at 65% 40%, #c8c4c0 0%, #b0acaa 40%, #989490 100%);
}

.hs-bg-2 {
  background: radial-gradient(ellipse at 60% 50%, #d0ccc8 0%, #b8b4b0 50%, #a0a0a0 100%);
}

.hs-bg-3 {
  background: radial-gradient(ellipse at 60% 40%, #ccc8c4 0%, #b4b0ac 40%, #9c9898 100%);
}

/* --- Overlay gradient on top of banner image --- */
.hs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    rgba(0, 0, 0, 0.08) 100%
  );
  z-index: 1;
}

/* --- Text content – left side --- */
.hs-content {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 55%;
  padding: 80px 0 80px 10%;
  color: #ffffff;
}

.hs-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.hs-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hs-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Banner image – full background --- */
.hs-product {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

/* --- Slide dots --- */
.hs-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.hs-dot {
  width: 28px;
  height: 2px;
  border: none;
  background: rgba(30, 28, 26, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
  border-radius: 1px;
}

.hs-dot.active {
  background: #1a1a1a;
  width: 36px;
}

/* --- Prev / Next arrows --- */
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 32px;
  color: rgba(30, 28, 26, 0.4);
  cursor: pointer;
  z-index: 5;
  padding: 8px 14px;
  transition: color 0.2s;
  line-height: 1;
}

.hs-arrow:hover {
  color: #1a1a1a;
}

.hs-prev { left: 20px; }
.hs-next { right: 20px; }

/* Responsive */
@media (max-width: 768px) {
  .hero-slide {
    flex-direction: column;
    align-items: flex-start;
    min-height: 420px;
  }

  .hs-content {
    width: 100%;
    padding: 52px 24px 24px;
  }

  .hs-title {
    font-size: 20px;
  }

  .hs-product {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hs-content {
    width: 85%;
    padding: 52px 24px 24px;
  }

  .hs-arrow { display: none; }
}


.ctnr {
  max-width: 1400px;
  margin: 0 auto;
}

/* ==============================================
   BEST ITEMS SECTION
   ============================================== */
.best-section {
  padding: 72px 60px 80px;
}

/* ===== TITLE ===== */
.best-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  color: #1a1a1a;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}

/* ===== TABS ===== */
.best-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 52px;
  list-style: none;
  flex-wrap: wrap;
}

.best-tabs li {
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: #b0a898;
  letter-spacing: 0.04em;
  padding-bottom: 5px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.best-tabs li.active {
  color: #1a1a1a;
  font-weight: 500;
  border-bottom: 1.5px solid #1a1a1a;
}

.best-tabs li:hover {
  color: #1a1a1a;
}

/* ===== CAROUSEL WRAPPER ===== */
.carousel-wrapper {
  position: relative;
}

/* ===== ARROW BUTTONS ===== */
.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: #c0b8b0;
  z-index: 10;
  padding: 8px;
  transition: color 0.2s;
  line-height: 1;
  user-select: none;
}

.carousel-btn:hover {
  color: #1a1a1a;
}

.carousel-btn.prev {
  left: -36px;
}

.carousel-btn.next {
  right: -36px;
}

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.product-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
  background: #f5f0eb;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

/* Placeholder boxes */
.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover .product-placeholder {
  transform: scale(1.04);
}

.product-placeholder svg {
  width: 62%;
  height: 62%;
  opacity: 0.8;
}

/* ===== PRODUCT INFO ===== */
.product-brand {
  font-size: 11px;
  color: #b0a898;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.product-name {
  font-size: 13px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.55;
  margin-bottom: 10px;
  word-break: keep-all;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.price-original {
  font-size: 13px;
  color: #c0b8b0;
  text-decoration: line-through;
}

.price-sale {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

.price-regular {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

/* ===== VIEW MORE BUTTON ===== */
.view-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.view-more-btn {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  background: transparent;
  border: 1px solid #1a1a1a;
  padding: 13px 56px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  text-transform: uppercase;
}

.view-more-btn:hover {
  background: #1a1a1a;
  color: #f2ede8;
}

/* ===== PRODUCT VISUAL COLORS ===== */
.card-1 .product-placeholder {
  background: linear-gradient(145deg, #e8e0d8, #d4c8bc);
}

.card-2 .product-placeholder {
  background: linear-gradient(145deg, #ddd8d0, #c8c0b8);
}

.card-3 .product-placeholder {
  background: linear-gradient(145deg, #ede4da, #d8ccbf);
}

.card-4 .product-placeholder {
  background: linear-gradient(145deg, #e0dcd6, #ccc8c2);
}

/* ==============================================
   NEW ITEMS SECTION
   ============================================== */
.new-items-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
}

.new-item-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
}

.new-item-card .ni-bg {
  /* position: absolute; */
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.new-item-card:hover .ni-bg {
  transform: scale(1.05);
}

/* subtle overlay */
.new-item-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.02) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.new-item-info {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  color: white;
}

.new-item-info .ni-label {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  line-height: 1.1;
}

.new-item-info .ni-name {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0.92;
  line-height: 1.4;
  padding: 0 12px;
}

/* Individual background colors per card */
.ni-bg-1 {
  background: linear-gradient(160deg, #9fb8d0 0%, #c4d4e4 45%, #dce8f2 100%);
}

.ni-bg-2 {
  background: linear-gradient(160deg, #b89870 0%, #caa880 45%, #d8bc98 100%);
}

.ni-bg-3 {
  background: linear-gradient(160deg, #252830 0%, #343840 50%, #484c58 100%);
}

.ni-bg-4 {
  background: linear-gradient(160deg, #70c4dc 0%, #90d0e4 45%, #b4dff0 100%);
}

/* SVG product illustrations */
.ni-product {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 68%;
  z-index: 1;
}

/* ==============================================
   MD'S PICK SECTION
   ============================================== */
.mds-section {
  background: #ffffff;
  padding: 80px 0;
}

.mds-section-inner {
  padding: 0 60px;
}

.mds-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: #1a1a1a;
  text-align: center;          /* ← căn giữa theo ảnh mẫu */
  margin-bottom: 52px;
  letter-spacing: 0.01em;
}

.mds-inner {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 64px;
  align-items: start;
}

.mds-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #cec6bc 0%, #b8b0a6 50%, #a09890 100%);
  position: relative;
}

.mds-photo-inner {
  width: 100%;
  height: 100%;
}

.mds-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 16px;
}

/* "Piccasso" brand label — italic, warm brown */
.mds-brand {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  color: #8a6e50;              /* nâu đồng, khớp ảnh */
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.mds-product-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.mds-desc {
  font-size: 14px;
  color: #6a6060;
  line-height: 1.8;
  margin-bottom: 40px;
}

.mds-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mds-prod-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.mds-prod-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  background: #f8f4f0;
}

.mds-prod-img svg {
  width: 65%;
  height: 90%;
}

.mds-prod-brand {
  font-size: 11px;
  color: #b0a898;
  margin-bottom: 5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mds-prod-name {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.mds-prod-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==============================================
   MONTHLY PICCASSO SECTION
   ============================================== */
.monthly-section {
  background: #f0ebe5;
  padding: 80px 60px 88px;
}

.monthly-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.01em;
}

.monthly-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
}

.monthly-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;       /* trông gần với ảnh mẫu */
}

.monthly-card .mc-bg {
  /* position: absolute; */
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.monthly-card:hover .mc-bg {
  transform: scale(1.04);
}

/* Card 1: beige/greige tones — brushes on light bg */
.mc-bg-1 {
  background: linear-gradient(135deg, #ccc4ba 0%, #b8b0a6 40%, #a8a098 100%);
}

/* Card 2: dark brown — powder brush dramatic */
.mc-bg-2 {
  background: linear-gradient(135deg, #3a3028 0%, #4e4438 50%, #605850 100%);
}

/* Text info block */
.monthly-card-info {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  color: white;
}

.mc-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.mc-sub {
  font-size: 13px;
  font-weight: 300;
  opacity: 0.88;
  line-height: 1.5;
}

/* Highlighted text in card 2 subtitle */
.mc-highlight {
  color: #c8a840;
  font-weight: 500;
}

/* Dark overlay on monthly cards */
.monthly-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

/* Brush SVG inside cards */
.mc-brushes {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 65%;
  z-index: 1;
}

/* ==============================================
   BRAND STORY SECTION
   ============================================== */
.brand-story-section {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f0ece6;
}

/* Large decorative background text */
.bs-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.bs-bg-text span {
  font-family: 'Playfair Display', serif;
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 700;
  color: #d8d0c8;
  letter-spacing: -0.02em;
  line-height: 0.85;
  opacity: 0.6;
  white-space: nowrap;
  margin: 0 8px;
  transform: rotate(-4deg);
}

/* Center content overlay */
.bs-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 48px 40px;
}

.bs-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.bs-logo-script {
  width: 200px;
  margin: -4px auto 12px;
}

.bs-btn {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  text-decoration: none;
  border: 1px solid #1a1a1a;
  padding: 11px 44px;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
  margin-top: 4px;
}

.bs-btn:hover {
  background: #1a1a1a;
  color: #f2ede8;
}

/* ==============================================
   TABLET (max-width: 1024px)
   ============================================== */
@media (max-width: 1024px) {
  .best-section {
    padding: 60px 40px 68px;
  }

  .mds-section-inner {
    padding: 0 40px;
  }

  .mds-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .monthly-section {
    padding: 60px 40px 68px;
  }
}

/* ==============================================
   TABLET (max-width: 900px)
   ============================================== */
@media (max-width: 900px) {
  .best-section {
    padding: 48px 24px 56px;
  }

  .best-title {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .best-tabs {
    gap: 24px;
    margin-bottom: 36px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .carousel-btn.prev { left: -12px; }
  .carousel-btn.next { right: -12px; }

  /* New Items */
  .new-items-section {
    grid-template-columns: repeat(2, 1fr);
  }

  /* MD's Pick */
  .mds-section {
    padding: 56px 0;
  }

  .mds-section-inner {
    padding: 0 24px;
  }

  .mds-title {
    font-size: 30px;
    margin-bottom: 36px;
  }

  .mds-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mds-product-title {
    font-size: 22px;
  }

  /* Monthly */
  .monthly-section {
    padding: 48px 24px 56px;
  }

  .monthly-title {
    font-size: 30px;
  }

  /* Brand Story */
  .brand-story-section {
    min-height: 260px;
  }

  .bs-bg-text span {
    font-size: 56px;
  }
}

/* ==============================================
   MOBILE (max-width: 480px)
   ============================================== */
@media (max-width: 480px) {
  .best-section {
    padding: 36px 16px 48px;
  }

  .best-title {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .best-tabs {
    gap: 16px;
    margin-bottom: 28px;
  }

  .best-tabs li {
    font-size: 13px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-name {
    font-size: 12px;
  }

  .price-sale,
  .price-regular {
    font-size: 13px;
  }

  .price-original {
    font-size: 11px;
  }

  .carousel-btn {
    display: none;
  }

  .view-more-btn {
    padding: 11px 40px;
    font-size: 12px;
  }

  .view-more-wrap {
    margin-top: 36px;
  }

  /* New Items */
  .new-items-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .new-item-info .ni-label {
    font-size: 20px;
  }

  .new-item-info .ni-name {
    font-size: 11px;
  }

  /* MD's Pick */
  .mds-section {
    padding: 36px 0 48px;
  }

  .mds-section-inner {
    padding: 0 16px;
  }

  .mds-title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .mds-product-title {
    font-size: 20px;
  }

  .mds-products {
    gap: 14px;
  }

  /* Monthly */
  .monthly-section {
    padding: 36px 16px 48px;
  }

  .monthly-title {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .monthly-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .monthly-card-info {
    bottom: 18px;
    left: 18px;
  }

  .mc-title {
    font-size: 15px;
  }

  .mc-sub {
    font-size: 12px;
  }

  /* Brand Story */
  .brand-story-section {
    min-height: 220px;
  }

  .bs-bg-text {
    display: none;
  }

  .bs-title {
    font-size: 22px;
  }

  .bs-logo-script {
    width: 150px;
  }

  .bs-btn {
    padding: 10px 36px;
    font-size: 11px;
  }
}