/* Magia Capilar v3, camada de acabamento sobre o tema original. */
:root {
  --mc-wine-950: #3d0815;
  --mc-wine-900: #560d20;
  --mc-wine-800: #74182e;
  --mc-wine-700: #8f2440;
  --mc-gold-500: #d9a667;
  --mc-gold-300: #f0cf9e;
  --mc-ivory-50: #fffaf4;
  --mc-ivory-100: #f9f2e8;
  --mc-ink: #23191a;
  --mc-shadow: 0 20px 60px rgba(61, 8, 21, .16);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  color: var(--mc-ink);
  background: var(--mc-ivory-50);
}

img,
video,
picture {
  max-width: 100%;
}

main,
section,
.container,
.header-inner,
.hero-slides,
.hero-slide {
  min-width: 0;
}

.announce {
  position: relative;
  min-height: 38px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  overflow: hidden;
  background: var(--mc-wine-950);
  color: #fff8ee;
  font-size: 12px;
  letter-spacing: .035em;
}

.announce-track {
  display: flex;
  align-items: center;
  gap: 38px;
  white-space: nowrap;
}

.announce-track .announce-item:not(:last-child)::after {
  content: "•";
  margin-left: 38px;
  color: var(--mc-gold-500);
}

.site-header {
  background: rgba(86, 13, 32, .98);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 30px rgba(61, 8, 21, .14);
}

.header-inner {
  min-height: 86px;
}

.header-inner .logo img {
  width: 182px;
  height: auto;
}

.nav a {
  position: relative;
  padding: 12px 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--mc-gold-500);
  transition: right .22s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  right: 0;
}

.hero-v3,
.hero-v3 .hero-slides,
.hero-v3 .hero-slide {
  min-height: clamp(590px, 62vw, 790px);
}

.hero-v3 {
  position: relative;
  width: 100%;
  background: var(--mc-wine-950);
  overflow: hidden;
}

.hero-v3 .hero-slides {
  position: relative;
  display: block;
  width: 100%;
}

.hero-campaign {
  position: absolute;
  inset: 0;
  display: block;
  grid-area: auto;
  padding: 0;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition: opacity .55s ease, visibility .55s ease;
}

.hero-campaign.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.hero-campaign-picture,
.hero-campaign-picture img,
.hero-campaign-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-campaign-picture img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-campaign-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(48, 4, 14, .90) 0%, rgba(61, 8, 21, .76) 29%, rgba(61, 8, 21, .18) 57%, transparent 77%),
    linear-gradient(0deg, rgba(30, 4, 10, .30), transparent 38%);
}

.hero-campaign-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 64px));
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(60px, 7vw, 96px) 0 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fffaf4;
}

.hero-campaign-logo {
  width: clamp(180px, 16vw, 248px);
  height: auto;
  margin-bottom: 28px;
  object-fit: contain;
}

.hero-campaign-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--mc-gold-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero-campaign-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero-campaign h2 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 5vw, 78px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}

.hero-campaign h2 em {
  color: var(--mc-gold-300);
  font-weight: 500;
}

.hero-campaign-content > p:not(.hero-campaign-price) {
  max-width: 580px;
  margin: 24px 0 0;
  color: rgba(255, 250, 244, .86);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
}

.hero-campaign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-campaign .btn {
  min-height: 52px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero-campaign .btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  color: var(--mc-wine-950);
  background: linear-gradient(135deg, #f4d7a6, #d89e55);
  box-shadow: 0 14px 34px rgba(216, 158, 85, .28);
}

.btn-light-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .54);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.hero-campaign-price {
  margin: 18px 0 0;
  color: rgba(255, 250, 244, .72);
  font-size: 13px;
  font-weight: 600;
}

.hero-v3 .hero-nav {
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(50, 7, 17, .42);
  backdrop-filter: blur(10px);
}

.hero-v3 .hero-dots {
  z-index: 4;
  bottom: 28px;
}

.hero-v3 .hero-dot,
.hero-v3 .hero-dots button {
  background: rgba(255, 255, 255, .48);
}

