.extoq-single-produto {
  --extoq-border: #e5e7eb;
  --extoq-text: #111827;
  --extoq-muted: #4b5563;
  --extoq-bg-soft: #f9fafb;
  --extoq-card-bg: #ffffff;
  color: var(--extoq-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.extoq-single-produto__container {
  max-width: var(--extoq-max);
  margin-inline: auto;
  box-sizing: border-box;
  padding: 1rem 12px;
  border-radius: 12px;
}

.extoq-breadcrumb ol {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--extoq-muted);
  font-size: 0.9rem;
}

.extoq-breadcrumb li + li::before {
  content: ">";
  margin-right: 0.4rem;
}

.extoq-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.extoq-single-back {
  margin: 0.85rem 0 0;
}

.extoq-single-back__button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 600;
  color: #111827;
  border: 1px solid var(--extoq-border);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.extoq-single-back__button:hover,
.extoq-single-back__button:focus-visible {
  background: #fcc500;
  border-color: #fcc500;
  box-shadow: 0 0 0 1px rgba(252, 197, 0, 0.25) inset;
  outline: none;
}

.extoq-product-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
  min-width: 0;
}

.extoq-product-grid > * {
  min-width: 0;
}

.extoq-product-gallery,
.extoq-product-summary,
.extoq-product-section {
  box-sizing: border-box;
  border: 1px solid var(--extoq-border);
  border-radius: 12px;
  background: var(--extoq-card-bg);
  padding: 1rem;
  overflow: hidden;
}

.extoq-product-gallery__main {
  border: 1px solid var(--extoq-border);
  border-radius: 10px;
  background: var(--extoq-bg-soft);
  overflow: hidden;
  position: relative;
}

.extoq-product-gallery__main-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  position: relative;
}

.extoq-product-gallery__main img {
  display: block;
  width: 100%;
  margin: 0 auto;
  height: auto;
  max-height: 560px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.extoq-product-gallery__placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: var(--extoq-muted);
}

