/* =========================================================
   PRODUCT PAGE
========================================================= */

.product-catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.product-catalog-title {
  min-width: 0;
}

.product-catalog-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6f86a8;
}

.product-catalog-title h2 {
  margin: 8px 0 8px;
}

.product-catalog-title p {
  margin: 0;
  color: #71809a;
}

.product-search-wrapper {
  width: min(360px, 100%);
}

.product-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.product-search svg {
  position: absolute;
  left: 15px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  color: #8391a9;
  pointer-events: none;
}

.product-search input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 46px;
  border: 1px solid rgba(117, 140, 174, .25);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, .035);
  color: #f4f7fb;
  font-family: inherit;
  font-size: 14px;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.product-search input::placeholder {
  color: #7e8da7;
}

.product-search input:focus {
  border-color: rgba(38, 145, 255, .65);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 0 0 4px rgba(38, 145, 255, .09);
}

.product-search-clear {
  position: absolute;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #8b99af;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity .2s ease,
    background .2s ease,
    color .2s ease;
}

.product-search-clear.visible {
  opacity: 1;
  pointer-events: auto;
}

.product-search-clear:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
}


/* =========================================================
   FILTER
========================================================= */

.product-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-filter {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(117, 140, 174, .2);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #8391a9;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease;
}

.product-filter:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(56, 151, 255, .35);
}

.product-filter.active {
  color: #fff;
  border-color: rgba(40, 144, 255, .55);
  background: rgba(25, 120, 230, .16);
}


/* =========================================================
   RESULT
========================================================= */

.product-result-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 20px;
  color: #7c8ba4;
  font-size: 12px;
}

.product-result-info strong {
  color: #eaf2ff;
}

.product-reset-filter {
  border: 0;
  padding: 0;
  background: transparent;
  color: #5daaff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.product-reset-filter:hover {
  color: #8cc5ff;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(121, 145, 179, .16);
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.018)
    );
  box-shadow:
    0 20px 60px rgba(0,0,0,.16);
  transition:
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.product-card:hover {
  border-color: rgba(67, 154, 255, .3);
  transform: translateY(-3px);
  box-shadow:
    0 26px 70px rgba(0,0,0,.22);
}

.product-media {
  padding: 12px;
}

.product-main-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      #101c31,
      #07101f
    );
}

.product-main-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.product-thumbnails {
  display: flex;
  gap: 7px;
  margin-top: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-thumbnails::-webkit-scrollbar {
  display: none;
}

.product-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 43px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(120,145,180,.18);
  border-radius: 9px;
  background: #0a1324;
  cursor: pointer;
  opacity: .65;
  transition:
    opacity .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.product-thumb:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.product-thumb.active {
  opacity: 1;
  border-color: rgba(54, 151, 255, .7);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 5px 20px 21px;
}

.product-label {
  display: block;
  margin-bottom: 7px;
  color: #6681a8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.product-info h2 {
  margin: 0 0 9px;
  color: #f4f7fb;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.15;
}

.product-description {
  margin: 0 0 14px;
  color: #8390a7;
  font-size: 13px;
  line-height: 1.7;
}

.product-features {
  display: grid;
  gap: 5px;
  margin: 0 0 17px;
  padding: 0;
  list-style: none;
}

.product-features li {
  position: relative;
  padding-left: 17px;
  color: #9ba8bb;
  font-size: 12px;
}

.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #328cff;
  box-shadow: 0 0 9px rgba(50,140,255,.7);
}

.product-price {
  margin: 0 0 14px;
  color: #dfe8f7;
  font-size: 12px;
  font-weight: 700;
}

.form-note {
  margin: 9px 0 0;
  color: #66758d;
  font-size: 10px;
}


/* =========================================================
   EMPTY
========================================================= */

.product-empty {
  padding: 60px 20px;
  text-align: center;
}

.product-empty-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border: 1px solid rgba(70,150,255,.2);
  border-radius: 18px;
  background: rgba(50,140,255,.08);
}

.product-empty-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #69adff;
  stroke-width: 1.7;
}

.product-empty h3 {
  margin: 0 0 7px;
}

.product-empty p {
  margin: 0 0 18px;
  color: #7e8ca4;
}


/* =========================================================
   INTERACTIVE PRODUCT
========================================================= */

.product-motion-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
}

.product-motion-intro {
  max-width: 700px;
  margin-bottom: 30px;
}

