@font-face {
  font-family: 'Inter18Regular';
    src: url('fonts/Inter_18pt-Regular.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Inter18Bold';
    src: url('fonts/Inter_18pt-Bold.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Inter18LightItalic';
    src: url('fonts/Inter_18pt-LightItalic.ttf') format('truetype');
  font-style: normal;
}

* {
  box-sizing:border-box;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

body {
  background:#f5f5f5;
  margin:0;
  min-height:100vh;
  align-items:center;
  justify-content:center;
}

.card {
  max-width:600px;
  background:#fff;
  border-radius:16px;
  padding:16px;
  box-shadow:0 8px 25px rgba(0,0,0,.08);
  position:relative;
  margin-left:auto;   /* automatyczne marginesy */
  margin-right:auto;
  margin-top: 20px;
}

.product-img {
    display: flex;
    justify-content: center;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.product-img img {
  max-width:250px;
}

.title {
  font-family: 'Inter18Bold', sans-serif;
  font-size:18px;
  margin:10px 0;
  font-weight: 700;
}

.desc {
  font-family: 'Inter18Regular', sans-serif;
  font-size:18px;
  line-height:1.4;
}

.price-row {
  display:flex;
  gap:10px;
  align-items:center;
  margin:12px 0 4px;
}

.price {
  font-family: 'Inter18Bold', sans-serif;
  font-size: 22px;
  color:#ff8a00;
  font-weight: 700;
}

.old-price {
  font-family: 'Inter18Bold', sans-serif;
  font-size: 20px;
  color:#696d70;
  text-decoration:line-through;
  font-weight: 700;
}

.discount {
  font-family: 'Inter18Bold', sans-serif;
  font-size: 22px;
  background-color: #edf8ee;
  padding: 5px;
  border-radius: 5px;
  color: #075e54;
  font-weight: 700;
}

.price--high {
  color: #ea281e;
}

.price--low {
  color: #f5651f;
}

.codes {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0;
}

.code {
  font-family: 'Inter18Bold', sans-serif;
  font-size: 17px;
  width:auto;
  white-space:nowrap;
  padding:10px 14px;
  background:linear-gradient(90deg,#24b85a,#1fa84f);
  color:#fff;
  border-radius:12px;
  cursor:pointer;
  user-select:none;
  font-weight: 700;
}

.code:active {
  transform:scale(.97);
}

.cta {
  font-family: 'Inter18Bold', sans-serif;
  font-size: 17px;
  display:block;
  text-decoration:none;
  background:linear-gradient(90deg,#ff6a00,#ff4600);
  color:#fff;
  padding:16px;
  text-align:center;
  border-radius:12px;  
  margin-top:10px;
  font-weight: 700;
}

.footer {
  font-family: 'Inter18LightItalic', sans-serif;
  font-size: 11px;
  color:#777;
  text-align:left;
  margin-top:8px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1f2937;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.seo {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

.page-wrapper {
  gap:20px;                         /* odstęp między elementami */
  align-items:center;               /* wyrównanie pionowe */
}

/* ---------- AppBar ----------
   (środek, zielone tło, przycisk w kolorze) ----------
*/
.appbar {
  display:flex;
  align-items:center;
  background-color:#075e54;
  color:white;
  /* padding:8px 12px; */
  padding-left: 5px;
  min-width:120px;
  min-height: 55px;
  justify-content: space-between;
}

.btn-observe {
  /* padding: 0px 16px; */
  font-size: 14px;
  border: none;
  background-color: transparent;
  color: white;
  font-family: 'Inter18Regular', sans-serif;
  cursor: pointer;
}

/* ---------- Toast ----------
   (poza modalami) ----------
*/
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity .3s ease;
}

#toast.show { opacity: 1; }

/* ---------- Modale ----------
   (scalable, center) ----------
*/
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0,0,0,.5);
}

.hidden { display: none; }

.modal-content {
  background-color: #222;
  color: white;
  padding: 20px;
  width: 320px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  display: inline-grid;
}

.gif {
  max-width: 100%;
  margin: 15px 0;
}

/* ---------- Buttons inside modal ----------
   (zróbmy przyciski podobne do AppBar) ----------
*/
.btn-primary,
.btn-secondary {
  font-family: 'Inter18Bold', sans-serif;
  padding: 8px 16px;
  font-size: 17px;
  border: none;
  border-radius: 20px;
  margin-top: 10px;
  cursor: pointer;
}

.btn-primary { background-color: #ffc107; color: white; }
.btn-secondary { background-color: #6c757d; color: white; }

.checkmark {
  color: #28a745;
  margin-right: 5px;
  font-size: 18px;
  font-weight: bolder;
}

a.title.okazja {
    margin-right: 100px;
}