@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #faf7f3;
  font-family: 'Inter', Arial, sans-serif;
  color: #373530;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 70px 20px;
}

/* GŁÓWNY UKŁAD */

.laboratorium {
  width: 100%;
  max-width: 760px;
  background: transparent;
  padding: 20px 0 60px;
  text-align: left;
}

/* NAGŁÓWKI */

.oznaczenie {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #8b8178;
  margin-bottom: 25px;
}

h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin: 20px 0 30px;
  color: #373530;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  color: #373530;
}

.ikona {
  display: none;
}

/* TEKST */

.podtytul {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 25px;
}

.opis {
  font-size: 15px;
  line-height: 1.8;
  color: #68645e;
  margin-bottom: 30px;
}

/* INFORMACJE NA START */

.informacje {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 35px 0;
}

.informacje div {
  background: #ffffff;
  border: 1px solid #dedbd7;
  border-radius: 9px;
  padding: 16px 20px;
  font-size: 15px;
}

/* PRZYCISKI */

button {
  font-family: inherit;
  background: #373530;
  color: white;
  border: 1px solid #373530;
  border-radius: 9px;
  padding: 15px 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #5a554f;
  transform: translateY(-2px);
}

button:disabled {
  background: #dedbd7;
  border-color: #dedbd7;
  color: #918b84;
  cursor: not-allowed;
  transform: none;
}

/* WYBÓR SKŁADNIKÓW */

.skladniki {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 30px 0;
}

.skladnik {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  border: 1px solid #d9d5d0;
  border-radius: 9px;
  padding: 17px 20px;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.skladnik:hover {
  border-color: #8b8178;
  background: #f5f0ea;
}

.skladnik.wybrany {
  background: #eee5da;
  border: 2px solid #8b8178;
}

.skladnik .emoji {
  font-size: 23px;
}

.skladnik .nazwa {
  font-size: 15px;
  font-weight: 500;
}

/* LICZNIKI */

#licznik,
#licznikSerce,
#licznikBaza {
  font-size: 13px;
  color: #81796f;
  margin-bottom: 25px;
}

/* EKRAN WYNIKÓW */

.wynik {
  max-width: 850px;
}

.piramida {
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.poziom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

.poziom.glowa {
  width: 55%;
  min-height: 150px;
  padding-top: 45px;
  background: #e8ded2;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.poziom.serce {
  width: 75%;
  background: #d8c8b6;
}

.poziom.baza {
  width: 100%;
  background: #bba68e;
}

.etykieta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* ANALIZA */

.analiza,
.opisWyniku {
  background: #ffffff;
  border: 1px solid #e2ddd7;
  border-radius: 12px;
  padding: 30px;
  margin: 35px 0;
}

.analiza h2,
.opisWyniku h2 {
  font-size: 21px;
  margin-bottom: 20px;
}

.opisWyniku p {
  line-height: 1.8;
  color: #68645e;
}

.cecha {
  margin: 25px 0;
}

.cechaNaglowek {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}

.pasekTlo {
  width: 100%;
  height: 9px;
  background: #eee9e3;
  border-radius: 20px;
  overflow: hidden;
}

.pasekWynik {
  height: 100%;
  background: #a9957f;
  border-radius: 20px;
  transition: width 1s ease;
}

/* FLAKON */

.strefaFlakonu {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  padding: 40px 0;
}

.flakon {
  position: relative;
  width: 190px;
  height: 270px;
}

.nakretka {
  position: absolute;
  top: 0;
  left: 65px;
  width: 60px;
  height: 48px;
  background: linear-gradient(90deg, #a89c8d, #e6ddd2, #a89c8d);
  border-radius: 5px;
  z-index: 3;
}

.szyjka {
  position: absolute;
  top: 42px;
  left: 77px;
  width: 36px;
  height: 30px;
  background: #ddd4c9;
}

.butelka {
  position: absolute;
  bottom: 0;
  width: 190px;
  height: 205px;
  border: 5px solid rgba(180,170,155,0.5);
  border-radius: 20px;
  background: rgba(255,255,255,0.5);
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(0,0,0,0.08);
}

.plyn {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 75%;
  background: linear-gradient(#f0dfc5, #c6a67b);
}

.etykietaFlakonu {
  position: absolute;
  top: 65px;
  left: 15px;
  width: calc(100% - 30px);
  padding: 18px 5px;
  background: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  z-index: 2;
}

.etykietaFlakonu span {
  font-size: 7px;
  letter-spacing: 1px;
}

.etykietaFlakonu strong {
  font-size: 17px;
}

.etykietaFlakonu small {
  font-size: 7px;
}

/* TELEFONY */

@media (max-width: 600px) {
  body {
    padding: 35px 20px;
  }

  h1 {
    font-size: 30px;
  }

  .laboratorium {
    padding: 15px 0 40px;
  }

  .poziom.glowa {
    width: 75%;
  }

  .poziom.serce {
    width: 90%;
  }
}
/* BANER THE SCENT LAB */

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.banerZapachowy {
  width: 100%;
  height: 225px;
  overflow: hidden;
  background: #e7e1dc;
}

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

.laboratorium {
  width: calc(100% - 40px);
  max-width: 760px;
  margin: 55px auto;
}

@media (max-width: 600px) {
  .banerZapachowy {
    height: 160px;
  }

  .laboratorium {
    margin: 35px auto;
  }
}
#pobierzBtn {
  margin-right: 12px;
  margin-bottom: 15px;
  background: #a9957f;
  border-color: #a9957f;
}

#pobierzBtn:hover {
  background: #8b7966;
}

@media (max-width: 600px) {
  #pobierzBtn,
  #odNowaBtn {
    width: 100%;
  }
}