.tigf-root{
  position:fixed;
  inset:0;
  z-index:999998;
  pointer-events:none;
  font-family:Inter, Arial, sans-serif;
}

.tigf-root *,
.tigf-floating,
.tigf-inline-button{
  box-sizing:border-box;
  font-family:Inter, Arial, sans-serif;
}

.tigf-backdrop{
  position:fixed;
  inset:0;
  background:rgba(7,27,21,.56);
  backdrop-filter:blur(7px);
  pointer-events:auto;
}

.tigf-modal{
  --tigf-accent:#00533f;
  --tigf-accent2:#2fb85f;
  --tigf-dark:#071b15;
  position:fixed;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(94vw, 960px);
  max-height:90vh;
  overflow:auto;
  background:#ffffff;
  border-radius:0;
  box-shadow:0 30px 90px rgba(0,0,0,.34);
  z-index:999999;
  color:#17332a;
  pointer-events:auto;
  border:1px solid rgba(0,83,63,.12);
}

.tigf-modal::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 12% 14%, rgba(183,217,90,.20), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(47,184,95,.14), transparent 36%),
    linear-gradient(180deg, #ffffff, #f8fbf7);
  pointer-events:none;
  z-index:0;
}

.tigf-modal::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(rgba(0,83,63,.10) 1px, transparent 1px);
  background-size:24px 24px;
  opacity:.18;
  pointer-events:none;
  z-index:0;
}

.tigf-close{
  position:absolute;
  right:18px;
  top:16px;
  z-index:6;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:var(--tigf-dark);
  cursor:pointer;
  font-size:28px;
  line-height:1;
  box-shadow:0 8px 22px rgba(7,27,21,.13);
}

.tigf-intro,
.tigf-question,
.tigf-loading,
.tigf-result-head{
  position:relative;
  z-index:2;
  padding:48px;
}

.tigf-intro,
.tigf-loading,
.tigf-result-head{
  min-height:340px;
}

.tigf-kicker{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 16px;
  color:var(--tigf-accent);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:1.8px;
}

.tigf-kicker i{
  width:42px;
  height:3px;
  display:inline-block;
  background:#b7d95a;
}

.tigf-modal h2{
  margin:0 0 16px;
  max-width:680px;
  color:var(--tigf-accent);
  font-size:clamp(34px, 4vw, 58px);
  line-height:.95;
  font-weight:950;
  letter-spacing:-2.4px;
}

.tigf-sub,
.tigf-loading p,
.tigf-result-head p{
  max-width:660px;
  margin:0;
  color:#3f5b51;
  font-size:16px;
  line-height:1.75;
  font-weight:700;
}

.tigf-badges,
.tigf-result-tags{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:26px 0 30px;
}

