/* Belle Parfumerie — Home redesign (referência premium) */

body.home-belle {
  background: var(--cream);
}

/* —— Full width: usar todo o site como na referência —— */
body.home-belle .site-topbar {
  max-width: 100%;
}

body.home-belle.home-belle main,
body.home-belle .site-topbar + main {
  max-width: 100%;
}

body.home-belle .container {
  max-width: 1360px;
}

/* —— Promo bar —— */
body.home-belle .promo-banner-sephora {
  background: linear-gradient(90deg, #4a1228 0%, #6b1d3a 50%, #4a1228 100%);
  color: #e8d5a8;
  border-bottom: none;
  min-height: 40px;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.home-belle .promo-banner-sephora .promo-label {
  font-weight: 500;
  color: #e8d5a8;
}

body.home-belle .promo-banner-sephora .promo-label strong {
  color: #f0dfa0;
  font-weight: 700;
}

body.home-belle .promo-star {
  color: #c9a962;
  margin: 0 6px;
}

/* —— Header —— */
body.home-belle .header-main {
  grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
  gap: 20px;
  padding-block: 16px 10px;
}

body.home-belle .search-box {
  margin: 0;
  justify-self: start;
  max-width: 360px;
  border-radius: 999px;
  border-color: #e8d5d5;
  background: #fff;
  display: flex;
  align-items: center;
}

body.home-belle .search-box input {
  border-radius: 999px 0 0 999px;
  background: #fff;
  font-size: 0.875rem;
}

body.home-belle .search-box .btn {
  display: none;
}

body.home-belle .search-box::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-left: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b1d3a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}

body.home-belle .brand {
  justify-self: center;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
}

body.home-belle .brand-name {
  font-size: inherit;
}

body.home-belle .header-actions {
  justify-self: end;
  gap: 8px;
}

body.home-belle .header-actions .icon-btn {
  border: none;
  background: transparent;
  min-height: 40px;
  padding: 0 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  flex-direction: column;
  gap: 2px;
  min-width: 56px;
}

body.home-belle .header-actions .icon-btn .header-icon {
  font-size: 1.25rem;
  line-height: 1;
}

body.home-belle .header-actions #headerAuthLinks .icon-btn:not(.icon-btn-fav) {
  display: none;
}

body.home-belle .header-actions #headerAuthLinks .header-auth-desktop {
  display: inline-flex;
}

/* —— Nav —— */
body.home-belle .nav-categories-wrap {
  border-top: 1px solid #f0e0e4;
}

body.home-belle .nav-categories-inner {
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

body.home-belle .nav-cat-link {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 14px;
  color: var(--text);
}

body.home-belle .nav-cat-link:hover,
body.home-belle .nav-cat-link:focus {
  color: var(--burgundy);
  background: rgba(107, 29, 58, 0.05);
}

body.home-belle .nav-cat-link-ofertas {
  color: var(--burgundy);
}

/* —— Hero grid —— */
.hero-belle-section {
  padding: 28px 0 36px;
  background: var(--cream);
}

.hero-belle-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  align-items: stretch;
  min-height: 420px;
}

.hero-belle-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 420px;
  background: #f8e8ec center/cover no-repeat;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 32px rgba(107, 29, 58, 0.12);
}

.hero-belle-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(248, 232, 236, 0.55) 45%, rgba(248, 232, 236, 0.88) 100%);
  pointer-events: none;
}

.hero-belle-main-content {
  position: relative;
  z-index: 1;
  padding: 40px 36px 40px 44px;
  max-width: 340px;
  margin-left: auto;
}

.hero-belle-main-content h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--burgundy);
  letter-spacing: -0.01em;
}

.hero-belle-main-content p {
  margin: 0 0 24px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #5c3d48;
}

.btn-belle-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--burgundy);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(107, 29, 58, 0.35);
}

