:root{
  /* Brand (feminino / perfumaria premium) */
  --bg0:#fff7f4;        /* nude clarinho */
  --bg1:#fff1f6;        /* blush */
  --ink:#1c1418;        /* texto */
  --muted:#6f5f67;

  --brand:#d81b60;      /* rosa framboesa */
  --brand2:#ff5fa2;     /* rosa */
  --gold:#c7a35a;       /* dourado suave */
  --wa:#22c55e;

  --card: rgba(255,255,255,.78);
  --card2: rgba(255,255,255,.62);
  --stroke: rgba(28,20,24,.10);

  --shadow: 0 18px 55px rgba(28,20,24,.12);
  --shadow2: 0 10px 25px rgba(28,20,24,.10);

  --r: 22px;
  --r2: 16px;

  --container: 1140px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;

  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial;
  color:var(--ink);

  background:
    radial-gradient(900px 520px at 10% 0%, rgba(216,27,96,.12), transparent 60%),
    radial-gradient(900px 520px at 92% 5%, rgba(199,163,90,.14), transparent 60%),
    radial-gradient(900px 520px at 50% 98%, rgba(255,95,162,.10), transparent 62%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{color:inherit}
img{max-width:100%;display:block}
main{flex:1 0 auto; width:100%}

.container{max-width:var(--container); margin:0 auto; padding:22px}

/* ===== Topbar (premium) ===== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-block: 10px;
}

.brand{
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 200px;
}
.brand__logo{
  width:46px; height:46px;
  border-radius: 16px;
  display:grid; place-items:center;
  border: 1px solid rgba(216,27,96,.16);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.35)),
    linear-gradient(180deg, rgba(216,27,96,.14), rgba(199,163,90,.10));
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.brand__logo img{height:34px; width:auto}
.brand__text{
  display:flex; flex-direction:column; line-height:1.05;
}
.brand__name{
  font-weight: 950;
  letter-spacing: -.3px;
}
.brand__tag{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav__link{
  text-decoration:none;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color: rgba(28,20,24,.88);
  font-weight: 850;
}
.nav__link:hover{
  border-color: var(--stroke);
  background: rgba(255,255,255,.65);
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:12px 16px;
  border-radius:999px;

  border: 1px solid rgba(216,27,96,.30);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.85), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(216,27,96,.22), rgba(255,95,162,.16));
  color: var(--ink);

  text-decoration:none;
  font-weight: 950;
  cursor:pointer;

  box-shadow: var(--shadow2);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  -webkit-tap-highlight-color: transparent;
  user-select:none;

  min-height: 44px;
}
.btn:hover{filter: brightness(1.01)}
.btn:active{transform: translateY(1px)}
.btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(216,27,96,.16), var(--shadow2);
}

.btn--outline{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.76);
  box-shadow:none;
}
.btn--outline:hover{background: rgba(255,255,255,.92)}
.btn--wa{
  border-color: rgba(34,197,94,.45);
  background: linear-gradient(180deg, rgba(34,197,94,.18), rgba(34,197,94,.10));
}

/* ===== Hero (nova vitrine) ===== */
.hero{margin-top:16px}
.hero__box{
  border-radius: var(--r);
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.64));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  position: relative;
  overflow:hidden;
}
.hero__box:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(420px 260px at 12% 5%, rgba(216,27,96,.18), transparent 70%),
    radial-gradient(420px 260px at 92% 20%, rgba(199,163,90,.16), transparent 70%);
  pointer-events:none;
}
.hero__content{position:relative; display:grid; gap:14px}
.hero__title{
  margin:0;
  font-size: 30px;
  letter-spacing: -.4px;
}
.hero__subtitle{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  max-width: 68ch;
}
.hero__badges{
  display:flex; flex-wrap:wrap; gap:8px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(199,163,90,.28);
  background: rgba(199,163,90,.10);
  font-weight: 900;
  color: rgba(28,20,24,.86);
  font-size: 12px;
}

/* ===== Search / Filters ===== */
.filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 2px;
}
.input{
  flex: 1 1 240px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(28,20,24,.14);
  background: rgba(255,255,255,.90);
  color: var(--ink);
  outline:none;
}
.input:focus{
  border-color: rgba(216,27,96,.34);
  box-shadow: 0 0 0 4px rgba(216,27,96,.12);
}