.tigf-badges span,
.tigf-result-tags span{
  background:#eaf5ef;
  color:var(--tigf-accent);
  border:1px solid rgba(0,83,63,.12);
  padding:9px 13px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.tigf-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.tigf-btn{
  border:0;
  background:var(--tigf-accent);
  color:#fff !important;
  min-height:48px;
  padding:14px 24px;
  border-radius:0;
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:1px;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.2s ease;
}

.tigf-btn:hover{
  background:var(--tigf-dark);
  transform:translateY(-2px);
}

.tigf-link,
.tigf-back{
  border:1px solid rgba(0,83,63,.16);
  background:#fff;
  color:var(--tigf-accent);
  min-height:46px;
  padding:12px 18px;
  border-radius:0;
  cursor:pointer;
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.tigf-link:hover,
.tigf-back:hover{
  border-color:var(--tigf-accent);
}

.tigf-progress{
  position:relative;
  z-index:2;
  height:7px;
  background:rgba(0,83,63,.12);
  margin:0;
  border-radius:999px;
  overflow:hidden;
}

.tigf-progress span{
  display:block;
  height:100%;
  background:linear-gradient(90deg, var(--tigf-accent), var(--tigf-accent2));
  transition:.25s ease;
}

.tigf-answers{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:28px;
}

.tigf-answer{
  text-align:left;
  background:#fff;
  border:1px solid rgba(0,83,63,.14);
  border-left:5px solid var(--tigf-accent2);
  color:#17332a;
  padding:19px 18px;
  border-radius:0;
  cursor:pointer;
  transition:.18s ease;
  min-height:112px;
  box-shadow:0 10px 24px rgba(7,27,21,.04);
}

.tigf-answer:hover{
  border-color:var(--tigf-accent);
  transform:translateY(-3px);
  box-shadow:0 18px 34px rgba(7,27,21,.10);
}

.tigf-answer strong{
  display:block;
  color:var(--tigf-accent);
  font-size:16px;
  line-height:1.25;
  font-weight:950;
  margin-bottom:8px;
}

.tigf-answer span{
  display:block;
  color:#60766c;
  font-size:13.5px;
  line-height:1.55;
  font-weight:700;
}

.tigf-navline{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:22px;
}

.tigf-loading{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.tigf-loading h2{
  margin-left:auto;
  margin-right:auto;
}

.tigf-loading p{
  margin-left:auto;
  margin-right:auto;
}

.tigf-loader{
  width:54px;
  height:54px;
  border-radius:50%;
  border:5px solid rgba(0,83,63,.12);
  border-top-color:var(--tigf-accent);
  animation:tigfSpin 1s linear infinite;
  margin-bottom:24px;
}

@keyframes tigfSpin{
  to{transform:rotate(360deg);}
}

.tigf-results-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
  padding:0 34px 34px;
}

.tigf-product-card{
  background:#fff;
  border:1px solid rgba(0,83,63,.12);
  box-shadow:0 12px 26px rgba(7,27,21,.06);
  overflow:hidden;
}

.tigf-product-card__image{
  display:flex;
  width:100%;
  aspect-ratio:1 / 1;
  background:#fff;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-bottom:1px solid rgba(0,83,63,.10);
}

.tigf-product-card__image img{
  width:86%;
  height:86%;
  object-fit:contain;
  display:block;
}

.tigf-product-card__content{
  padding:14px;
}

.tigf-product-card__title{
  display:block;
  color:var(--tigf-accent);
  text-decoration:none;
  font-size:13.5px;
  line-height:1.35;
  font-weight:950;
  min-height:38px;
}

.tigf-product-card__rating{
  display:flex;
  align-items:center;
  gap:8px;
  margin:9px 0 7px;
  line-height:1;
}

.tigf-product-card__rating span{
  color:var(--tigf-accent2);
  font-size:11px;
  letter-spacing:.5px;
}

.tigf-product-card__rating small{
  color:#60766c;
  font-size:11px;
  font-weight:800;
}

.tigf-product-card p{
  min-height:44px;
  margin:0 0 12px;
  color:#60766c;
  font-size:12px;
  line-height:1.45;
  font-weight:650;
}

.tigf-product-card__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.tigf-product-card__bottom strong{
  color:#101814;
  font-size:12px;
  font-weight:950;
}

.tigf-product-card__bottom strong del{
  color:#9aaba2;
  font-weight:700;
  margin-right:4px;
}

.tigf-product-card__bottom strong ins{
  text-decoration:none;
}

.tigf-product-card__bottom a{
  color:var(--tigf-accent) !important;
  text-decoration:none;
  border-bottom:1px solid var(--tigf-accent);
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.7px;
}

.tigf-result-actions{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  padding:0 34px 42px;
}

.tigf-shop-link{
  color:var(--tigf-accent) !important;
  text-decoration:none;
  border-bottom:2px solid var(--tigf-accent);
  padding-bottom:7px;
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:1px;
}

.tigf-empty{
  grid-column:1 / -1;
  background:#fff;
  border:1px solid rgba(0,83,63,.12);
  padding:28px;
  text-align:center;
  color:#60766c;
}

.tigf-empty h3{
  margin:0 0 8px;
  color:var(--tigf-accent);
  font-size:22px;
}

.tigf-floating{
  position:fixed;
  right:22px;
  bottom:24px;
  z-index:99990;
  border:0;
  background:#071b15;
  color:#fff;
  min-height:52px;
  padding:14px 20px;
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:9px;
  cursor:pointer;
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.7px;
  box-shadow:0 18px 38px rgba(7,27,21,.24);
  opacity:0;
  pointer-events:none;
  transform:translateY(12px);
  transition:.25s ease;
}

.tigf-floating.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.tigf-floating:hover{
  background:#00533f;
  transform:translateY(-2px);
}

.tigf-floating span{
  font-size:18px;
}

.tigf-inline-button{
  border:0;
  background:#00533f;
  color:#fff;
  min-height:48px;
  padding:14px 24px;
  border-radius:0;
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:1px;
  cursor:pointer;
}

.tigf-inline-button--outline{
  background:#fff;
  color:#00533f;
  border:2px solid #00533f;
}

@media(max-width:900px){
  .tigf-modal{
    width:min(94vw, 760px);
  }

  .tigf-results-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .tigf-answers{
    grid-template-columns:1fr;
  }
}

@media(max-width:600px){
  .tigf-modal{
    width:94vw;
    max-height:88vh;
  }

  .tigf-intro,
  .tigf-question,
  .tigf-loading,
  .tigf-result-head{
    padding:36px 20px;
  }

  .tigf-modal h2{
    font-size:34px;
    letter-spacing:-1.3px;
  }

  .tigf-sub,
  .tigf-loading p,
  .tigf-result-head p{
    font-size:14px;
  }

  .tigf-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .tigf-btn,
  .tigf-link,
  .tigf-back{
    width:100%;
  }

  .tigf-results-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
    padding:0 14px 28px;
  }

  .tigf-product-card__content{
    padding:12px;
  }

  .tigf-product-card__title{
    font-size:12.5px;
  }

  .tigf-product-card p{
    display:none;
  }

  .tigf-result-actions{
    padding:0 18px 34px;
    flex-direction:column;
    align-items:stretch;
  }

  .tigf-floating{
    right:14px;
    left:14px;
    bottom:16px;
    justify-content:center;
    width:auto;
  }
}