.product-motion-intro h2 {
  margin: 9px 0 10px;
  color: #f4f7fb;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.product-motion-intro p {
  max-width: 650px;
  margin: 0;
  color: #7e8da6;
  font-size: 14px;
  line-height: 1.75;
}


/* =========================================================
   MOTION GRID
========================================================= */

.product-motion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-motion-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(112, 139, 177, .16);
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.018)
    );
  box-shadow:
    0 25px 80px rgba(0,0,0,.18);
}

.product-motion-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(120,145,180,.1);
}

.product-motion-card-header span {
  color: #eaf2fb;
  font-size: 13px;
  font-weight: 700;
}

.product-motion-card-header small {
  color: #5e7699;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}


/* =========================================================
   MOTION STAGE
========================================================= */

.product-motion-stage {
  position: relative;
  height: 310px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 50% 43%,
      rgba(27,83,146,.28) 0%,
      rgba(8,19,36,.08) 42%,
      rgba(3,9,18,0) 70%
    ),
    #060e1c;
  touch-action: none;
}

.product-motion-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,.04),
      transparent 32%,
      transparent 68%,
      rgba(40,140,255,.025)
    );
}


/* =========================================================
   STAGE LIGHT
========================================================= */

.product-motion-light {
  position: absolute;
  width: 280px;
  height: 280px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(70,155,255,.12) 0%,
      rgba(50,130,255,.04) 38%,
      transparent 70%
    );
  filter: blur(4px);
  pointer-events: none;
}


/* =========================================================
   GRID
========================================================= */

.product-motion-grid-lines {
  position: absolute;
  inset: 0;
  opacity: .25;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(74, 119, 169, .08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(74, 119, 169, .08) 1px,
      transparent 1px
    );
  background-size: 30px 30px;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 20%,
    black 78%,
    transparent 100%
  );
}


/* =========================================================
   IMPORTANT:
   MOTION OBJECT ITSELF IS NOW ONLY A CONTAINER.
   REAL PHOTO IS GENERATED BY JS.
========================================================= */

.motion-object {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  transform-style: preserve-3d;
}

.motion-object > img {
  display: none !important;
}


/* =========================================================
   REAL PHOTO BASE
========================================================= */

.motion-photo-base {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  will-change: transform;
}

.motion-photo-layer {
  position: absolute;
  z-index: 9;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  transform-style: preserve-3d;
  will-change: transform;
  filter:
    drop-shadow(0 18px 18px rgba(0,0,0,.18));
}

.motion-center-layer {
  position: absolute;
  z-index: 12;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  transform-style: preserve-3d;
  will-change: transform;
  filter:
    drop-shadow(0 9px 10px rgba(0,0,0,.18));
}


/* =========================================================
   ROUND
========================================================= */

.motion-object-round {
  perspective: 900px;
}

.motion-object-round .motion-photo-layer {
  transform-origin: center center;
}

.round-object-ring,
.round-object-center,
.round-center-inner {
  display: none !important;
}

.round-object-shadow {
  position: absolute;
  left: 50%;
  bottom: 47px;
  width: 170px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(0,0,0,.28);
  filter: blur(16px);
  opacity: .55;
  pointer-events: none;
  z-index: 2;
}


/* =========================================================
   PRESS / SMALL BOX
========================================================= */

.motion-object-click {
  perspective: 900px;
}

.motion-press-layer {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  transform-origin: center bottom;
  will-change: transform;
  filter:
    drop-shadow(0 14px 15px rgba(0,0,0,.16));
}

.click-object-shadow {
  position: absolute;
  left: 50%;
  bottom: 54px;
  width: 155px;
  height: 27px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  filter: blur(15px);
  opacity: .48;
  pointer-events: none;
}


/* =========================================================
   LARGE BOX
========================================================= */

.motion-object-large {
  perspective: 1000px;
}

.large-object-center,
.large-object-gear {
  display: none !important;
}

.large-object-shadow {
  position: absolute;
  left: 50%;
  bottom: 47px;
  width: 185px;
  height: 31px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(0,0,0,.27);
  filter: blur(17px);
  opacity: .5;
  pointer-events: none;
}


/* =========================================================
   HINT
========================================================= */