.hero-v3 .hero-dot.active,
.hero-v3 .hero-dots button.active {
  background: var(--mc-gold-300);
}

.prods-grid {
  gap: 20px;
}

.prod-card {
  overflow: hidden;
  border: 1px solid rgba(116, 24, 46, .10);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(56, 32, 34, .08);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.prod-card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 36, 64, .24);
  box-shadow: var(--mc-shadow);
}

.prod-card .prod-img {
  background: linear-gradient(145deg, #fffaf6, #f3e6e5);
}

.prod-card .prod-img img {
  transition: transform .4s ease;
}

.prod-card:hover .prod-img img {
  transform: scale(1.035);
}

.prod-body {
  padding: 20px;
}

.prod-desc:empty {
  display: none;
}

.consent-banner {
  left: 20px;
  right: auto;
  bottom: 20px;
  width: min(640px, calc(100vw - 40px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(35, 25, 26, .96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  backdrop-filter: blur(14px);
}

.consent-banner-inner {
  width: 100%;
  max-width: none;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.consent-banner-text {
  font-size: 12px;
  line-height: 1.55;
}

.consent-banner-actions {
  display: flex;
  gap: 8px;
}

.consent-banner-actions .btn {
  min-width: 88px;
  min-height: 42px;
  padding: 0 16px;
}

/* PDP: acabamento de compra, galeria e leitura. */
.pdp-main {
  align-items: start;
  gap: clamp(34px, 5vw, 72px);
}

.pdp-gallery-main {
  border: 1px solid rgba(116, 24, 46, .10);
  background: linear-gradient(145deg, #fffaf5, #f1e4df);
  box-shadow: 0 18px 48px rgba(61, 8, 21, .10);
}

.pdp-gallery-main img {
  object-fit: contain;
}

.pdp-thumb {
  border-color: rgba(116, 24, 46, .10);
  background: #fff;
}

.pdp-thumb img {
  object-fit: contain;
}

.pdp-info {
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(116, 24, 46, .10);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 54px rgba(61, 8, 21, .09);
}

.pdp-info h1 {
  color: var(--mc-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.02;
}

.pdp-resumo {
  font-size: 15px;
  line-height: 1.72;
}

.pdp-price-now {
  color: var(--mc-wine-800);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -.045em;
}

.pdp-desconto-pix {
  display: inline-flex;
  margin: -8px 0 20px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #1e6b43;
  background: #e9f7ef;
  font-size: 12px;
  font-weight: 700;
}

.pdp-buy-now {
  min-height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mc-wine-800), var(--mc-wine-950));
  box-shadow: 0 14px 34px rgba(86, 13, 32, .22);
}

.pdp-frete-check input,
.pdp-frete-check button {
  min-width: 0;
}

.pdp-story {
  margin-top: clamp(44px, 7vw, 92px);
  padding: clamp(50px, 7vw, 92px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(191, 117, 126, .22), transparent 34%),
    linear-gradient(135deg, #2f0712 0%, #561023 52%, #21060d 100%);
  overflow: hidden;
}

.pdp-story-grid {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.pdp-story-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 28px 72px rgba(0, 0, 0, .28);
}

.pdp-story-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.pdp-story-content {
  max-width: 650px;
}

.pdp-story-content .eyebrow {
  color: #f2b9c1;
}

.pdp-story-content h2 {
  max-width: 680px;
  margin: 10px 0 20px;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  line-height: 1;
}

.pdp-story-content > p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.75;
}

.pdp-story-content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.pdp-story-content li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(8px);
}

.pdp-story-content li span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #42101e;
  background: #f7d7dc;
  font-size: 13px;
  font-weight: 800;
}

.pdp-story-content li strong {
  padding-top: 4px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

.pdp-story-sem-midia .pdp-story-grid {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

@media (max-width: 900px) {
  .announce {
    justify-content: flex-start;
    gap: 0;
    padding: 0;
  }

  .announce > .announce-item {
    display: none;
  }

  .announce-track {
    min-width: max-content;
    gap: 32px;
    padding-left: 100%;
    animation: magia-announcement 22s linear infinite;
  }

  .announce-track .announce-item:not(:last-child)::after {
    margin-left: 32px;
  }

  @keyframes magia-announcement {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
  }

  .header-inner {
    min-height: 76px;
  }

  .header-inner .logo img {
    width: 150px;
  }

  .hero-v3,
  .hero-v3 .hero-slides,
  .hero-v3 .hero-slide {
    min-height: min(860px, calc(100svh - 114px));
  }

  .hero-campaign-picture img {
    object-position: center bottom;
  }

  .hero-campaign-shade {
    background:
      linear-gradient(180deg, rgba(50, 5, 15, .91) 0%, rgba(61, 8, 21, .75) 34%, rgba(61, 8, 21, .18) 58%, rgba(40, 4, 12, .18) 100%);
  }

  .hero-campaign-content {
    width: min(100% - 40px, 620px);
    min-height: inherit;
    padding: 34px 0 44%;
    justify-content: flex-start;
  }

  .hero-campaign-logo {
    width: 142px;
    margin-bottom: 16px;
  }

  .hero-campaign-eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .hero-campaign h2 {
    max-width: 100%;
    font-size: clamp(38px, 11vw, 58px);
    line-height: .98;
  }

  .hero-campaign-content > p:not(.hero-campaign-price) {
    max-width: 94%;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.48;
  }

  .hero-campaign-actions {
    margin-top: 20px;
  }

  .hero-campaign .btn {
    min-height: 46px;
    padding: 0 20px;
    font-size: 13px;
  }

  .hero-campaign-price {
    margin-top: 12px;
    font-size: 11px;
  }

  .hero-v3 .hero-nav {
    display: none;
  }

  .pdp-main {
    gap: 24px;
    padding-top: 4px;
  }

  .pdp-story-grid {
    grid-template-columns: 1fr;
  }

  .pdp-story-media {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .pdp-info {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .consent-banner {
    left: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    max-height: 230px;
    overflow: hidden;
  }

  .consent-banner-inner {
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .consent-banner-text {
    font-size: 11px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .consent-banner-actions {
    width: 100%;
  }

  .consent-banner-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .hero-campaign-content {
    width: calc(100% - 32px);
    max-width: calc(100vw - 32px);
    padding-top: 24px;
    overflow-wrap: anywhere;
  }

  .hero-campaign-logo {
    width: 124px;
  }

  .hero-campaign h2 {
    font-size: clamp(34px, 10.6vw, 48px);
  }

  .hero-campaign-actions {
    width: 100%;
    gap: 8px;
  }

  .hero-campaign .btn {
    flex: 1 1 150px;
    min-width: 0;
  }

  .pdp-main,
  .pdp-gallery,
  .pdp-info,
  .pdp-frete-check {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .pdp-info {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .pdp-info h1 {
    font-size: 36px;
  }

  .pdp-gallery-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .pdp-frete-check {
    flex-wrap: wrap;
  }

  .pdp-frete-check input {
    flex: 1 1 180px;
  }

  .pdp-frete-check button {
    flex: 0 0 auto;
  }

  .pdp-story-content h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .pdp-story-content ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .container,
  .container-narrow {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-v3,
  .hero-v3 .hero-slides,
  .hero-v3 .hero-slide {
    width: 100%;
    max-width: 100vw;
    min-height: 760px;
  }

  .hero-campaign-content {
    width: calc(100% - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero-campaign-eyebrow {
    max-width: 100%;
    letter-spacing: .11em;
  }

  .hero-campaign h2 {
    width: 100%;
    font-size: clamp(32px, 9.5vw, 41px);
  }

  .hero-campaign-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-campaign .btn {
    width: 100%;
  }

  .selos .selos-grid {
    width: 100%;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track {
    animation: none;
    padding-left: 18px;
  }

  .hero-campaign,
  .prod-card,
  .prod-card .prod-img img {
    transition: none;
  }
}
