/* RESISVEN - estilos de "Productos single".
   Extraidos del snippet el 2026-08-14 para que se cacheen. */

.rv-product-single-dynamic,
    .rv-product-single-dynamic *,
    .rv-product-single-dynamic *::before,
    .rv-product-single-dynamic *::after {
      box-sizing: border-box;
    }

    .rv-product-single-dynamic {
      width: 100%;
      max-width: 100%;
      padding: 70px 4% 90px;
      background:
        radial-gradient(circle at 8% 0%, rgba(245,160,0,.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
      font-family: inherit;
      overflow-x: hidden;
    }

    .rv-product-dynamic-container {
      width: 100%;
      max-width: 1380px;
      margin: 0 auto;
      overflow: hidden;
    }

    .rv-product-dynamic-main {
      display: grid;
      grid-template-columns: minmax(0, 38%) minmax(0, 62%);
      gap: 38px;
      align-items: start;
      width: 100%;
    }

    .rv-product-dynamic-gallery,
    .rv-product-dynamic-info {
      min-width: 0;
      width: 100%;
    }

    .rv-product-dynamic-category {
      display: flex;
      align-items: center;
      gap: 12px;
      color: #07122d;
      font-size: 15px;
      font-weight: 950;
      text-transform: uppercase;
      margin-bottom: 20px;
      line-height: 1.2;
      overflow-wrap: anywhere;
    }

    .rv-product-dynamic-category span {
      width: 4px;
      height: 28px;
      background: #f5a000;
      border-radius: 10px;
      flex: 0 0 auto;
    }

    .rv-product-dynamic-category a {
      color: #07122d;
      text-decoration: none;
    }

    .rv-gallery-slider {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
    }

    .rv-gallery-main {
      position: relative;
      width: 100%;
      min-height: 390px;
      height: 390px;
      border: 2px solid rgba(245,160,0,.42);
      border-radius: 24px;
      background:
        radial-gradient(circle at 80% 10%, rgba(245,160,0,.10), transparent 32%),
        #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 34px;
      box-shadow:
        0 24px 65px rgba(7,18,45,.08),
        inset 0 1px 0 rgba(255,255,255,.95);
      overflow: hidden;
    }

    .rv-gallery-slide {
      position: absolute;
      inset: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transform: scale(.96);
      transition: opacity .35s ease, transform .35s ease;
      pointer-events: none;
    }

    .rv-gallery-slide.is-active {
      opacity: 1;
      transform: scale(1);
      pointer-events: auto;
    }

    .rv-gallery-slide img {
      width: 100%;
      height: 100%;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      object-position: center center;
      display: block;
      transition: transform .35s ease;
    }

    .rv-gallery-main:hover .rv-gallery-slide.is-active img {
      transform: scale(1.04);
    }

    .rv-gallery-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 42px;
      height: 42px;
      border: none;
      border-radius: 50%;
      background: #07122d;
      color: #ffffff;
      font-size: 34px;
      line-height: 1;
      cursor: pointer;
      z-index: 5;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 12px 28px rgba(7,18,45,.18);
      transition: all .3s ease;
    }

    .rv-gallery-arrow:hover {
      background: #f5a000;
      color: #07122d;
      transform: translateY(-50%) scale(1.08);
    }

    .rv-gallery-prev {
      left: 16px;
    }

    .rv-gallery-next {
      right: 16px;
    }

    .rv-gallery-thumbs {
      margin-top: 16px;
      display: flex;
      gap: 12px;
      overflow-x: auto;
      overflow-y: hidden;
      padding: 4px 2px 8px;
      scrollbar-width: thin;
      max-width: 100%;
    }

    .rv-gallery-thumb {
      width: 82px;
      height: 82px;
      flex: 0 0 82px;
      border: 1px solid rgba(7,18,45,.10);
      border-radius: 16px;
      background: #ffffff;
      padding: 8px;
      cursor: pointer;
      box-shadow: 0 10px 26px rgba(7,18,45,.06);
      transition: all .3s ease;
      overflow: hidden;
    }

    .rv-gallery-thumb img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
    }

    .rv-gallery-thumb.is-active {
      border-color: #f5a000;
      box-shadow:
        0 14px 34px rgba(245,160,0,.20),
        inset 0 0 0 2px rgba(245,160,0,.20);
      transform: translateY(-2px);
    }

    .rv-product-dynamic-info {
      background: #ffffff;
      border-radius: 24px;
      padding: 34px 38px;
      box-shadow:
        0 24px 70px rgba(7,18,45,.08),
        inset 0 1px 0 rgba(255,255,255,.95);
      border: 1px solid rgba(7,18,45,.06);
      position: relative;
      overflow: hidden;
    }

    .rv-product-dynamic-info::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 95% 0%, rgba(245,160,0,.14), transparent 30%);
      pointer-events: none;
    }

    .rv-product-dynamic-tag,
    .rv-product-dynamic-info h1,
    .rv-product-dynamic-short,
    .rv-product-dynamic-description,
    .rv-single-actions-panel {
      position: relative;
      z-index: 2;
    }

    .rv-product-dynamic-tag {
      display: inline-flex;
      max-width: 100%;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(245,160,0,.12);
      color: #f5a000;
      font-size: 12px;
      line-height: 1.15;
      font-weight: 950;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 16px;
      white-space: normal;
    }

    .rv-product-dynamic-info h1 {
      margin: 0;
      color: #07122d;
      font-size: clamp(34px, 4vw, 58px);
      line-height: 1.05;
      font-weight: 950;
      letter-spacing: -1.4px;
      text-transform: uppercase;
      max-width: 100%;
      overflow-wrap: anywhere;
      word-break: normal;
      hyphens: auto;
    }

    .rv-product-dynamic-short {
      margin-top: 20px;
      color: #263b63;
      font-size: 18px;
      line-height: 1.7;
      font-weight: 600;
      max-width: 100%;
      overflow-wrap: anywhere;
    }

    .rv-product-dynamic-description {
      margin-top: 26px;
      border-top: 1px solid rgba(7,18,45,.10);
      padding-top: 20px;
    }

    .rv-desc-toggle {
      width: 100%;
      border: none;
      background: transparent;
      color: #07122d;
      font-size: 17px;
      font-weight: 950;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      padding: 0 0 16px;
      text-align: left;
    }

    .rv-desc-toggle i {
      color: #f5a000;
      font-style: normal;
      transition: transform .3s ease;
    }

    .rv-product-dynamic-description.is-open .rv-desc-toggle i {
      transform: rotate(180deg);
    }

    .rv-desc-content {
      position: relative;
      max-height: 260px;
      overflow: hidden;
      transition: max-height .45s ease;
    }

    .rv-desc-content::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 90px;
      background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 76%);
      pointer-events: none;
      transition: opacity .3s ease;
    }

    .rv-product-dynamic-description.is-open .rv-desc-content::after {
      opacity: 0;
    }

    .rv-desc-inner {
      color: #263b63;
      font-size: 16px;
      line-height: 1.75;
      font-weight: 500;
      max-width: 100%;
      overflow-wrap: anywhere;
    }

    .rv-desc-inner p {
      margin: 0 0 12px;
    }

    .rv-desc-inner h1,
    .rv-desc-inner h2,
    .rv-desc-inner h3,
    .rv-desc-inner h4 {
      color: #07122d;
      font-weight: 950;
      line-height: 1.2;
      margin: 18px 0 10px;
      text-transform: uppercase;
      max-width: 100%;
      overflow-wrap: anywhere;
    }

    .rv-desc-inner ul,
    .rv-desc-inner ol {
      padding-left: 20px;
      margin: 12px 0;
    }

    .rv-desc-readmore {
      width: 100%;
      margin-top: 16px;
      border: none;
      border-radius: 14px;
      padding: 14px 18px;
      background: linear-gradient(135deg, #fff200 0%, #f5c400 48%, #f5a000 100%);
      color: #07122d;
      cursor: pointer;
      font-size: 14px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .4px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: all .3s ease;
      box-shadow: 0 14px 30px rgba(245,160,0,.22);
    }

    .rv-desc-readmore:hover {
      transform: translateY(-3px);
      box-shadow: 0 20px 44px rgba(245,160,0,.30);
    }

    .rv-desc-readmore span {
      font-size: 18px;
      line-height: 1;
    }

    .rv-single-actions-panel {
      margin: 28px 0 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .rv-single-actions-panel.no-tech {
      grid-template-columns: 1fr;
    }

    .rv-single-actions-panel.no-tech .rv-action-whatsapp {
      max-width: 420px;
    }

    .rv-single-action {
      min-height: 74px;
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 15px 17px;
      border-radius: 18px;
      text-decoration: none;
      background: #ffffff;
      border: 1px solid rgba(7,18,45,.10);
      box-shadow:
        0 16px 42px rgba(7,18,45,.06),
        inset 0 1px 0 rgba(255,255,255,.92);
      transition: all .32s ease;
      overflow: hidden;
      min-width: 0;
    }

    .rv-single-action:hover {
      transform: translateY(-4px);
      box-shadow:
        0 24px 58px rgba(7,18,45,.10),
        0 14px 34px rgba(245,160,0,.12);
    }

    .rv-action-whatsapp {
      border-left: 4px solid #25d366;
    }

    .rv-action-cotizar {
      border-left: 4px solid #F09F02;
    }

    .rv-action-tech {
      border-left: 4px solid #f5a000;
    }

    .rv-action-icon {
      width: 44px;
      height: 44px;
      flex: 0 0 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all .32s ease;
    }

    .rv-wa-icon {
      background: rgba(37,211,102,.12);
    }

    .rv-tech-icon {
      background: rgba(245,160,0,.14);
    }

    .rv-action-icon svg {
      width: 23px;
      height: 23px;
      display: block;
    }

    .rv-wa-icon svg {
      fill: #25d366;
    }

    .rv-tech-icon svg {
      fill: none;
      stroke: #f5a000;
      stroke-width: 1.9;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .rv-action-text {
      display: flex;
      flex-direction: column;
      gap: 4px;
      line-height: 1.15;
      min-width: 0;
    }

    .rv-action-text strong {
      color: #07122d;
      font-size: 14.5px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .2px;
      overflow-wrap: anywhere;
    }

    .rv-action-text small {
      color: #53627d;
      font-size: 12.5px;
      font-weight: 750;
      overflow-wrap: anywhere;
    }

    .rv-action-whatsapp:hover {
      border-color: rgba(37,211,102,.45);
      background:
        radial-gradient(circle at 92% 12%, rgba(37,211,102,.10), transparent 30%),
        #ffffff;
    }

    .rv-action-tech:hover {
      border-color: rgba(245,160,0,.50);
      background:
        radial-gradient(circle at 92% 12%, rgba(245,160,0,.14), transparent 30%),
        #ffffff;
    }

    .rv-action-whatsapp:hover .rv-wa-icon {
      background: #25d366;
    }

    .rv-action-whatsapp:hover .rv-wa-icon svg {
      fill: #ffffff;
    }

    .rv-action-tech:hover .rv-tech-icon {
      background: #f5a000;
    }

    .rv-action-tech:hover .rv-tech-icon svg {
      stroke: #07122d;
    }

    .rv-fire-mini {
      margin-left: auto;
      width: 28px;
      height: 28px;
      flex: 0 0 28px;
      border-radius: 50%;
      background: linear-gradient(135deg, #fff200, #f5a000, #ff6a00);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 24px rgba(245,160,0,.26);
    }

    .rv-fire-mini svg {
      width: 16px;
      height: 16px;
      fill: #07122d;
    }

    .rv-product-dynamic-details {
      margin-top: 48px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }

    .rv-dynamic-detail-card {
      background: #ffffff;
      border-radius: 22px;
      padding: 26px;
      border: 1px solid rgba(7,18,45,.08);
      box-shadow: 0 18px 50px rgba(7,18,45,.06);
      min-width: 0;
    }

    .rv-dynamic-detail-card h3 {
      margin: 0 0 12px;
      color: #07122d;
      font-size: 18px;
      font-weight: 950;
      text-transform: uppercase;
      overflow-wrap: anywhere;
    }

    .rv-dynamic-detail-card p {
      margin: 0;
      color: #263b63;
      font-size: 15px;
      line-height: 1.65;
      font-weight: 600;
      overflow-wrap: anywhere;
    }

    .rv-dynamic-related {
      margin-top: 70px;
      position: relative;
      overflow: hidden;
    }

    .rv-dynamic-related::before {
      content: "RESISVEN";
      position: absolute;
      left: 0;
      top: -22px;
      color: rgba(7,18,45,.035);
      font-size: 140px;
      line-height: 1;
      font-weight: 950;
      letter-spacing: -6px;
      pointer-events: none;
    }

    .rv-dynamic-related-header {
      position: relative;
      z-index: 2;
      margin-bottom: 34px;
    }

    .rv-dynamic-related-header span {
      color: #f5a000;
      font-size: 13px;
      font-weight: 950;
      text-transform: uppercase;
    }

    .rv-dynamic-related-header h2 {
      margin: 8px 0 0;
      color: #07122d;
      font-size: clamp(32px, 4vw, 52px);
      line-height: 1;
      font-weight: 950;
      letter-spacing: -1.2px;
      text-transform: uppercase;
      overflow-wrap: anywhere;
    }

    .rv-marquee-products {
      position: relative;
      overflow: hidden;
      width: 100%;
      max-width: 100%;
      padding: 8px 0 18px;
    }

    .rv-marquee-products::before,
    .rv-marquee-products::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      width: 90px;
      z-index: 5;
      pointer-events: none;
    }

    .rv-marquee-products::before {
      left: 0;
      background: linear-gradient(90deg, #f8f9fb, transparent);
    }

    .rv-marquee-products::after {
      right: 0;
      background: linear-gradient(270deg, #f8f9fb, transparent);
    }

    .rv-marquee-track {
      display: flex;
      gap: 24px;
      width: max-content;
      animation: rvProductMarquee 45s linear infinite;
      will-change: transform;
    }

    .rv-marquee-products:hover .rv-marquee-track {
      animation-play-state: paused;
    }

    .rv-dynamic-related-card {
      width: 235px;
      flex: 0 0 235px;
      background: #ffffff;
      border: 1px solid rgba(7,18,45,.10);
      border-radius: 22px;
      padding: 18px;
      text-align: center;
      box-shadow: 0 18px 50px rgba(7,18,45,.06);
      transition: all .32s ease;
    }

    .rv-related-full-link {
      display: block;
      text-decoration: none;
    }

    .rv-dynamic-related-img {
      height: 170px;
      border-radius: 16px;
      background: #f8f9fb;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 18px;
      margin-bottom: 18px;
    }

    .rv-dynamic-related-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
    }

    .rv-dynamic-related-card h3 {
      min-height: 48px;
      margin: 0 0 14px;
      color: #07122d;
      font-size: 15px;
      line-height: 1.25;
      font-weight: 950;
      text-transform: uppercase;
      overflow-wrap: anywhere;
    }

    .rv-related-btn {
      display: inline-flex;
      padding: 10px 18px;
      border-radius: 999px;
      background: #f5a000;
      color: #07122d;
      text-decoration: none;
      font-size: 12px;
      font-weight: 950;
      transition: all .3s ease;
    }

    .rv-dynamic-related-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 28px 65px rgba(245,160,0,.16);
    }

    .rv-dynamic-related-card:hover .rv-related-btn {
      background: #07122d;
      color: #ffffff;
    }

    @keyframes rvProductMarquee {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    @media (max-width: 1050px) {
      .rv-product-dynamic-main {
        grid-template-columns: 1fr;
      }

      .rv-product-dynamic-details {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 767px) {
      .rv-product-single-dynamic {
        padding: 34px 14px 64px;
      }

      .rv-product-dynamic-container {
        max-width: 100%;
        overflow: hidden;
      }

      .rv-product-dynamic-main {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .rv-product-dynamic-category {
        font-size: 14px;
        margin-bottom: 16px;
        padding-left: 2px;
      }

      .rv-product-dynamic-category span {
        width: 4px;
        height: 24px;
      }

      .rv-gallery-main {
        min-height: 390px;
        height: 390px;
        padding: 22px;
        border-radius: 24px;
      }

      .rv-gallery-slide {
        inset: 22px;
      }

      .rv-gallery-slide img {
        max-width: 88%;
        max-height: 82%;
        object-fit: contain;
        object-position: center center;
        margin: auto;
      }

      .rv-gallery-main:hover .rv-gallery-slide.is-active img {
        transform: none;
      }

      .rv-gallery-arrow {
        width: 42px;
        height: 42px;
        font-size: 30px;
        z-index: 20;
      }

      .rv-gallery-prev {
        left: 12px;
      }

      .rv-gallery-next {
        right: 12px;
      }

      .rv-gallery-thumbs {
        gap: 12px;
        margin-top: 16px;
        padding: 6px 2px 12px;
      }

      .rv-gallery-thumb {
        width: 76px;
        height: 76px;
        flex: 0 0 76px;
        border-radius: 16px;
        padding: 7px;
      }

      .rv-product-dynamic-info {
        width: 100%;
        max-width: 100%;
        padding: 26px 20px;
        border-radius: 24px;
      }

      .rv-product-dynamic-tag {
        font-size: 11px;
        line-height: 1.1;
        padding: 8px 13px;
        letter-spacing: .7px;
      }

      .rv-product-dynamic-info h1 {
        font-size: clamp(28px, 7.6vw, 38px);
        line-height: 1.04;
        letter-spacing: -0.8px;
        text-wrap: balance;
      }

      .rv-product-dynamic-short {
        font-size: 16px;
        line-height: 1.62;
      }

      .rv-desc-toggle {
        font-size: 16px;
      }

      .rv-desc-content {
        max-height: 245px;
      }

      .rv-desc-inner {
        font-size: 15.5px;
        line-height: 1.68;
      }

      .rv-desc-inner h1,
      .rv-desc-inner h2,
      .rv-desc-inner h3,
      .rv-desc-inner h4 {
        font-size: 20px;
        line-height: 1.2;
      }

      .rv-desc-readmore {
        font-size: 13px;
        padding: 13px 16px;
        border-radius: 13px;
      }

      .rv-single-actions-panel,
      .rv-single-actions-panel.no-tech {
        grid-template-columns: 1fr;
        gap: 13px;
        margin-top: 24px;
      }

      .rv-single-actions-panel.no-tech .rv-action-whatsapp {
        max-width: 100%;
      }

      .rv-single-action {
        width: 100%;
        min-height: 70px;
        padding: 14px 15px;
        border-radius: 16px;
      }

      .rv-action-text strong {
        font-size: 13.5px;
        line-height: 1.15;
      }

      .rv-action-text small {
        font-size: 12px;
      }

      .rv-product-dynamic-details {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 34px;
      }

      .rv-dynamic-detail-card {
        padding: 22px 20px;
        border-radius: 18px;
      }

      .rv-dynamic-related {
        margin-top: 54px;
      }

      .rv-dynamic-related::before {
        font-size: 62px;
        top: -4px;
        letter-spacing: -3px;
      }

      .rv-dynamic-related-header h2 {
        font-size: 34px;
        line-height: 1.02;
      }

      .rv-dynamic-related-card {
        width: 205px;
        flex-basis: 205px;
        padding: 15px;
        border-radius: 19px;
      }

      .rv-dynamic-related-img {
        height: 150px;
        padding: 14px;
      }

      .rv-dynamic-related-card h3 {
        font-size: 13.5px;
        min-height: 44px;
      }

      .rv-marquee-track {
        animation-duration: 38s;
      }
    }

    @media (max-width: 390px) {
      .rv-product-single-dynamic {
        padding-left: 12px;
        padding-right: 12px;
      }

      .rv-product-dynamic-info h1 {
        font-size: clamp(25px, 7.7vw, 34px);
        letter-spacing: -0.6px;
      }

      .rv-gallery-main {
        height: 360px;
        min-height: 360px;
      }

      .rv-gallery-slide img {
        max-width: 84%;
        max-height: 78%;
      }

      .rv-product-dynamic-info {
        padding: 24px 18px;
      }
    }

/* Tipo de producto: disponible o fabricacion a medida (2026-08-15) */
.rv-tipo-badge { display:inline-block; padding:6px 14px; border-radius:999px; font-size:11.5px; font-weight:950; text-transform:uppercase; letter-spacing:.07em; }
.rv-tipo-fabricacion { background:#111111; color:#F09F02; }
.rv-tipo-disponible { background:rgba(240,159,2,.14); color:#a86e00; }
.rv-tipo-nota { margin:10px 0 0; color:#5b5b5b; font-size:14.5px; line-height:1.55; max-width:56ch; }
