/* ------------------------------------------------------------
   SevenApp 3D · complementos da vitrine sobre o style.css do
   site sevenapp.com.br. Mesmos tokens: Outfit, preto, cinza
   rgb(242,242,242) e o vermelho rgb(204,5,5).
------------------------------------------------------------ */

/* ---------- preloader só na primeira visita (igual ao custom.css do site) ---------- */
.mil-skip-preloader .mil-preloader {
  display: none;
}
.mil-skip-preloader .mil-up {
  opacity: 0;
}

/* ---------- logo com o "3D" ---------- */
.s3-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.s3-logo img {
  display: block;
  width: auto;
  height: 60px;
  max-width: none;
}
.s3-logo span {
  padding: 4px 10px;
  border-radius: 40px;
  background-color: rgb(204, 5, 5);
  color: rgb(255, 255, 255);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
}
.mil-frame .s3-logo-mark img {
  height: 60px;
}
footer .s3-logo img,
.mil-menu-frame .s3-logo img {
  height: 50px;
}
@media screen and (max-width: 1200px) {
  .mil-frame .s3-logo-mark img {
    height: 44px;
  }
}

/* ---------- textos de apoio ---------- */
.s3-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.s3-muted-note {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}
.s3-mt-30 {
  margin-top: 30px;
}
.s3-avatar img {
  padding: 14px;
  background-color: rgb(0, 0, 0);
  object-fit: contain;
}
.s3-card-num {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
}
.s3-step-n {
  margin-right: 15px;
  font-size: 14px;
  letter-spacing: 2px;
}

/* ---------- cartões de produto ---------- */
.s3-product-card .mil-cover-frame {
  background-color: rgb(0, 0, 0);
}
.s3-product-card h4 {
  color: rgb(0, 0, 0);
}
.s3-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 64px;
  font-weight: 200;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.2);
  background-color: rgb(20, 20, 20);
}
.mil-labels .mil-label + .mil-label {
  color: rgba(0, 0, 0, 0.5);
}

/* ---------- formulário de peça sob medida ---------- */
select {
  position: relative;
  height: 70px;
  padding: 0 30px;
  width: 100%;
  margin-bottom: 30px;
  border: none;
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  background: rgb(255, 255, 255) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 20px center / 18px;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
  appearance: none;
  cursor: pointer;
}
select:focus {
  outline: inherit;
}
select:invalid {
  color: rgba(0, 0, 0, 0.5);
}
.s3-quote-form .s3-invalid {
  border-bottom-color: rgb(204, 5, 5);
}
.s3-form-note {
  color: rgb(0, 0, 0);
}
.s3-form-note:empty {
  display: none;
}

/* ---------- página do produto ---------- */
.s3-story {
  font-size: 20px;
  line-height: 1.6;
}

/* configurador */
.s3-opt {
  margin: 0 0 40px;
  padding: 0;
  border: none;
  min-width: 0;
}
.s3-opt legend {
  margin-bottom: 15px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
}
.s3-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.s3-choice {
  position: relative;
  cursor: pointer;
}
.s3-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.s3-choice > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 20px 22px;
  background-color: rgb(242, 242, 242);
  color: rgb(0, 0, 0);
  transition: 0.3s cubic-bezier(0, 0, 0.3642, 1);
}
.s3-choice:hover > span {
  background-color: rgb(229, 229, 229);
}
.s3-choice strong {
  font-weight: 500;
  font-size: 16px;
}
.s3-choice small {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
}
.s3-choice em {
  margin-top: 8px;
  font-style: normal;
  font-weight: 500;
}
.s3-choice input:checked + span {
  background-color: rgb(204, 5, 5);
  color: rgb(255, 255, 255);
}
.s3-choice input:checked + span small {
  color: rgba(255, 255, 255, 0.75);
}
.s3-choice input:focus-visible + span {
  outline: 2px solid rgb(0, 0, 0);
  outline-offset: 2px;
}
.s3-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 40px;
}
.s3-row .s3-opt {
  margin-bottom: 0;
}
.s3-qty {
  display: inline-flex;
  align-items: center;
  background-color: rgb(242, 242, 242);
  border-radius: 70px;
}
.s3-qty button {
  width: 54px;
  height: 54px;
  border: none;
  background: none;
  font-size: 22px;
  color: rgb(0, 0, 0);
  cursor: pointer;
}
.s3-qty button:hover {
  color: rgb(204, 5, 5);
}
.s3-qty input {
  width: 46px;
  height: 54px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0;
  -moz-appearance: textfield;
}
.s3-qty input::-webkit-outer-spin-button,
.s3-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.s3-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  color: rgb(0, 0, 0);
}
.s3-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.s3-toggle small {
  color: rgba(0, 0, 0, 0.5);
}
.s3-toggle-ui {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 30px;
  border-radius: 30px;
  background-color: rgb(229, 229, 229);
  transition: 0.3s;
}
.s3-toggle-ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  transition: 0.3s cubic-bezier(0, 0, 0.3642, 1);
}
.s3-toggle input:checked + .s3-toggle-ui {
  background-color: rgb(204, 5, 5);
}
.s3-toggle input:checked + .s3-toggle-ui::after {
  transform: translateX(22px);
}
.s3-toggle input:focus-visible + .s3-toggle-ui {
  outline: 2px solid rgb(0, 0, 0);
  outline-offset: 2px;
}
.s3-total {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  padding: 30px 0;
  margin-bottom: 30px;
  border-top: solid 1px rgba(0, 0, 0, 0.1);
}
.s3-total small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.s3-total strong {
  display: block;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  color: rgb(0, 0, 0);
}
.s3-total strong.s3-bump {
  animation: s3-bump 0.35s ease;
}
@keyframes s3-bump {
  40% {
    transform: scale(1.06);
    color: rgb(204, 5, 5);
  }
}
.s3-total > span {
  font-size: 14px;
}
.s3-total b {
  font-weight: 500;
  color: rgb(0, 0, 0);
}
.s3-buy {
  width: 100%;
  justify-content: space-between;
}
.s3-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.s3-trust li::before {
  content: "✓";
  margin-right: 8px;
  color: rgb(204, 5, 5);
}

/* barra fixa de compra */
.s3-buybar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 98;
  display: flex;
  align-items: center;
  gap: 15px;
  width: min(560px, calc(100% - 120px));
  padding: 8px 8px 8px 12px;
  border-radius: 70px;
  background-color: rgb(0, 0, 0);
  color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, 140%);
  transition: transform 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.s3-buybar.s3-on {
  transform: translate(-50%, 0);
}
.s3-buybar img {
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}
.s3-buybar > div {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.3;
}
.s3-buybar strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
  color: rgb(255, 255, 255);
}
.s3-buybar-btn {
  height: 48px;
  padding: 0 26px;
}
@media screen and (max-width: 768px) {
  .s3-total strong {
    font-size: 32px;
  }
  .s3-buybar {
    left: 16px;
    width: calc(100% - 100px);
    transform: translate(0, 140%);
  }
  .s3-buybar.s3-on {
    transform: translate(0, 0);
  }
}

/* ---------- botão flutuante do WhatsApp (igual ao custom.css do site) ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0, 0, 0.3642, 1);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
}
.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.08);
}
@media screen and (max-width: 768px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}