/* ===== Category chips ===== */
.catbar{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.catchip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(28,20,24,.12);
  background: rgba(255,255,255,.72);
  text-decoration:none;
  font-weight: 950;
  color: rgba(28,20,24,.90);
}
.catchip:hover{ background: rgba(255,255,255,.92); }
.catchip.is-active{
  border-color: rgba(216,27,96,.30);
  background: rgba(216,27,96,.10);
}

/* ===== Section Head ===== */
.sectionhead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-top: 18px;
}
.sectionhead__title{
  margin:0;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.2px;
}
.sectionhead__sub{
  color: var(--muted);
  font-size: 13px;
}

/* ===== Grid / Cards (vitrine) ===== */
.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.card{
  border-radius: var(--r);
  overflow:hidden;
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card__imgwrap{display:block; position:relative}
.card__img{
  width:100%;
  height:220px;
  object-fit:cover;
  background: rgba(255,255,255,.5);
}
.card__imgwrap:after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(28,20,24,.12));
  pointer-events:none;
}

.card__body{padding:14px}
.pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,95,162,.32);
  background: rgba(255,95,162,.10);
  color: rgba(28,20,24,.88);
  font-size:12px;
  font-weight: 900;
}

.card__title{
  margin:10px 0 8px 0;
  font-size:15px;
  line-height:1.25;
  letter-spacing: -.1px;
}
.card__title a{text-decoration:none}
.card__title a:hover{text-decoration:underline}

.price{
  font-weight: 1000;
  letter-spacing: .2px;
}
.price--big{font-size: 22px}

.card__actions{
  display:flex;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}
.card__actions--center{ justify-content:center; }
.card__actions .btn{flex:1 1 170px}

/* ===== Product page ===== */
.product{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  margin-top: 18px;
}
.product__media{
  border-radius: var(--r);
  overflow:hidden;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
}
.product__img{
  width:100%;
  height: 520px;
  object-fit: cover;
}
.product__info{
  border-radius: var(--r);
  padding: 18px;
  border: 1px solid var(--stroke);
  background: var(--card);
  box-shadow: var(--shadow2);
}
.product__title{
  margin: 10px 0 8px 0;
  letter-spacing: -.3px;
}
.product__desc{
  margin: 10px 0 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.bullets{
  margin: 12px 0 0 0;
  padding-left: 18px;
  color: rgba(28,20,24,.92);
}
.meta{
  margin-top: 12px;
  display:grid;
  gap: 6px;
  color: rgba(28,20,24,.86);
}
.product__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.note{
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px dashed rgba(28,20,24,.18);
  padding-top: 12px;
}

/* ===== Empty / 404 ===== */
.empty{
  border-radius: var(--r);
  padding: 18px;
  background: rgba(255,255,255,.65);
  border:1px solid var(--stroke);
  box-shadow: var(--shadow2);
  margin-top: 18px;
}
.empty a{font-weight: 950}

/* ===== Footer ===== */
.footer{
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--stroke);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.footer__inner{
  padding-block: 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
}
.footer__copy{
  color: var(--muted);
  font-weight: 900;
  letter-spacing: .2px;
}
.footer__links{
  display:flex; gap:10px; flex-wrap:wrap;
}
.footer__links a{
  text-decoration:none;
  color: rgba(28,20,24,.85);
  font-weight: 900;
}
.footer__links a:hover{text-decoration:underline}

/* ===== Floating WhatsApp ===== */
.fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
}
.fab__btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 1000;

  border: 1px solid rgba(34,197,94,.45);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}
.fab__dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--wa);
  box-shadow: 0 0 0 6px rgba(34,197,94,.14);
}

/* ===== Responsive ===== */
@media (max-width: 1080px){
  .grid{grid-template-columns: repeat(3, minmax(0,1fr))}
}
@media (max-width: 860px){
  .grid{grid-template-columns: repeat(2, minmax(0,1fr))}
  .product{grid-template-columns: 1fr; }
  .product__img{height: 420px}
}
@media (max-width: 640px){
  .container{padding:16px}
  .hero__title{font-size:24px}
  .brand{min-width: auto}
  .brand__text{display:none} /* limpa no mobile */

  .catbar{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .catchip{white-space:nowrap}

  .grid{grid-template-columns: 1fr}
  .card__img{height: 210px}

  .card__actions .btn{flex:1 1 100%}

  .fab__btn span{display:none} /* só bolinha no mobile */
}