.btn-belle-primary:hover {
  background: var(--burgundy-dark);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.hero-belle-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-belle-cat {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  text-decoration: none !important;
  color: #fff !important;
  background: center/cover no-repeat;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s, box-shadow 0.25s;
}

.hero-belle-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.hero-belle-cat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  text-decoration: none !important;
}

.hero-belle-cat--maquiagem { background-image: url("/images/home/cat-maquiagem.png"); }
.hero-belle-cat--perfumes { background-image: url("/images/home/cat-perfumes.png"); }
.hero-belle-cat--skincare { background-image: url("/images/home/cat-skincare.png"); }
.hero-belle-cat--cabelos { background-image: url("/images/home/cat-cabelos.png"); }

.hero-belle-cat-text {
  position: relative;
  z-index: 1;
}

.hero-belle-cat-label {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-belle-cat-desc {
  display: block;
  font-size: 0.75rem;
  line-height: 1.35;
  opacity: 0.92;
  max-width: 160px;
}

.hero-belle-cat-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* —— Promo 30% banner —— */
.promo-belle-banner {
  position: relative;
  margin: 0 0 48px;
  min-height: 200px;
  background: var(--burgundy) center/cover no-repeat;
  overflow: hidden;
}

.promo-belle-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(74, 18, 40, 0.92) 0%, rgba(74, 18, 40, 0.75) 55%, rgba(74, 18, 40, 0.45) 100%);
}

.promo-belle-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px var(--gutter);
  flex-wrap: wrap;
}

.promo-belle-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: #f0dfa0;
  line-height: 1.25;
  max-width: 480px;
}

.promo-belle-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.promo-belle-cupom-box {
  padding: 12px 20px;
  border: 2px dashed #c9a962;
  border-radius: 8px;
  color: #f0dfa0;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

.promo-belle-cupom-box strong {
  display: block;
  font-size: 1.125rem;
  letter-spacing: 0.14em;
  margin-top: 4px;
  color: #fff;
}

.btn-belle-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #d4b56a 0%, #c9a962 50%, #b8944f 100%);
  color: #4a1228 !important;
  border: none;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.btn-belle-gold:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* —— Favoritos carousel —— */
.favorites-section {
  padding: 40px 0 56px;
  background: var(--cream);
}

.favorites-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.favorites-intro {
  flex: 0 0 180px;
}

.favorites-intro h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--burgundy);
}