.extoq-product-gallery__thumbs {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.extoq-thumb {
  border: 1px solid var(--extoq-border);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.extoq-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.extoq-thumb:focus-visible,
.extoq-thumb.is-active {
  outline: 2px solid #fcc500;
  outline-offset: 1px;
}

@media (hover: hover) and (pointer: fine) {
  .extoq-product-gallery__main-trigger::after {
    content: "\2315";
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    background: rgba(17, 24, 39, 0.7);
    pointer-events: none;
  }
}

.extoq-product-section__header {
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.extoq-product-section__header h2 {
  margin: 0;
}

.extoq-copy-description {
  border: 1px solid var(--extoq-border);
  background: #fff;
  color: var(--extoq-text);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.extoq-copy-description:hover,
.extoq-copy-description:focus-visible {
  border-color: #fcc500;
  background: #f8fafc;
}

.extoq-copy-description__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.extoq-product-summary h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
}

.extoq-product-meta {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--extoq-muted);
}

.extoq-product-meta li + li {
  margin-top: 0.35rem;
}

.extoq-product-meta__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.extoq-brand-logo-wrap--single {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.extoq-brand-logo-link--single {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1;
  text-decoration: none;
}

.extoq-brand-logo-link--single:hover,
.extoq-brand-logo-link--single:focus-visible {
  outline: 2px solid #fcc500;
  outline-offset: 3px;
}

.extoq-brand-logo--single {
  display: block;
  max-width: 150px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.extoq-variation-selector {
  border: 1px solid var(--extoq-border);
  border-radius: 10px;
  background: #fff;
  padding: 0.75rem;
  margin: 1rem 0 0;
}

.extoq-variation-selector__title {
  margin: 0 0 0.5rem;
  color: var(--extoq-text);
}

.extoq-variation-options {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.extoq-variation-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--extoq-border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.extoq-variation-option.is-current {
  border-color: #f5c400;
  box-shadow: inset 0 0 0 1px #f5c400;
}

.extoq-variation-option__image {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid var(--extoq-border);
  object-fit: cover;
  flex: 0 0 40px;
}

.extoq-variation-option__image.is-placeholder {
  display: inline-grid;
  place-items: center;
  font-size: 0.58rem;
  color: #6b7280;
  background: var(--extoq-bg-soft);
}

.extoq-variation-option__content {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.extoq-variation-option__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2937;
}

.extoq-variation-option__color {
  font-size: 0.78rem;
  color: var(--extoq-muted);
}

.extoq-variation-option.is-unavailable {
  color: #6b7280;
}

.extoq-variation-option.is-unavailable .extoq-variation-option__label,
.extoq-variation-option.is-unavailable .extoq-variation-option__color {
  color: #6b7280;
}

.extoq-variation-option.is-unavailable .extoq-variation-option__image {
  filter: grayscale(1) contrast(0.95);
  opacity: 0.85;
}

.extoq-variation-option.is-current.is-unavailable {
  border-color: #dc2626;
  box-shadow: inset 0 0 0 1px #dc2626;
}

.icone-indisponivel {
  margin-left: auto;
  flex: 0 0 auto;
}

.extoq-product-price {
  margin: 0 0 0.7rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.extoq-cash-offer {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.32rem;
  margin: 0 0 0.75rem;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  background: #ecfdf3;
  color: #118C4F;
  padding: 0.24rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.22;
}

.extoq-cash-offer__icon {
  flex: 0 0 auto;
  width: 0.92rem;
  height: 0.92rem;
  background: #118C4F;
  -webkit-mask: var(--extoq-cash-icon-url) center / contain no-repeat;
  mask: var(--extoq-cash-icon-url) center / contain no-repeat;
}

.extoq-price-restricted {
  color: #111827;
}

.extoq-product-buybox--restricted {
  align-items: flex-start;
}

.extoq-product-access-cta,
.extoq-price-restricted__message {
  min-height: 44px;
  border: 1px solid var(--extoq-border);
  border-radius: 8px;
  background: var(--extoq-bg-soft);
  color: #111827;
  font-weight: 700;
  padding: 0.65rem 0.85rem;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

.extoq-product-access-cta {
  text-decoration: none;
}

.extoq-product-access-cta:hover,
.extoq-product-access-cta:focus-visible {
  border-color: #111827;
  text-decoration: none;
}

.extoq-price-restricted__message {
  margin: 0;
}

.extoq-product-buybox--restricted .extoq-price-lock {
  width: 100%;
  max-width: 520px;
}

.extoq-price-lock {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #f8fafc;
  padding: 0.85rem;
  color: #111827;
}

.extoq-price-lock--guest {
  border-color: #f3d46b;
  background: #fffbeb;
}

.extoq-price-lock--pending {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.extoq-price-lock--blocked {
  border-color: #fecaca;
  background: #fff1f2;
}

.extoq-price-lock__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.extoq-price-lock__body {
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}

.extoq-price-lock__title,
.extoq-price-lock__description {
  margin: 0;
}

.extoq-price-lock__title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.3;
}

.extoq-price-lock__description {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.35;
}

.extoq-price-lock__action {
  color: #111827;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.extoq-price-lock__action:hover,
.extoq-price-lock__action:focus-visible {
  color: #000;
}

.extoq-product-availability {
  margin: 0;
  padding: 0.75rem;
  background: var(--extoq-bg-soft);
  border-left: 3px solid #16a34a;
}

.extoq-product-stock {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  background: var(--extoq-bg-soft);
  border-left: 3px solid #2563eb;
}

.extoq-product-stock.is-in-stock {
  border-left-color: #16a34a;
  color: #166534;
}

.extoq-product-stock.is-out-of-stock {
  border-left-color: #dc2626;
  color: #b91c1c;
}

.extoq-product-buybox {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: end;
}

.extoq-product-qty {
  display: grid;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: var(--extoq-muted);
}

.extoq-product-qty input {
  width: 92px;
  height: 44px;
  border: 1px solid var(--extoq-border);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.extoq-add-to-cart {
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #fcc500;
  color: #111827;
  font-weight: 700;
  cursor: pointer;
  padding: 0.45rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  box-sizing: border-box;
}

.extoq-add-to-cart__icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.extoq-add-to-cart__icon.is-hidden {
  display: none;
}

.extoq-add-to-cart:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.extoq-product-buybox__feedback {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  color: var(--extoq-muted);
  min-height: 1.2em;
}

.extoq-product-section {
  margin-top: 1rem;
}

.extoq-product-section h2 {
  font-size: 1.1rem;
  margin: 0 0 0.85rem;
}

.extoq-product-section[aria-labelledby="extoq-ficha-title"] {
  border-top: 3px solid #d1d7df;
  padding-top: 0.85rem;
}

.extoq-tech-specs {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.extoq-tech-specs__item {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--extoq-border);
}

.extoq-tech-specs__item > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.extoq-tech-specs dt {
  font-weight: 600;
}

.extoq-tech-specs dd {
  margin: 0;
  color: var(--extoq-muted);
}

.extoq-measure-visual {
  margin-top: 0.75rem;
  border: 1px solid var(--extoq-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 0.7rem;
  overflow: hidden;
  max-width: 360px;
}

.extoq-measure-visual__base-outline {
  fill: none;
  stroke: #64748b;
  stroke-width: 0.9;
  opacity: 0.28;
}

.extoq-measure-visual__title {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #374151;
}

.extoq-measure-visual svg {
  display: block;
  width: min(100%, 340px);
  height: auto;
  max-width: 100%;
}

.extoq-measure-visual__top,
.extoq-measure-visual__front,
.extoq-measure-visual__side {
  stroke: #64748b;
  stroke-width: 1.25;
  stroke-linejoin: round;
}

.extoq-measure-visual__top {
  fill: url(#extoqMattressTop);
}

.extoq-measure-visual__front {
  fill: #dce5f0;
}

.extoq-measure-visual__side {
  fill: url(#extoqMattressSide);
}

.extoq-measure-visual__line,
.extoq-measure-visual__guide {
  stroke-width: 1.15;
}

.extoq-measure-visual__guide {
  stroke-dasharray: 2 2;
  stroke-opacity: 0.68;
}

.extoq-measure-visual__line--length,
.extoq-measure-visual__guide--length,
.extoq-measure-visual__label--length {
  stroke: #e63750;
  fill: #e63750;
}

.extoq-measure-visual__line--width,
.extoq-measure-visual__guide--width,
.extoq-measure-visual__label--width {
  stroke: #6a9820;
  fill: #6a9820;
}

.extoq-measure-visual__line--height,
.extoq-measure-visual__guide--height,
.extoq-measure-visual__label--height {
  stroke: #2e85e7;
  fill: #2e85e7;
}

.extoq-measure-visual__label {
  font-size: 10.6px;
  font-weight: 600;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.extoq-camadas-list {
  margin: 0;
  padding-left: 1.25rem;
}

.extoq-camadas-list li + li {
  margin-top: 0.4rem;
}

.extoq-product-description {
  color: var(--extoq-muted);
  line-height: 1.65;
}

@media (min-width: 960px) {
  .extoq-product-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(420px, 1.42fr);
    gap: 1.25rem;
  }

  .extoq-product-gallery {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-areas: "thumbs main";
    gap: 0.75rem;
    align-content: start;
  }

  .extoq-product-gallery__main {
    grid-area: main;
  }

  .extoq-product-gallery__thumbs {
    grid-area: thumbs;
    margin-top: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-self: start;
  }

  .extoq-product-summary {
    position: sticky;
    top: 1rem;
  }
}

@media (max-width: 640px) {
  .extoq-tech-specs__item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .extoq-product-gallery,
  .extoq-product-summary,
  .extoq-product-section {
    padding: 0.75rem;
  }

  .extoq-single-back__button {
    width: 100%;
    justify-content: center;
  }

  .extoq-product-gallery__main img {
    max-height: 420px;
  }

  .extoq-product-section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .extoq-measure-visual {
    padding: 0.6rem;
    max-width: 100%;
  }

  .extoq-measure-visual__label {
    font-size: 10px;
  }

  .extoq-product-buybox {
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .extoq-product-qty {
    flex: 0 0 auto;
  }

  .extoq-product-qty input {
    width: 84px;
  }

  .extoq-add-to-cart {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }
}