.product-motion-hint {
  position: absolute;
  left: 50%;
  bottom: 17px;
  z-index: 30;
  transform: translateX(-50%);
  white-space: nowrap;
  color: rgba(220,231,246,.55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}


/* =========================================================
   CONTROLS
========================================================= */

.product-motion-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 15px 0;
}

.product-motion-play,
.product-motion-reset {
  min-height: 36px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.product-motion-play {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(49,147,255,.4);
  background: rgba(34,128,235,.13);
  color: #eaf4ff;
}

.product-motion-play:hover {
  transform: translateY(-1px);
  border-color: rgba(74,165,255,.75);
  background: rgba(34,128,235,.2);
}

.product-motion-play.is-playing {
  background: rgba(37,145,255,.23);
}

.play-icon {
  font-size: 9px;
}

.product-motion-reset {
  padding: 0 12px;
  border: 1px solid rgba(121,145,180,.16);
  background: rgba(255,255,255,.025);
  color: #8795aa;
}

.product-motion-reset:hover {
  transform: translateY(-1px);
  color: #fff;
}


/* =========================================================
   INFO
========================================================= */

.product-motion-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 14px 15px 17px;
}

.product-motion-info > div {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(115,140,176,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
}

.product-motion-info strong {
  display: block;
  margin-bottom: 3px;
  color: #dbe8f9;
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-motion-info span {
  display: block;
  color: #687991;
  font-size: 9px;
  line-height: 1.4;
}

.product-motion-footer {
  margin: 22px 0 0;
  color: #65748c;
  font-size: 10px;
  text-align: center;
}


/* =========================================================
   DRAG STATE
========================================================= */

.product-motion-card.is-dragging {
  border-color: rgba(65,155,255,.4);
}

.product-motion-card.is-dragging .product-motion-hint {
  opacity: .2;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-motion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-motion-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

}


@media (max-width: 820px) {

  .product-catalog-header {
    align-items: stretch;
    flex-direction: column;
  }

  .product-search-wrapper {
    width: 100%;
  }

  .product-motion-section {
    padding-top: 65px;
  }

  .product-motion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-motion-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .product-motion-stage {
    height: 270px;
  }

}


@media (max-width: 560px) {

  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    border-radius: 17px;
  }

  .product-media {
    padding: 8px;
  }

  .product-main-photo {
    border-radius: 12px;
  }

  .product-info {
    padding: 3px 11px 15px;
  }

  .product-info h2 {
    font-size: 17px;
  }

  .product-description {
    font-size: 11px;
    line-height: 1.55;
  }

  .product-features {
    margin-bottom: 11px;
  }

  .product-features li {
    font-size: 10px;
  }

  .product-price {
    font-size: 10px;
  }

  .product-info .button {
    width: 100%;
    padding-inline: 8px;
    font-size: 10px;
  }

  .product-motion-section {
    padding: 55px 0 60px;
  }

  .product-motion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .product-motion-card {
    border-radius: 16px;
  }

  .product-motion-card-header {
    min-height: 47px;
    padding: 0 10px;
  }

  .product-motion-card-header span {
    font-size: 10px;
  }

  .product-motion-card-header small {
    font-size: 7px;
  }

  .product-motion-stage {
    height: 220px;
  }

  .product-motion-controls {
    padding: 9px 9px 0;
  }

  .product-motion-play,
  .product-motion-reset {
    min-height: 32px;
    font-size: 9px;
  }

  .product-motion-info {
    gap: 4px;
    padding: 9px;
  }

  .product-motion-info > div {
    padding: 6px;
  }

  .product-motion-info strong {
    font-size: 7px;
  }

  .product-motion-info span {
    font-size: 7px;
  }

  .product-motion-hint {
    font-size: 7px;
    bottom: 10px;
  }

}


@media (max-width: 330px) {

  .product-list {
    grid-template-columns: 1fr;
  }

  .product-motion-grid {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .product-card,
  .product-filter,
  .product-search-clear,
  .product-motion-play,
  .product-motion-reset {
    transition: none !important;
  }

}
/* =========================
   QUESTION POPUP
========================= */

.open-question-popup {
  border: 0;

  padding: 12px 20px;

  border-radius: 10px;

  background: #0b1220;

  color: #fff;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition: .25s ease;
}

.open-question-popup:hover {
  background: #1677ff;

  transform: translateY(-2px);
}


/* =========================
   QUESTION OVERLAY
========================= */

.question-popup-overlay {
  position: fixed;

  inset: 0;

  z-index: 999999;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;

  background:
    rgba(3,8,18,.72);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  overflow-y: auto;
}

.question-popup-overlay.active {
  display: flex;
}


/* =========================
   QUESTION POPUP
========================= */

.question-popup {
  width: 100%;
  max-width: 500px;

  position: relative;

  z-index: 1000000;

  padding: 30px;

  background: #fff;

  border: 1px solid rgba(255,255,255,.4);

  border-radius: 22px;

  box-shadow:
    0 30px 100px rgba(0,0,0,.3);

  animation:
    questionPopupIn .25s ease;

  box-sizing: border-box;
}

.question-popup,
.question-popup * {
  box-sizing: border-box;
}

@keyframes questionPopupIn {

  from {
    opacity: 0;

    transform:
      translateY(20px)
      scale(.97);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }
}


/* =========================
   QUESTION CLOSE
========================= */

.question-popup-close {
  position: absolute;

  top: 18px;
  right: 18px;

  width: 36px;
  height: 36px;

  border: 0;

  border-radius: 50%;

  background: #f1f4f8;

  color: #475467;

  font-size: 23px;
  line-height: 1;

  cursor: pointer;

  transition: .2s ease;
}

.question-popup-close:hover {
  background: #e4e8ee;

  color: #0b1220;
}


/* =========================
   QUESTION HEADER
========================= */

.question-popup-header {
  padding-right: 40px;

  margin-bottom: 25px;
}

.question-popup-label {
  display: inline-block;

  margin-bottom: 8px;

  color: #1677ff;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 1.5px;
}

.question-popup-header h2 {
  margin: 0 0 8px;

  color: #0b1220;

  font-size: 27px;

  line-height: 1.15;
}

.question-popup-header p {
  margin: 0;

  color: #667085;

  font-size: 14px;

  line-height: 1.6;
}


/* =========================
   QUESTION FIELD
========================= */

.question-field {
  margin-bottom: 18px;
}

.question-field label {
  display: block;

  margin-bottom: 7px;

  color: #182230;

  font-size: 13px;
  font-weight: 600;
}

.question-field label span {
  color: #98a2b3;

  font-weight: 400;
}

.question-field input,
.question-field textarea {
  display: block;

  width: 100%;
  max-width: 100%;

  padding: 13px 14px;

  border: 1px solid #d9dee7;

  border-radius: 10px;

  background: #f9fafb;

  color: #0b1220;

  font-family: inherit;

  font-size: 14px;

  outline: none;

  transition: .2s ease;
}

.question-field input:focus,
.question-field textarea:focus {
  border-color: #1677ff;

  background: #fff;

  box-shadow:
    0 0 0 3px rgba(22,119,255,.08);
}

.question-field textarea {
  min-height: 125px;

  resize: vertical;

  line-height: 1.5;
}


/* =========================
   QUESTION WORD COUNT
========================= */

.question-word-count {
  margin-top: 6px;

  text-align: right;

  color: #98a2b3;

  font-size: 11px;
}


/* =========================
   QUESTION SUBMIT
========================= */

.question-submit {
  width: 100%;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 14px 17px;

  border: 0;

  border-radius: 11px;

  background: #0b1220;

  color: #fff;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  transition: .25s ease;
}

.question-submit:hover {
  background: #1677ff;

  transform: translateY(-1px);
}

.question-submit-arrow {
  font-size: 18px;
}


/* =========================
   QUESTION MOBILE
========================= */

@media (max-width: 600px) {

  .question-popup-overlay {
    padding: 14px;

    align-items: center;
  }

  .question-popup {
    max-width: 100%;

    padding: 24px 20px;

    border-radius: 18px;
  }

  .question-popup-header {
    padding-right: 35px;
  }

  .question-popup-header h2 {
    font-size: 23px;
  }

  .question-popup-header p {
    font-size: 13px;
  }

  .question-field input,
  .question-field textarea {
    font-size: 16px;
  }

  .question-submit {
    min-height: 48px;
  }
}

@media (max-height: 700px) {

  .question-popup-overlay {
    align-items: flex-start;

    overflow-y: auto;

    padding-top: 30px;
    padding-bottom: 30px;
  }

  .question-popup {
    margin: auto 0;
  }
}

@media (max-width: 380px) {

  .question-popup-overlay {
    padding: 10px;
  }

  .question-popup {
    padding: 21px 17px;

    border-radius: 16px;
  }

  .question-popup-header h2 {
    font-size: 21px;
  }

  .question-popup-header p {
    font-size: 12px;
  }

  .question-field {
    margin-bottom: 15px;
  }

  .question-submit {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .question-popup {
    animation: none;
  }

  .open-question-popup,
  .question-submit {
    transition: none;
  }
}


/* ==================================================
   CUSTOMER SERVICE FLOATING
================================================== */

.cs-whatsapp {
  position: fixed;

  right: 24px;
  bottom: 82px;

  width: 62px;
  height: 62px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #0b1220;

  color: #fff;

  text-decoration: none;

  z-index: 99990;

  box-shadow:
    0 12px 35px rgba(0,0,0,.28);

  transition: .25s ease;
}

.cs-whatsapp::before,
.cs-whatsapp::after {
  content: "";

  position: absolute;

  inset: -7px;

  border: 2px solid rgba(22,119,255,.45);

  border-radius: 50%;

  animation:
    csWave 2.2s infinite ease-out;

  pointer-events: none;
}

.cs-whatsapp::after {
  animation-delay: 1.1s;
}

@keyframes csWave {

  0% {
    transform: scale(.9);
    opacity: .8;
  }

  70% {
    transform: scale(1.45);
    opacity: 0;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.cs-whatsapp-inner {
  position: relative;

  width: 52px;
  height: 52px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      #1677ff,
      #0757c9
    );

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.25),
    0 5px 18px rgba(22,119,255,.35);
}

.cs-whatsapp-icon {
  width: 25px;
  height: 25px;

  fill: none;

  stroke: #fff;

  stroke-width: 2;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.cs-badge {
  position: absolute;

  right: -4px;
  bottom: -2px;

  min-width: 22px;
  height: 22px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 0 5px;

  border-radius: 50px;

  background: #fff;

  color: #0b1220;

  font-size: 8px;
  font-weight: 800;

  box-shadow:
    0 3px 10px rgba(0,0,0,.25);
}

.cs-whatsapp-label {
  position: absolute;

  right: 76px;
  top: 50%;

  transform:
    translateY(-50%)
    translateX(8px);

  padding: 9px 13px;

  background: #0b1220;

  color: #fff;

  border-radius: 9px;

  font-size: 11px;
  font-weight: 600;

  white-space: nowrap;

  opacity: 0;
  visibility: hidden;

  transition: .2s ease;
}

.cs-whatsapp:hover {
  transform:
    translateY(-4px)
    scale(1.04);
}

.cs-whatsapp:hover .cs-whatsapp-label {
  opacity: 1;
  visibility: visible;

  transform:
    translateY(-50%)
    translateX(0);
}


/* ==================================================
   CS POPUP
================================================== */

.cs-choice-overlay,
.cs-form-overlay {
  position: fixed;

  inset: 0;

  z-index: 999999;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;

  background:
    rgba(3,8,18,.72);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  overflow-y: auto;
}

.cs-choice-overlay.active,
.cs-form-overlay.active {
  display: flex;
}

.cs-choice-popup,
.cs-form-popup {
  position: relative;

  width: 100%;
  max-width: 500px;

  padding: 30px;

  background: #fff;

  border-radius: 22px;

  box-shadow:
    0 30px 100px rgba(0,0,0,.3);

  animation:
    csPopupIn .25s ease;

  box-sizing: border-box;
}

@keyframes csPopupIn {

  from {
    opacity: 0;

    transform:
      translateY(20px)
      scale(.97);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }
}


/* =========================
   CS CLOSE
========================= */

.cs-popup-close {
  position: absolute;

  top: 18px;
  right: 18px;

  width: 36px;
  height: 36px;

  border: 0;

  border-radius: 50%;

  background: #f1f4f8;

  color: #475467;

  font-size: 23px;

  cursor: pointer;

  transition: .2s ease;
}

.cs-popup-close:hover {
  background: #e4e8ee;

  color: #0b1220;
}


/* =========================
   CS HEADER
========================= */

.cs-popup-header {
  padding-right: 40px;

  margin-bottom: 24px;
}

.cs-popup-label {
  display: inline-block;

  margin-bottom: 8px;

  color: #1677ff;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 1.5px;
}

.cs-popup-header h2 {
  margin: 0 0 9px;

  color: #0b1220;

  font-size: 27px;

  line-height: 1.15;
}

.cs-popup-header p {
  margin: 0;

  color: #667085;

  font-size: 14px;

  line-height: 1.6;
}


/* =========================
   CS CHOICE
========================= */

.cs-choice-list {
  display: grid;

  gap: 12px;
}

.cs-choice-card {
  width: 100%;

  display: flex;

  align-items: center;

  gap: 14px;

  padding: 16px;

  border: 1px solid #e1e5eb;

  border-radius: 15px;

  background: #fff;

  text-align: left;

  cursor: pointer;

  transition: .22s ease;
}

.cs-choice-card:hover {
  border-color: #1677ff;

  background: #f8fbff;

  transform: translateY(-2px);

  box-shadow:
    0 10px 30px rgba(22,119,255,.1);
}

.cs-choice-icon {
  width: 45px;
  height: 45px;

  flex: 0 0 45px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 13px;
}

.cs-choice-icon svg {
  width: 23px;
  height: 23px;

  fill: none;

  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-icon {
  background: #e9f9ef;

  color: #16a34a;
}

.whatsapp-icon svg {
  stroke: #16a34a;
}

.email-icon {
  background: #edf4ff;

  color: #1677ff;
}

.email-icon svg {
  stroke: #1677ff;
}

.cs-choice-text {
  flex: 1;

  display: flex;

  flex-direction: column;

  gap: 4px;
}

.cs-choice-text strong {
  color: #0b1220;

  font-size: 14px;
}

.cs-choice-text small {
  color: #667085;

  font-size: 12px;
}

.cs-choice-arrow {
  color: #98a2b3;

  font-size: 20px;

  transition: .2s ease;
}

.cs-choice-card:hover .cs-choice-arrow {
  color: #1677ff;

  transform: translateX(4px);
}


/* =========================
   CS FORM
========================= */

.cs-form-field {
  margin-bottom: 17px;
}

.cs-form-field label {
  display: block;

  margin-bottom: 7px;

  color: #182230;

  font-size: 13px;
  font-weight: 700;
}

.cs-form-field label span {
  color: #98a2b3;

  font-weight: 400;
}

.cs-form-field input,
.cs-form-field textarea {
  display: block;

  width: 100%;
  max-width: 100%;

  padding: 13px 14px;

  border: 1px solid #d9dee7;

  border-radius: 10px;

  background: #f9fafb;

  color: #0b1220;

  font-family: inherit;

  font-size: 14px;

  outline: none;

  box-sizing: border-box;

  transition: .2s ease;
}

.cs-form-field input:focus,
.cs-form-field textarea:focus {
  border-color: #1677ff;

  background: #fff;

  box-shadow:
    0 0 0 3px rgba(22,119,255,.08);
}

.cs-form-field textarea {
  min-height: 120px;

  resize: vertical;

  line-height: 1.5;
}

.cs-form-field input[type="file"] {
  padding: 10px;

  background: #fff;

  cursor: pointer;
}

.cs-file-note {
  display: block;

  margin-top: 6px;

  color: #98a2b3;

  font-size: 10px;
}

.cs-counter {
  margin-top: 6px;

  text-align: right;

  color: #98a2b3;

  font-size: 11px;
}

.cs-submit-button {
  width: 100%;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 14px 17px;

  border: 0;

  border-radius: 11px;

  background: #0b1220;

  color: #fff;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  transition: .25s ease;
}

.cs-submit-button:hover {
  background: #1677ff;

  transform: translateY(-1px);
}


/* =========================
   CS MOBILE
========================= */

@media (max-width: 600px) {

  .cs-whatsapp {
    right: 18px;
    bottom: 72px;

    width: 58px;
    height: 58px;
  }

  .cs-whatsapp-inner {
    width: 49px;
    height: 49px;
  }

  .cs-whatsapp-label {
    display: none;
  }

  .cs-choice-overlay,
  .cs-form-overlay {
    padding: 14px;
  }

  .cs-choice-popup,
  .cs-form-popup {
    padding: 24px 20px;

    border-radius: 18px;
  }

  .cs-popup-header h2 {
    font-size: 23px;
  }

  .cs-form-field input,
  .cs-form-field textarea {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .cs-whatsapp::before,
  .cs-whatsapp::after {
    animation: none;
  }

  .cs-whatsapp,
  .cs-choice-card,
  .cs-submit-button {
    transition: none;
  }
}