:root {
  --sp-red: #be202b;
  --sp-yellow: #e9d334;
  --sp-dark: #101010;
  --sp-muted: #687680;
  --sp-line: #dfe5e8;
  --sp-bg: #f4f6f7;
  --sp-white: #fff;
  --sp-green: #198754;
}
html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
* {
  box-sizing: border-box;
}
.seral-previso-fullscreen {
  margin: 0 !important;
  background: var(--sp-bg) !important;
}
.seral-previso-fullscreen #wpadminbar,
.seral-previso-fullscreen header:not(.sp-header),
.seral-previso-fullscreen footer:not(.sp-footer),
.seral-previso-fullscreen .site-header,
.seral-previso-fullscreen .site-footer,
.seral-previso-fullscreen .entry-header {
  display: none !important;
}
.seral-previso-fullscreen #page,
.seral-previso-fullscreen #content,
.seral-previso-fullscreen .site-content,
.seral-previso-fullscreen .entry-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
#seral-previso-app {
  position: relative;
  z-index: 99999;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--sp-bg);
  color: var(--sp-dark);
  font:
    15px/1.45 Inter,
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
.sp-auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  background: #101010;
  color: #fff;
}
.sp-auth-brand { padding: clamp(40px, 8vw, 110px); display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 15% 20%, #be202b55, transparent 36%), #101010; }
.sp-auth-brand img { width: min(310px, 70%); max-height: 110px; object-fit: contain; object-position: left center; background: #fff; padding: 14px; border-radius: 12px; }
.sp-auth-brand > span { color: var(--sp-yellow); font-weight: 900; letter-spacing: .12em; margin-top: 30px; }
.sp-auth-brand h1 { font-size: clamp(38px, 5vw, 70px); line-height: 1.02; margin: 18px 0; }
.sp-auth-brand p { color: #d7dde0; font-size: 18px; max-width: 650px; }
.sp-auth-card { align-self: center; margin: 35px; padding: clamp(25px, 4vw, 50px); background: #fff; color: var(--sp-dark); border-radius: 18px; box-shadow: 0 24px 80px #0008; }
.sp-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; border-bottom: 1px solid var(--sp-line); }
.sp-auth-tabs button { border: 0; background: none; padding: 14px; font-weight: 900; cursor: pointer; }
.sp-auth-tabs button.active { color: var(--sp-red); border-bottom: 3px solid var(--sp-red); }
.sp-auth-card form { display: grid; gap: 17px; }
.sp-auth-card form[hidden] { display: none; }
.sp-auth-card label { display: grid; gap: 7px; font-weight: 800; }
.sp-auth-card input { width: 100%; padding: 13px; border: 1px solid #cbd4d9; border-radius: 8px; }
.sp-auth-card form > button { border: 0; border-radius: 9px; background: var(--sp-red); color: #fff; padding: 14px; font-weight: 900; cursor: pointer; }
.sp-auth-check { display: flex !important; grid-template-columns: auto 1fr; align-items: center; font-weight: 600 !important; }
.sp-auth-check input { width: auto; }
.sp-auth-error { padding: 12px; margin-bottom: 15px; border-radius: 8px; background: #fff0ef; color: #a52722; font-weight: 700; }
.sp-loading {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 16px;
  text-align: center;
}
.sp-loading span {
  width: 46px;
  height: 46px;
  border: 5px solid #eee;
  border-top-color: var(--sp-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: auto;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.sp-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 30px;
  background: #fff;
  border-bottom: 1px solid var(--sp-line);
  box-shadow: 0 4px 20px #12202c10;
}
.sp-user { margin-left: 8px; font-weight: 800; font-size: 13px; }
.sp-logout { color: var(--sp-red); font-weight: 850; text-decoration: none; }
.sp-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}
.sp-mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--sp-red);
  color: #fff;
  display: grid;
  place-content: center;
  font-size: 25px;
  font-weight: 900;
}
.sp-brand-logo {
  display: block;
  width: 142px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}
.sp-brand-copy {
  display: none;
}
.sp-brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.03em;
}
.sp-brand small {
  color: var(--sp-muted);
}
.sp-nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.sp-nav button,
.sp-action {
  border: 1px solid var(--sp-line);
  border-radius: 9px;
  background: #fff;
  padding: 10px 14px;
  font-weight: 750;
  cursor: pointer;
}
.sp-nav button:hover,
.sp-nav button.active {
  border-color: var(--sp-red);
  color: var(--sp-red);
}
.sp-cart-count {
  display: inline-grid;
  place-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--sp-red);
  color: #fff;
  margin-left: 5px;
  font-size: 11px;
}
.sp-main {
  width: min(1440px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 60px;
}
.sp-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  padding: 42px;
  border-radius: 18px;
  background: linear-gradient(135deg, #101010, #292929);
  color: #fff;
  overflow: hidden;
}
.sp-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--sp-yellow), var(--sp-red));
}
.sp-eyebrow {
  display: block;
  color: var(--sp-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sp-hero h1 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  margin: 12px 0 18px;
}
.sp-hero p {
  max-width: 700px;
  color: #d8e1e6;
  font-size: 18px;
}
.sp-hero-visual {
  min-height: 230px;
  border-radius: 16px;
  background: radial-gradient(circle at 60% 40%, #e9d334 0, #be202b 48%, #671117 100%);
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(2deg);
  box-shadow: 0 30px 60px #0005;
}
.sp-hero-logo {
  width: min(100%, 330px);
  max-height: 210px;
  object-fit: contain;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
}
.sp-hero-visual b {
  font-size: 56px;
}
.sp-hero-visual span {
  letter-spacing: 0.3em;
  font-weight: 800;
}
.sp-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 30px 0 20px;
}
.sp-search {
  flex: 1;
  min-width: 260px;
  position: relative;
}
.sp-search input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border: 1px solid var(--sp-line);
  border-radius: 10px;
  background: #fff;
}
.sp-search:before {
  content: "⌕";
  position: absolute;
  left: 16px;
  top: 9px;
  font-size: 25px;
  color: var(--sp-muted);
}
.sp-cats {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.sp-cats button {
  border: 1px solid var(--sp-line);
  border-radius: 999px;
  background: #fff;
  padding: 9px 13px;
  cursor: pointer;
}
.sp-cats button.active {
  background: var(--sp-red);
  border-color: var(--sp-red);
  color: #fff;
}
.sp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.sp-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px #15212b0d;
}
.sp-card-media {
  height: 220px;
  background: #f8f9f9;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sp-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sp-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.sp-card small {
  color: var(--sp-red);
  font-weight: 850;
  text-transform: uppercase;
}
.sp-card h3 {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}
.sp-card p {
  margin: 0;
  color: var(--sp-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sp-card button,
.sp-primary {
  border: 0;
  border-radius: 9px;
  background: var(--sp-red);
  color: #fff;
  padding: 12px 16px;
  font-weight: 850;
  cursor: pointer;
}
.sp-card button {
  margin-top: auto;
}
.sp-config {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 330px;
  gap: 20px;
}
.sp-quote {
  grid-template-columns: 360px minmax(0, 1fr);
}
.sp-quote .sp-empty {
  display: grid;
  place-content: center;
  gap: 12px;
  min-height: 420px;
}
.sp-quote .sp-empty h1,
.sp-quote .sp-empty p {
  margin: 0;
}
.sp-quote .sp-primary {
  justify-self: center;
  margin-top: 8px;
}
.sp-panel {
  background: #fff;
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  padding: 20px;
}
.sp-product-side {
  position: sticky;
  top: 96px;
  height: max-content;
}
.sp-product-side img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: #f6f7f7;
  border-radius: 10px;
}
.sp-product-side h2 {
  font-size: 25px;
  line-height: 1.14;
  margin: 16px 0 8px;
}
.sp-product-side p {
  color: var(--sp-muted);
  max-height: 180px;
  overflow: auto;
}
.sp-back {
  border: 0;
  background: none;
  padding: 0 0 14px;
  color: var(--sp-red);
  font-weight: 800;
  cursor: pointer;
}
.sp-section {
  margin-bottom: 22px;
}
.sp-section h3 {
  padding: 11px 14px;
  margin: 0 0 12px;
  border-left: 4px solid var(--sp-red);
  background: #fff4f3;
  font-size: 16px;
}
.sp-field {
  margin: 0 0 17px;
}
.sp-field > label,
.sp-field > strong {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}
.sp-required {
  color: var(--sp-red);
}
.sp-field input[type="text"],
.sp-field input[type="number"],
.sp-field select,
.sp-customer input,
.sp-customer textarea {
  width: 100%;
  border: 1px solid #cbd4d9;
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
}
.sp-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.sp-option {
  position: relative;
}
.sp-option input {
  position: absolute;
  opacity: 0;
}
.sp-option label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 9px;
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
}
.sp-option input:checked + label {
  border: 2px solid var(--sp-red);
  background: #fff5f4;
  padding: 8px;
}
.sp-option img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
}
.sp-color-swatch {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: block;
  border: 1px solid rgba(16, 16, 16, 0.22);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
  background-size: 12px 12px, 100% 100% !important;
}
.sp-color-field .sp-option label {
  min-height: 62px;
}
.sp-option span {
  font-size: 13px;
  line-height: 1.2;
}
.sp-total {
  position: sticky;
  top: 96px;
  height: max-content;
}
.sp-price {
  font-size: 38px;
  font-weight: 950;
  color: var(--sp-red);
}
.sp-price small {
  font-size: 13px;
  color: var(--sp-muted);
}
.sp-breakdown {
  margin: 15px 0;
  padding: 0;
  list-style: none;
}
.sp-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--sp-line);
  font-size: 13px;
}
.sp-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-qty input {
  width: 75px;
  padding: 10px;
  border: 1px solid var(--sp-line);
  border-radius: 8px;
}
.sp-validation {
  margin: 12px 0;
  color: #a52722;
  font-size: 13px;
}
.sp-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
}
.sp-cart-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 90px 110px 34px;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--sp-line);
}
.sp-cart-row img {
  width: 90px;
  height: 80px;
  object-fit: contain;
  background: #f6f7f7;
}
.sp-cart-row button {
  border: 0;
  background: none;
  color: #a52722;
  font-size: 20px;
  cursor: pointer;
}
.sp-customer {
  display: grid;
  gap: 11px;
}
.sp-customer textarea {
  min-height: 90px;
}
.sp-footer {
  padding: 26px 30px;
  background: var(--sp-dark);
  color: #dbe3e7;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.sp-footer strong {
  color: #fff;
}
.sp-empty {
  padding: 70px 20px;
  text-align: center;
  background: #fff;
  border-radius: 14px;
}
.sp-badge {
  display: inline-block;
  border-radius: 99px;
  background: #eaf6ef;
  color: var(--sp-green);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
}
.sp-notice {
  padding: 12px;
  border-radius: 8px;
  background: #fff7dd;
  color: #6f5512;
  margin: 12px 0;
}
.sp-print-only {
  display: none;
}
@media (max-width: 1100px) {
  .sp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sp-config {
    grid-template-columns: 280px 1fr;
  }
  .sp-total {
    grid-column: 1/-1;
    position: static;
  }
  .sp-cart {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .sp-auth-shell { grid-template-columns: 1fr; }
  .sp-auth-brand { padding: 34px 24px 18px; }
  .sp-auth-brand h1 { font-size: 36px; }
  .sp-auth-card { margin: 18px; }
  .sp-header {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .sp-brand small {
    display: none;
  }
  .sp-nav {
    width: 100%;
    overflow: auto;
    margin: 0;
  }
  .sp-nav button {
    white-space: nowrap;
  }
  .sp-main {
    width: min(100% - 20px, 1440px);
    padding-top: 18px;
  }
  .sp-hero {
    grid-template-columns: 1fr;
    padding: 25px;
  }
  .sp-hero-visual {
    min-height: 150px;
  }
  .sp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .sp-card-media {
    height: 160px;
  }
  .sp-config {
    grid-template-columns: 1fr;
  }
  .sp-product-side {
    position: static;
  }
  .sp-options {
    grid-template-columns: 1fr;
  }
  .sp-cart-row {
    grid-template-columns: 64px 1fr 60px 30px;
  }
  .sp-cart-row img {
    width: 64px;
    height: 64px;
  }
  .sp-cart-row > strong {
    grid-column: 2;
  }
  .sp-footer {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .sp-grid {
    grid-template-columns: 1fr;
  }
  .sp-card-media {
    height: 220px;
  }
}
@media print {
  body * {
    visibility: hidden;
  }
  #seral-previso-app,
  #seral-previso-app * {
    visibility: visible;
  }
  .sp-header,
  .sp-footer,
  .sp-nav,
  .sp-no-print {
    display: none !important;
  }
  .sp-print-only {
    display: block;
  }
  #seral-previso-app {
    position: absolute;
    inset: 0;
    background: #fff;
  }
  .sp-main {
    width: 100%;
    padding: 0;
  }
  .sp-cart {
    display: block;
  }
  .sp-panel {
    border: 0;
  }
  .sp-cart-row {
    break-inside: avoid;
  }
}
