
.fre-style-quiz-floating,
.fre-style-quiz-inline-btn {
  border: 1px solid #1f1f1f;
  background: #1f1f1f;
  color: #f5f1e6;
  border-radius: 0;
  padding: 14px 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.28s ease;
  font-family: "Helvetica Neue", Arial, sans-serif;
  box-shadow: none;
}

.fre-style-quiz-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99998;
}

.fre-style-quiz-floating:hover,
.fre-style-quiz-inline-btn:hover {
  background: #f5f1e6;
  color: #1f1f1f;
  transform: translateY(-3px);
}

.fre-style-quiz-modal,
.fre-style-quiz-modal * {
  box-sizing: border-box;
}

.fre-style-quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.fre-style-quiz-modal.fre-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.fre-style-quiz-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.68);
  backdrop-filter: blur(6px);
}

.fre-style-quiz-panel {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  margin: 0;
  background: #f5f1e6;
  border: 1px solid rgba(31,31,31,0.28);
  box-shadow: 0 28px 80px rgba(0,0,0,0.35);
}

.fre-style-quiz-panel:before {
  content: "STYLE";
  position: absolute;
  right: 24px;
  bottom: -26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(92px, 14vw, 190px);
  color: rgba(31,31,31,0.045);
  line-height: 1;
  pointer-events: none;
}

.fre-style-quiz-close {
  position: sticky;
  top: 16px;
  left: calc(100% - 56px);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 1px solid #1f1f1f;
  background: #f5f1e6;
  color: #1f1f1f;
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  display: grid;
  place-items: center;
  margin: 16px 16px -56px auto;
}

.fre-sq-screen {
  padding: 70px 42px 42px;
  position: relative;
  z-index: 2;
}

.fre-sq-start {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 38px 0 24px;
}

.fre-sq-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #1f1f1f;
  border-bottom: 1px solid rgba(31,31,31,0.35);
  padding: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.fre-sq-badge:before {
  content: "";
  width: 7px;
  height: 7px;
  background: #1f1f1f;
  border-radius: 50%;
}

.fre-sq-start h2,
.fre-sq-question h2,
.fre-sq-results-head h2 {
  margin: 0;
  color: #1f1f1f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -2.2px;
}

.fre-sq-start p,
.fre-sq-results-head p {
  margin: 18px auto 0;
  color: #4f4a43;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  max-width: 680px;
}

.fre-sq-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.fre-sq-btn {
  border: 1px solid #1f1f1f;
  border-radius: 0;
  padding: 14px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: "Helvetica Neue", Arial, sans-serif;
  transition: 0.25s ease;
}

.fre-sq-btn-dark {
  background: #1f1f1f;
  color: #f5f1e6;
}

.fre-sq-btn-light {
  background: transparent;
  color: #1f1f1f;
}

.fre-sq-btn:hover {
  transform: translateY(-2px);
}

.fre-sq-btn-dark:hover {
  background: transparent;
  color: #1f1f1f;
}

.fre-sq-btn-light:hover {
  background: #1f1f1f;
  color: #f5f1e6;
}

.fre-sq-progress {
  height: 4px;
  background: rgba(31,31,31,0.12);
  overflow: hidden;
  margin-bottom: 34px;
}

.fre-sq-progress span {
  display: block;
  height: 100%;
  background: #1f1f1f;
  width: 0%;
  transition: 0.25s ease;
}

.fre-sq-question-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.fre-sq-step {
  border: 1px solid rgba(31,31,31,0.35);
  color: #1f1f1f;
  padding: 9px 13px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  white-space: nowrap;
}

.fre-sq-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.fre-sq-option {
  width: 100%;
  min-height: 72px;
  text-align: left;
  border: 1px solid rgba(31,31,31,0.18);
  background: rgba(255,255,255,0.30);
  color: #1f1f1f;
  padding: 20px 22px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s ease;
}

.fre-sq-option:hover,
.fre-sq-option.fre-selected {
  background: #1f1f1f;
  color: #f5f1e6;
  border-color: #1f1f1f;
}

.fre-sq-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
}

.fre-sq-auto-note {
  color: #6f675c;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.fre-sq-loading {
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  color: #1f1f1f;
}

.fre-sq-results-head {
  text-align: center;
  max-width: 790px;
  margin: 0 auto 34px;
}

.fre-sq-results-title {
  margin: 34px 0 16px;
  color: #1f1f1f;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(31,31,31,0.22);
  padding-bottom: 12px;
}

.fre-sq-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fre-sq-product {
  display: block;
  text-decoration: none !important;
  color: #1f1f1f !important;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(31,31,31,0.16);
  overflow: hidden;
  transition: 0.25s ease;
}

.fre-sq-product:hover {
  transform: translateY(-4px);
  border-color: #1f1f1f;
}

.fre-sq-product-img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  background: #e8e1d3;
  overflow: hidden;
}

.fre-sq-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.35s ease;
}

.fre-sq-product:hover .fre-sq-product-img img {
  transform: scale(1.05);
}

.fre-sq-product-info {
  padding: 14px 13px 16px;
}

.fre-sq-rating {
  display: inline-flex;
  margin-bottom: 9px;
  color: #1f1f1f;
  font-size: 11px;
  letter-spacing: 1.1px;
}

.fre-sq-product h4 {
  margin: 0 0 10px !important;
  color: #1f1f1f;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.fre-sq-price {
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 600;
}

.fre-sq-price del {
  opacity: 0.45;
  font-size: 12px;
}

.fre-sq-price ins {
  text-decoration: none;
}

.fre-sq-blogs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fre-sq-blog {
  display: block;
  text-decoration: none !important;
  color: #1f1f1f !important;
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(31,31,31,0.16);
  padding: 22px;
  min-height: 190px;
  transition: 0.25s ease;
}

.fre-sq-blog:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.55);
  border-color: #1f1f1f;
}

.fre-sq-blog span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #6f675c;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.fre-sq-blog h4 {
  margin: 0 0 12px !important;
  font-family: Georgia, "Times New Roman", serif;
  color: #1f1f1f;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 400;
}

.fre-sq-blog p {
  margin: 0 !important;
  color: #4f4a43;
  font-size: 14px;
  line-height: 1.6;
}

.fre-sq-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid rgba(31,31,31,0.16);
  color: #4f4a43;
  text-align: center;
}

@media (max-width: 920px) {
  .fre-sq-products,
  .fre-sq-blogs {
    grid-template-columns: repeat(2, 1fr);
  }

  .fre-sq-question-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fre-style-quiz-modal.fre-open {
    align-items: flex-end;
    padding: 10px;
  }

  .fre-style-quiz-panel {
    max-height: calc(100vh - 20px);
  }

  .fre-style-quiz-floating {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
    font-size: 10px;
  }

  .fre-sq-screen {
    padding: 62px 18px 24px;
  }

  .fre-sq-start h2,
  .fre-sq-question h2,
  .fre-sq-results-head h2 {
    font-size: 42px;
    letter-spacing: -1.4px;
  }

  .fre-sq-start p,
  .fre-sq-results-head p {
    font-size: 15px;
    line-height: 1.7;
  }

  .fre-sq-options,
  .fre-sq-products,
  .fre-sq-blogs {
    grid-template-columns: 1fr;
  }

  .fre-sq-option {
    min-height: auto;
    padding: 17px 18px;
    font-size: 14px;
  }

  .fre-sq-nav {
    display: block;
    text-align: center;
  }

  .fre-sq-auto-note {
    display: block;
    margin-top: 14px;
  }

  .fre-sq-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fre-sq-btn {
    width: 100%;
  }
}