.favorites-kicker {
  margin: 0 0 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.favorites-see-all {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  border-bottom: 1px solid var(--burgundy);
  padding-bottom: 2px;
  text-decoration: none !important;
}

.favorites-see-all:hover {
  color: var(--burgundy-dark);
}

.favorites-scroll-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e8d5d5;
  background: #fff;
  color: var(--burgundy);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.favorites-scroll-btn:hover {
  background: #fdf5f7;
  border-color: var(--burgundy);
}

.favorites-scroll-prev {
  display: none;
}

.favorites-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.favorites-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.favorites-track::-webkit-scrollbar {
  display: none;
}

/* —— Premium product card —— */
.product-card-premium {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0e0e4;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(107, 29, 58, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(107, 29, 58, 0.14);
}

.product-card-premium-img-wrap {
  position: relative;
  padding: 20px 20px 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.product-card-premium-img-wrap img {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #faf8f9;
}

.product-card-premium-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.product-card-premium-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: #ccc;
  transition: color 0.2s;
}

.product-card-premium-wish:hover,
.product-card-premium-wish.is-active {
  color: var(--burgundy);
}

.product-card-premium-body {
  padding: 12px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-premium-brand {
  margin: 0 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-card-premium-title {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(0.9375rem * 1.35 * 2);
}

.product-card-premium-title a {
  color: inherit;
  text-decoration: none;
}

.product-card-premium-title a:hover {
  color: var(--burgundy);
}

.product-card-premium-stars,
.product-card-premium-pix {
  margin: 0 0 10px;
  font-size: 0.75rem;
  color: var(--text-muted, #666);
  letter-spacing: 0;
}

.product-card-premium-stars {
  color: #c9a962;
  letter-spacing: 1px;
}

.product-card-premium-stars span {
  color: var(--text-muted);
  letter-spacing: 0;
  margin-left: 4px;
}

.product-card-premium-prices {
  margin-top: auto;
}

.product-card-premium-original {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card-premium-current {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-top: 2px;
}

.product-card-premium .btn-add-cart {
  margin-top: 12px;
  width: 100%;
  min-height: 40px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--burgundy);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.product-card-premium .btn-add-cart:hover {
  background: var(--burgundy-dark);
}

/* —— Trust bar —— */
.trust-belle-bar {
  background: #fff;
  border-top: 1px solid #f0e0e4;
  border-bottom: 1px solid #f0e0e4;
  padding: 32px 0;
  margin-bottom: 48px;
}

.trust-belle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.trust-belle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
  justify-content: center;
}

.trust-belle-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--burgundy);
  flex-shrink: 0;
}

.trust-belle-item-text {
  text-align: left;
}

.trust-belle-item strong {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2px;
}

.trust-belle-item span {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* —— Home shelves use premium cards —— */
body.home-belle .shelf-scroll-inner {
  display: flex !important;
  gap: 20px;
  grid-auto-flow: unset;
  grid-auto-columns: unset;
  grid-template-columns: unset;
}

body.home-belle .shelf-scroll-inner .product-card-premium {
  flex: 0 0 240px;
  scroll-snap-align: start;
}

body.home-belle .shelf-section .section-head h2 {
  font-family: var(--font-display);
  color: var(--burgundy);
  font-size: 1.75rem;
}

body.home-belle .shelf-section .section-head p {
  color: var(--text-muted);
}

body.home-belle .shelf-section .see-all {
  color: var(--burgundy);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8125rem;
}

body.home-belle .btn-primary {
  background: var(--burgundy);
  border-color: var(--burgundy);
}

body.home-belle .btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
}

body.home-belle .cart-badge {
  background: var(--burgundy);
}

body.home-belle .product-grid-search .product-card-premium {
  flex: unset;
}

body.home-belle .product-grid-search {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  body.home-belle .product-grid-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* —— Hide old sections on home —— */
body.home-belle .hero-offer,
body.home-belle .hero-shop,
body.home-belle .trust-strip {
  display: none !important;
}

body.home-belle #beneficios {
  background: #fff;
}

body.home-belle .newsletter-box {
  background: linear-gradient(135deg, #fdf5f7 0%, #fff 100%);
  border: 1px solid #f0e0e4;
  color: var(--text);
}

body.home-belle .newsletter-box h2 {
  color: var(--burgundy);
}

body.home-belle .newsletter-box p {
  color: var(--text-muted);
}

body.home-belle .newsletter-form {
  flex-wrap: wrap;
}

body.home-belle .newsletter-form .btn {
  white-space: nowrap;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero-belle-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-belle-main {
    min-height: 320px;
  }

  .hero-belle-main-content {
    margin-left: 0;
    max-width: none;
    padding: 32px 24px;
  }

  .trust-belle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .promo-belle-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  body.home-belle .header-main {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "search search";
  }

  body.home-belle .brand {
    grid-area: brand;
    justify-self: start;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }

  body.home-belle .search-box {
    grid-area: search;
    max-width: none;
    width: 100%;
  }

  body.home-belle .header-actions {
    grid-area: actions;
  }

  body.home-belle .nav-categories {
    display: none;
  }

  body.home-belle .header-main .menu-toggle {
    display: inline-flex;
  }

  .hero-belle-cats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-belle-cat {
    min-height: 140px;
    padding: 12px;
  }

  .hero-belle-cat-label {
    font-size: 0.875rem;
  }

  .hero-belle-cat-desc {
    display: none;
  }

  .product-card-premium {
    flex: 0 0 180px;
  }

  .trust-belle-grid {
    grid-template-columns: 1fr;
  }

  .favorites-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .favorites-intro {
    flex: none;
  }

  .favorites-scroll-btn {
    display: none;
  }
}
