/* =========================================================
   HEADER JERBEL
========================================================= */

.top-announcement{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:42px;
  padding:8px 22px;
  background:linear-gradient(
    90deg,
    #fff0f7 0%,
    #f4efff 50%,
    #eafff9 100%
  );
  color:#6d5362;
  font-size:12px;
  font-weight:700;
  line-height:1.4;
  text-align:center;
}

.top-announcement span{
  white-space:nowrap;
}

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  width:100%;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(216,111,166,.14);
  box-shadow:0 8px 30px rgba(91,56,75,.04);
}

/* =========================================================
   PARTE SUPERIOR
========================================================= */

.header-premium{
  width:min(1320px,92%);
  min-height:94px;
  margin:0 auto;
  display:grid;
  grid-template-columns:270px minmax(320px,560px) auto;
  align-items:center;
  justify-content:space-between;
  gap:38px;
}

.header-brand-area{
  display:flex;
  align-items:center;
  min-width:0;
}

.brand{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  flex-shrink:0;
}

.brand strong{
  display:block;
  font-family:var(--title, "Playfair Display", serif);
  font-size:48px;
  line-height:.9;
  color:var(--pink, #d76b9a);
  letter-spacing:-.035em;
}

.brand span{
  display:block;
  margin-top:9px;
  color:var(--text, #30252b);
  font-size:10px;
  font-weight:800;
  letter-spacing:.27em;
  line-height:1.2;
  text-transform:uppercase;
  white-space:nowrap;
}

/* =========================================================
   BUSCA
========================================================= */

.header-search{
  position:relative;
  width:100%;
  max-width:560px;
  margin:0 auto;
  display:flex;
  align-items:center;
}

.header-search input{
  width:100%;
  height:52px;
  padding:0 62px 0 21px;
  border:1px solid rgba(216,111,166,.22);
  border-radius:18px;
  outline:none;
  background:#fffafc;
  color:var(--text, #30252b);
  font-family:var(--body, "Inter", sans-serif);
  font-size:14px;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.header-search input::placeholder{
  color:#a38b97;
}

.header-search input:focus{
  border-color:rgba(216,111,166,.65);
  background:#fff;
  box-shadow:0 0 0 4px rgba(216,111,166,.10);
}

.header-search button{
  position:absolute;
  top:50%;
  right:7px;
  width:40px;
  height:40px;
  padding:0;
  transform:translateY(-50%);
  display:grid;
  place-items:center;
  border:0;
  border-radius:13px;
  background:linear-gradient(
    135deg,
    var(--pink, #ff6da9),
    var(--purple, #b66cf2)
  );
  color:#fff;
  font-size:17px;
  cursor:pointer;
  box-shadow:0 9px 22px rgba(216,111,166,.24);
  transition:transform .2s ease, box-shadow .2s ease;
}

.header-search button:hover{
  transform:translateY(-50%) scale(1.05);
  box-shadow:0 12px 26px rgba(216,111,166,.32);
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* =========================================================
   AÇÕES
========================================================= */

.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:11px;
  flex-shrink:0;
}

.header-icon,
.header-cart{
  position:relative;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid rgba(216,111,166,.18);
  border-radius:16px;
  background:#fff;
  color:#6b5260;
  font-size:19px;
  line-height:1;
  box-shadow:0 9px 25px rgba(216,111,166,.08);
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}

.header-icon:hover,
.header-cart:hover{
  transform:translateY(-3px);
  border-color:rgba(216,111,166,.42);
  background:#fff7fb;
  box-shadow:0 14px 30px rgba(216,111,166,.16);
}

.header-cart em{
  position:absolute;
  top:-7px;
  right:-7px;
  min-width:21px;
  height:21px;
  padding:0 5px;
  display:grid;
  place-items:center;
  border:2px solid #fff;
  border-radius:999px;
  background:linear-gradient(
    135deg,
    var(--pink, #ff6da9),
    var(--purple, #b66cf2)
  );
  color:#fff;
  font-family:var(--body, "Inter", sans-serif);
  font-size:10px;
  font-style:normal;
  font-weight:900;
  line-height:1;
  box-shadow:0 5px 14px rgba(216,111,166,.30);
}

/* =========================================================
   NAVEGAÇÃO
========================================================= */

.header-navigation{
  width:100%;
  border-top:1px solid rgba(216,111,166,.10);
  background:rgba(255,255,255,.74);
}

.header-menu{
  width:min(1320px,92%);
  min-height:54px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:40px;
  color:var(--text, #30252b);
  font-size:13px;
  font-weight:800;
}

.header-menu a{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:54px;
  padding:0 2px;
  white-space:nowrap;
}

.header-menu a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:9px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(
    90deg,
    var(--pink, #ff6da9),
    var(--purple, #b66cf2)
  );
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .25s ease;
}

.header-menu a:hover::after{
  transform:scaleX(1);
}

/* =========================================================
   BOTÃO MOBILE
========================================================= */

.mobile-menu-button{
  display:none;
  width:46px;
  height:46px;
  padding:0;
  place-items:center;
  flex-shrink:0;
  border:1px solid rgba(216,111,166,.18);
  border-radius:15px;
  background:#fff;
  color:#6e5262;
  font-size:23px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 9px 25px rgba(216,111,166,.09);
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width:1100px){

  .header-premium{
    grid-template-columns:230px minmax(260px,1fr) auto;
    gap:22px;
  }

  .brand strong{
    font-size:42px;
  }

  .header-menu{
    gap:27px;
  }

  .top-announcement{
    gap:22px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:850px){

  .top-announcement{
    min-height:38px;
    padding:9px 14px;
    font-size:12px;
  }

  .top-announcement span:nth-child(2),
  .top-announcement span:nth-child(3){
    display:none;
  }

  .site-header{
    position:sticky;
  }

  .header-premium{
    width:min(94%,720px);
    min-height:auto;
    padding:15px 0;
    display:grid;
    grid-template-columns:1fr auto;
    gap:14px;
  }

  .header-brand-area{
    display:flex;
    align-items:center;
    gap:12px;
  }

  .mobile-menu-button{
    display:grid;
    order:-1;
  }

  .brand strong{
    font-size:39px;
  }

  .brand span{
    margin-top:7px;
    font-size:9px;
    letter-spacing:.21em;
  }

  .header-actions{
    gap:8px;
  }

  .header-icon,
  .header-cart{
    width:42px;
    height:42px;
    border-radius:14px;
    font-size:17px;
  }

  .header-search{
    grid-column:1 / -1;
    grid-row:2;
    max-width:none;
  }

  .header-search input{
    height:48px;
    border-radius:16px;
  }

  .header-search button{
    width:37px;
    height:37px;
    border-radius:12px;
  }

  .header-navigation{
    position:relative;
    border-top:0;
  }

  .header-menu{
    position:absolute;
    top:0;
    right:3%;
    z-index:1100;
    width:min(300px,94vw);
    min-height:auto;
    padding:12px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:3px;
    border:1px solid rgba(216,111,166,.16);
    border-radius:0 0 20px 20px;
    background:#fff;
    box-shadow:0 24px 55px rgba(75,42,60,.16);
  }

  .header-menu.is-open{
    display:flex;
  }

  .header-menu a{
    min-height:48px;
    padding:0 17px;
    border-radius:12px;
    font-size:14px;
  }

  .header-menu a::after{
    display:none;
  }

  .header-menu a:hover{
    background:#fff4f8;
    color:var(--pink, #d76b9a);
  }
}

/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width:560px){

  .header-premium{
    width:92%;
    padding:13px 0;
    gap:12px;
  }

  .header-brand-area{
    gap:9px;
  }

  .brand strong{
    font-size:34px;
  }

  .brand span{
    max-width:180px;
    font-size:8px;
    letter-spacing:.17em;
  }

  .mobile-menu-button{
    width:41px;
    height:41px;
    font-size:21px;
  }

  .header-actions{
    gap:6px;
  }

  .header-icon,
  .header-cart{
    width:39px;
    height:39px;
    border-radius:13px;
    font-size:16px;
  }

  .header-cart em{
    top:-6px;
    right:-6px;
    min-width:20px;
    height:20px;
    font-size:9px;
  }

  .header-search input{
    height:47px;
    padding-left:17px;
    padding-right:56px;
    font-size:13px;
  }

  .header-menu{
    right:4%;
    width:92%;
  }
}

/* Em celulares muito estreitos, oculta favoritos */
@media (max-width:390px){

  .header-actions .header-icon:first-child{
    display:none;
  }

  .brand strong{
    font-size:31px;
  }

  .brand span{
    font-size:7px;
  }
}