.node-sound-devices-product .node-sd-story {
  --sd-panel: #18181d;
  --sd-panel-soft: #222229;
  --sd-line: rgba(255, 255, 255, .13);
  --sd-muted: #c6c6ce;
  --sd-accent: #ed1c24;
  color: #fff;
  background: #09090b;
  margin: 72px calc(50% - 50vw) 0;
  padding: clamp(56px, 7vw, 112px) max(5vw, calc((100vw - 1440px) / 2));
  overflow: clip;
  grid-column: 1 / -1;
}

.node-sd-story *,
.node-sd-story *::before,
.node-sd-story *::after { box-sizing: border-box; }

.node-sd-intro,
.node-sd-copy,
.node-sd-block,
.node-sd-stats { width: min(100%, 1320px); margin-inline: auto; }

.node-sd-intro { max-width: 980px; margin-inline: auto; text-align: center; }
.node-sd-intro > img { width: min(284px, 72vw); height: auto; margin: 0 auto 36px; }
.node-sd-intro > span,
.node-sd-copy > span {
  display: block;
  color: var(--sd-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.node-sd-intro h2 {
  margin: 16px auto 22px;
  max-width: 900px;
  color: #fff;
  font-size: clamp(38px, 6vw, 84px);
  line-height: .98;
  letter-spacing: -.045em;
}
.node-sd-intro p { margin: 0 auto; max-width: 860px; color: var(--sd-muted); font-size: clamp(17px, 2vw, 22px); line-height: 1.62; }

.node-sd-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(44px, 7vw, 84px);
}
.node-sd-stats div { min-height: 156px; padding: 28px; border: 1px solid var(--sd-line); border-radius: 22px; background: var(--sd-panel); }
.node-sd-stats dt { color: var(--sd-muted); font-size: 14px; line-height: 1.45; }
.node-sd-stats dd { margin: 16px 0 0; color: #fff; font-size: clamp(26px, 3vw, 42px); font-weight: 800; line-height: 1; letter-spacing: -.035em; }

.node-sd-block { padding-top: clamp(72px, 10vw, 140px); }
.node-sd-split { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(32px, 7vw, 110px); }
.node-sd-split:nth-of-type(even) .node-sd-figure { order: -1; }
.node-sd-wide .node-sd-copy { max-width: 900px; margin: 0 0 42px; }
.node-sd-copy h2 { margin: 12px 0 18px; color: #fff; font-size: clamp(32px, 4.5vw, 66px); line-height: 1.02; letter-spacing: -.04em; }
.node-sd-copy p,
.node-sd-block > p { color: var(--sd-muted); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.7; }
.node-sd-figure { margin: 0; min-width: 0; border: 1px solid var(--sd-line); border-radius: 28px; background: linear-gradient(145deg, #f6f6f7, #dadade); overflow: hidden; }
.node-sd-figure img { display: block; width: 100%; height: auto; max-height: 760px; object-fit: contain; }

.node-sd-plugins .node-sd-copy,
.node-sd-specs .node-sd-copy,
.node-sd-faq .node-sd-copy,
.node-sd-resources .node-sd-copy,
.node-sd-box .node-sd-copy { max-width: 900px; margin: 0 0 40px; }
.node-sd-plugin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.node-sd-plugin-grid article { padding: 26px; border: 1px solid var(--sd-line); border-radius: 20px; background: var(--sd-panel); }
.node-sd-plugin-grid h3 { margin: 0 0 12px; color: #fff; font-size: 22px; }
.node-sd-plugin-grid p { margin: 0; color: var(--sd-muted); line-height: 1.62; }
.node-sd-notes { margin: 20px 0 0; padding: 22px 24px 22px 44px; border-left: 3px solid var(--sd-accent); background: var(--sd-panel-soft); color: var(--sd-muted); }
.node-sd-notes li + li { margin-top: 8px; }

.node-sd-box > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.node-sd-box > ul li { min-height: 78px; display: flex; align-items: center; padding: 18px 20px; border: 1px solid var(--sd-line); border-radius: 16px; background: var(--sd-panel); font-weight: 700; }

.node-sd-spec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.node-sd-spec-group,
.node-sd-faq-grid details { border: 1px solid var(--sd-line); border-radius: 18px; background: var(--sd-panel); overflow: hidden; }
.node-sd-spec-group summary,
.node-sd-faq-grid summary { position: relative; cursor: pointer; padding: 22px 54px 22px 22px; color: #fff; font-weight: 800; list-style: none; }
.node-sd-spec-group summary::-webkit-details-marker,
.node-sd-faq-grid summary::-webkit-details-marker { display: none; }
.node-sd-spec-group summary::after,
.node-sd-faq-grid summary::after { content: "+"; position: absolute; top: 50%; right: 22px; transform: translateY(-50%); color: var(--sd-accent); font-size: 26px; }
.node-sd-spec-group[open] summary::after,
.node-sd-faq-grid details[open] summary::after { content: "−"; }
.node-sd-spec-group table { width: 100%; border-collapse: collapse; font-size: 15px; }
.node-sd-spec-group caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.node-sd-spec-group th,
.node-sd-spec-group td { padding: 14px 20px; border-top: 1px solid var(--sd-line); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.node-sd-spec-group th { width: 38%; color: #fff; }
.node-sd-spec-group td { color: var(--sd-muted); }

.node-sd-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.node-sd-faq-grid p { margin: 0; padding: 0 22px 22px; color: var(--sd-muted); line-height: 1.65; }
.node-sd-resources ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.node-sd-resources a { display: flex; min-height: 72px; align-items: center; padding: 18px 20px; border: 1px solid var(--sd-line); border-radius: 16px; color: #fff; background: var(--sd-panel); text-decoration: none; }
.node-sd-resources a:hover,
.node-sd-resources a:focus-visible { border-color: var(--sd-accent); }

.node-sound-devices-available .vcr-brand-card[data-brand="sound-devices"] .vcr-brand-card__logo img {
  width: min(200px, 100%);
  max-height: 64px;
  object-fit: contain;
}
.term-sound-devices .vcr-brand-archive-logo img {
  width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  filter: none !important;
}
.term-sound-devices .vcr-brand-archive-logo {
  width: min(284px, 72vw);
}
.term-sound-devices ul.products li.product .node-optical img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
body.term-sound-devices.post-type-archive-product .woocommerce-products-header .term-description {
  display: block !important;
}

/* La captura local no ejecuta el spacer técnico de Elementor que sí existe en producción. */
@media (min-width: 601px) {
  html body.node-sound-devices-product #primary.content-area > main#main.site-main,
  html body.term-sound-devices #primary.content-area > main#main.site-main,
  html body.node-sound-devices-available.woocommerce-shop #primary.content-area > main#main.site-main {
    padding-top: 92px !important;
  }
}

@media (max-width: 900px) {
  .node-sd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .node-sd-split { grid-template-columns: 1fr; }
  .node-sd-split:nth-of-type(even) .node-sd-figure { order: initial; }
  .node-sd-plugin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .node-sound-devices-product .node-sd-story { margin-top: 48px; padding: 48px 20px 72px; }
  .node-sd-intro > img { margin-bottom: 28px; }
  .node-sd-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .node-sd-stats div { min-height: 126px; padding: 20px 16px; border-radius: 16px; }
  .node-sd-stats dd { font-size: clamp(23px, 8vw, 34px); overflow-wrap: anywhere; }
  .node-sd-block { padding-top: 72px; }
  .node-sd-figure { border-radius: 18px; }
  .node-sd-plugin-grid,
  .node-sd-spec-groups,
  .node-sd-faq-grid,
  .node-sd-resources ul,
  .node-sd-box > ul { grid-template-columns: 1fr; }
  .node-sd-spec-group th,
  .node-sd-spec-group td { display: block; width: 100%; padding: 12px 16px; }
  .node-sd-spec-group td { padding-top: 0; border-top: 0; }
  .node-sd-spec-group th { border-top: 1px solid var(--sd-line); }
  .node-sd-spec-group tr:first-child th { border-top: 1px solid var(--sd-line); }
}
