/* Estilos del embed de la ficha (directorio/empresa/empresa-v11.html) */

    * {
      box-sizing: border-box;
    }
  
    a {
      text-decoration: none;
      border: none;
      outline: none;
      color: white;
    }
  
    img {
      max-width: 100%;
      height: auto;
    }
  
    /* --- Skeleton Loading --- */
    .skeleton {
      background: linear-gradient(90deg, #eee, #f5f5f5, #eee);
      background-size: 200% 100%;
      animation: shimmer 1.2s infinite;
    }
    @keyframes shimmer {
      0% { background-position: -200% 0; }
      100% { background-position: 200% 0; }
    }
  
    .logo-skeleton {
      width: 100%;
      height: 100%;
      border-radius: 6px;
      margin: auto;
    }
  
    .carousel-skeleton {
      width: 100%;
      max-width: 550px;
      height: 500px;
      border-radius: 6px;
    }
  
    /* --- Logo --- */
    .logo-img-div {
      border-radius: 6px;
      width: 100%;
      max-width: 550px;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #333;
      padding: 10px;
    }
  
    .logo-img-div img {
        max-height: 200px;
      width: auto;
      height: auto;
      display: none; /* hidden until loaded */
    }
  
    /* --- Carousel --- */
    .carousel {
      position: relative;
      width: 100%;
      max-width: 550px;
      height: 500px;
      overflow: hidden;
    }
  
    .carousel img {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      border-radius: 4px;
      display: none;
      cursor: pointer;
    }
  
    .carousel img.active {
      display: block;
      animation: slideIn 0.6s ease forwards;
    }
  
    .carousel img.slide-out-left {
      animation: slideOutLeft 0.6s ease forwards;
    }
    .carousel img.slide-in-left {
      animation: slideInLeft 0.6s ease forwards;
    }
    .carousel img.slide-out-right {
      animation: slideOutRight 0.6s ease forwards;
    }
    .carousel img.slide-in-right {
      animation: slideInRight 0.6s ease forwards;
    }
  
    @keyframes slideInRight {
      from { transform: translateX(100%); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }
    @keyframes slideOutLeft {
      from { transform: translateX(0); opacity: 1; }
      to { transform: translateX(-100%); opacity: 0; }
    }
    @keyframes slideInLeft {
      from { transform: translateX(-100%); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }
    @keyframes slideOutRight {
      from { transform: translateX(0); opacity: 1; }
      to { transform: translateX(100%); opacity: 0; }
    }
  
    .carousel button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.5);
      border: none;
      padding: 10px;
      color: white;
      border-radius: 50%;
      cursor: pointer;
      z-index: 2;
    }
  
    .carousel button:disabled {
      opacity: 0.3;
      cursor: not-allowed;
    }
  
    .carousel .prev { left: 10px; }
    .carousel .next { right: 10px; }
  
    .dots {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 2;
    }
  
    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #bbb;
      cursor: pointer;
    }
  
    .dot.active { background: #333; }
  
    /* Responsive carousel height */
    @media (max-width: 768px) {
      .carousel { height: 300px; }
      .carousel-skeleton { height: 300px; }
    }
  
    @media (max-width: 480px) {
      .carousel { height: 200px; }
      .carousel-skeleton { height: 200px; }
    }
  
    /* --- Popup --- */
    .overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.8);
      justify-content: center;
      align-items: center;
      z-index: 99999999999998;
    }
  
    .custom-popup {
      position: relative;
      max-width: 90%;
      max-height: 90%;
      overflow: hidden;
    }
  
    .custom-popup img {
      width: 100%;
      height: auto;
      cursor: zoom-in;
      transition: transform 0.3s ease;
    }
  
    .custom-popup img.zoomed {
      cursor: zoom-out;
      transform: scale(2);
      transform-origin: center;
    }
  
    .close-popup {
      position: absolute;
      top: 10px;
      right: 10px;
      background: none;
      border: none;
      color: white;
      font-size: 32px;
      cursor: pointer;
      z-index: 99999999999999;
    }
  
    .close-popup ion-icon {
      font-size: 32px;
    }
  
    .customcontainer {
      flex-wrap: wrap;
      margin: 0;
      display: flex;
      flex-direction: row;
      width: 100%;
      padding: 3rem;
      background-color: #F8F4E8;
      gap: 60px;
      align-items: flex-start;
    }
  
    .left, .right {
      padding: 3rem;
      overflow: hidden;
      margin: 0;
      flex: 1;
    }
  
    .left {
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      position: relative;
    }
  
    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 18px 8px 8px;
      background: #ffffff;
      border: 1px solid rgba(213, 0, 50, 0.18);
      border-radius: 999px;
      text-decoration: none;
      color: #1a1a1a;
      font-weight: 600;
      font-size: 14px;
      font-family: 'Chakra Petch', system-ui, sans-serif;
      transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 1px 2px rgba(15, 15, 15, 0.04);
    }

    .chip:hover {
      background: #d50032;
      color: #ffffff;
      border-color: #d50032;
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(213, 0, 50, 0.28);
    }

    .chip-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
      background: #fdebf0;
      color: #d50032;
      border-radius: 50%;
      font-size: 16px;
      transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
      flex-shrink: 0;
    }

    .chip:hover .chip-icon {
      background: rgba(255, 255, 255, 0.22);
      color: #ffffff;
    }

    /* Responsive mobile */
    @media (max-width: 480px) {
      .chip {
        font-size: 13px;
        padding: 6px 14px 6px 6px;
      }
      .chip-icon {
        width: 26px;
        height: 26px;
        font-size: 14px;
      }
    }
  
    .tag {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #918eff;
      color: white;
      padding: 10px 20px;
      border-radius: 20px;
      font-weight: bold;
      font-size: 14px;
    }
  
    .right h1 {
      font-size: 40px;
      margin-bottom: 20px;
    }
  
    .right p {
      margin: 6px 0;
      font-size: 18px;
    }
  
    .custombutton {
      margin: 10px 0;
      background: #333;
      color: white;
      padding: 15px 30px;
      width:400px;
      font-weight: bold;
      font-size: 16px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
  
    .contact-box {
      background: #d9d9d6;
      width: 100%;
      max-width: 400px;
      color: #333;
      padding: 25px;
      border-radius: 6px;
      font-size: 16px;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
  
    
    .contact-box p {
        width: 100% !important;
        max-width: 100%;
        margin: 0 auto;
        font-size: 16px !important;
        line-height: 1.5 !important;
      }
  
      ul {
        font-size: 16px;
        padding-left: 16px;
        line-height: 1.5;
      }
  
       li {
        font-size: 16px;
        line-height: 1.5;
      }
  
    .contact-box.otras-sucursales-contact-box {
        background: #d9d9d6;
        width: 100%;
        max-width: 550px;
        color: #333 !important;
        padding: 25px;
        font-size: 16px;
    }
  
    .contact-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
    }
  
    .contact-item svg {
      width: 18px;
      height: 18px;
      fill: #d50032;
    }
  
    .email svg {
      fill: #0059d5;
    }
  
    ion-icon {
      font-size: 18px;
    }
  
    /* --- Ajustes Responsive Generales --- */
    @media (max-width: 1024px) {
      .customcontainer {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 30px;
      }
  
      .verified-icon {
        width:30px;
        height:30px;
      }
  
      .left, .right {
        padding: 1.5rem 1rem;
        width: 100%;
      }
  
      /* 👇 Invertir orden en pantallas pequeñas */
      .left {
        order: 2;
      }
      .right {
        order: 1;
      }
  
      .right h1 {
        font-size: 32px;
        text-align: center;
      }
  
      .carousel {
        max-width: 100%;
      }
  
      .contact-box {
        width: 100% !;
        max-width: 100%;
        margin: 0 auto;
        font-size: 16px;
        line-height: 1.5;
      }
  
      iframe, .map-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
      }
    }
  
    @media (max-width: 600px) {
      .customcontainer {
        padding: 1rem;
        gap: 20px;
      }
  
      .verified-icon {
        width:14px;
        height:14px;
      }
  
      .right h1 {
        font-size: 26px;
        line-height: 1.2;
        text-align: center;
      }
  
      .custombutton {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
      }
  
      .tags {
        justify-content: center;
      }
  
      .tag {
        font-size: 14px;
        padding: 8px 16px;
      }
  
      .contact-item {
        font-size: 14px;
        flex-wrap: wrap;
      }
    }
  
    .otras-sucursales ul {
        color: #333 !important;
    }
    .otras-sucursales ul li {
        color: #333 !important;
    }
    .otras-sucursales ul li a {
        text-decoration: none;
        color: #333 !important;
    }
  

      .ctcov-box{max-width:400px;width:100%;margin-top:24px;}
      .ctcov-box .ctcov-layout{display:flex;gap:16px;width:100%;align-items:center;background:#F8F4E8;border-radius:10px;padding:14px;box-sizing:border-box;}
      .ctcov-mapwrap{flex:0 0 96px;width:96px;max-width:96px;align-self:center;}
      .ctcov-map{display:block !important;width:96px !important;height:494px !important;overflow:visible;}
      .ctcov-region{fill:#d9dde8;stroke:#fff;stroke-width:.7;transition:fill .15s ease;cursor:default;}
      .ctcov-region:hover{fill:#c2c6d4;}
      .ctcov-region.ctcov-on{fill:#d50032;}
      .ctcov-region.ctcov-on:hover{fill:#9b0024;}
      .ctcov-list{flex:1 1 auto;display:flex;flex-wrap:wrap;gap:6px;align-content:flex-start;}
      .ctcov-chip{display:inline-flex;align-items:center;background:#fff;border:1px solid rgba(213,0,50,.3);color:#9b0024;font-size:12px;font-weight:600;padding:4px 11px;border-radius:14px;}
      .ctcov-empty{font-size:13px;color:#9ca3af;}
      .ctcov-tip{position:fixed;z-index:99999;pointer-events:none;background:rgba(26,29,36,.92);color:#fff;font-size:12px;font-weight:500;padding:4px 9px;border-radius:8px;white-space:nowrap;transform:translate(-50%,-130%);opacity:0;transition:opacity .12s ease;box-shadow:0 6px 18px rgba(0,0,0,.25);}
      .ctcov-tip.ctcov-show{opacity:1;}
      .ctcov-tip::after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);border:5px solid transparent;border-top-color:rgba(26,29,36,.92);}
      @media (prefers-reduced-motion:reduce){.ctcov-region,.ctcov-tip{transition:none!important;}}
    

      #ctBreadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:2px;min-height:22px;margin:0 0 12px;font-size:13px;line-height:1.4;color:#6b7280;}
      #ctBreadcrumb:empty{display:none;}
      #ctBreadcrumb a{color:#6b7280;text-decoration:none;padding:2px 4px;border-radius:4px;}
      #ctBreadcrumb a:hover{color:#1f2937;text-decoration:underline;}
      #ctBreadcrumb .ct-bc-item{display:inline-flex;align-items:center;gap:2px;min-width:0;max-width:100%;}
      #ctBreadcrumb ion-icon{font-size:12px;color:#9ca3af;flex-shrink:0;}
      #ctBreadcrumb .ct-breadcrumb-actual{color:#1f2937;font-weight:600;padding:2px 4px;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
      @media (max-width:1024px){#ctBreadcrumb{justify-content:center;}}
    

      .ctr-rating-block {
        --ctr-star-color: #f5a623;
        --ctr-star-empty: #d9d9d6;
        --ctr-primary: #d50032;
        --ctr-text: #333;
        --ctr-text-soft: #625d5d;
        margin: 6px 0 14px;
      }

      .ctr-rating-block .ctr-rating-loading,
      .ctr-rating-block .ctr-rating-loaded {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
      }

      .ctr-rating-stars-bg {
        position: relative;
        display: inline-block;
        width: 110px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath fill='%23d9d9d6' d='m13.524 5.721 5.442.807c.45.065.83.384.973.822.144.442.027.921-.299 1.248l-3.946 3.89.932 5.579a1.217 1.217 0 0 1-1.765 1.278L9.998 16.74 5.14 19.345a1.214 1.214 0 0 1-1.765-1.279l.932-5.578L.36 8.598a1.228 1.228 0 0 1-.3-1.248c.143-.438.52-.757.975-.822l5.437-.807L8.912.685a1.207 1.207 0 0 1 2.177 0l2.435 5.036Z'/%3E%3C/svg%3E");
        background-size: 22px 20px;
        background-repeat: repeat-x;
      }

      .ctr-rating-stars-fg {
        position: absolute;
        top: 0; left: 0;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath fill='%23d50032' d='m13.524 5.721 5.442.807c.45.065.83.384.973.822.144.442.027.921-.299 1.248l-3.946 3.89.932 5.579a1.217 1.217 0 0 1-1.765 1.278L9.998 16.74 5.14 19.345a1.214 1.214 0 0 1-1.765-1.279l.932-5.578L.36 8.598a1.228 1.228 0 0 1-.3-1.248c.143-.438.52-.757.975-.822l5.437-.807L8.912.685a1.207 1.207 0 0 1 2.177 0l2.435 5.036Z'/%3E%3C/svg%3E");
        background-size: 22px 20px;
        background-repeat: repeat-x;
      }

      .ctr-rating-score {
        font-size: 22px;
        font-weight: 700;
        color: var(--ctr-text);
        line-height: 1;
      }

      .ctr-rating-score-skeleton {
        color: var(--ctr-star-empty);
        font-size: 22px;
        font-weight: 700;
      }

      .ctr-rating-block p {
        margin: 4px 0 0;
        font-size: 14px !important;
        color: var(--ctr-text-soft);
        line-height: 1.4;
        width: 100%;
      }

      .ctr-rating-empty-cta {
        display: inline-block;
        color: var(--ctr-primary);
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 3px;
        margin-top: 4px;
      }
      .ctr-rating-empty-cta:hover { opacity: 0.8; }

      /* Estrellas del resumen: interactivas (hover preview + click para reseñar) */
      .ctr-rating-stars-interactive { cursor: pointer; }
      .ctr-rating-stars-fg { pointer-events: none; }
      .ctr-rating-stars-hover {
        position: absolute;
        top: 0; left: 0;
        height: 20px;
        width: 0%;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath fill='%23f5a623' d='m13.524 5.721 5.442.807c.45.065.83.384.973.822.144.442.027.921-.299 1.248l-3.946 3.89.932 5.579a1.217 1.217 0 0 1-1.765 1.278L9.998 16.74 5.14 19.345a1.214 1.214 0 0 1-1.765-1.279l.932-5.578L.36 8.598a1.228 1.228 0 0 1-.3-1.248c.143-.438.52-.757.975-.822l5.437-.807L8.912.685a1.207 1.207 0 0 1 2.177 0l2.435 5.036Z'/%3E%3C/svg%3E");
        background-size: 22px 20px;
        background-repeat: repeat-x;
        opacity: 0;
        pointer-events: none;
      }
      .ctr-rating-stars-bg.is-hovering .ctr-rating-stars-fg { opacity: 0; }
      .ctr-rating-stars-bg.is-hovering .ctr-rating-stars-hover { opacity: 1; }
      .ctr-star-hits {
        position: absolute;
        inset: 0;
        display: flex;
        z-index: 2;
      }
      .ctr-star-hits .ctr-star-hit { flex: 1 1 0; height: 100%; }
      

      .contact-box .ctc-reveal-btn{
        background:#fdebf0;
        color:#d50032;
        border:1px solid rgba(213,0,50,0.25);
        padding:4px 12px;
        border-radius:6px;
        font-size:13px;
        font-weight:700;
        font-family:inherit;
        cursor:pointer;
        transition:background .15s,color .15s;
      }
      .contact-box .ctc-reveal-btn:hover{ background:#d50032; color:#fff; }
      .contact-box .ctc-contact-link{ color:#333; text-decoration:none; }
      .contact-box .ctc-contact-link:hover{ text-decoration:underline; }
    

  /* ==========================================
     SECCIÓN DE RESEÑAS
     ========================================== */
  .ctr-reviews-section {
    --ctr-primary: #d50032;
    --ctr-primary-hover: #b0002a;
    --ctr-bg-cream: #F8F4E8;
    --ctr-bg-card: #ffffff;
    --ctr-bg-soft: #f5f5f5;
    --ctr-border: #e5e7eb;
    --ctr-border-strong: #d9d9d6;
    --ctr-text: #333;
    --ctr-text-soft: #625d5d;
    --ctr-text-muted: #9ca3af;
    --ctr-star: #f5a623;
    --ctr-star-empty: #d9d9d6;
    --ctr-radius: 6px;
    --ctr-shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
    --ctr-shadow: 0 2px 8px rgba(15,23,42,0.05);

    background: var(--ctr-bg-cream);
    padding: 4rem 1rem;
    color: var(--ctr-text);
  }

  .ctr-reviews-container {
    max-width: 900px;
    margin: 0 auto;
  }

  .ctr-reviews-header {
    text-align: center;
    margin-bottom: 32px;
  }
  .ctr-reviews-header h2 {
    font-size: 32px;
    margin: 0 0 8px;
    color: var(--ctr-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .ctr-reviews-header h2 ion-icon { color: var(--ctr-star); }
  .ctr-reviews-header p {
    color: var(--ctr-text-soft);
    font-size: 16px;
    margin: 0;
  }

  /* Loading skeleton */
  .ctr-reviews-loading { padding: 32px 0; }
  .ctr-skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, #eee, #f5f5f5, #eee);
    background-size: 200% 100%;
    animation: ctrShimmer 1.2s infinite;
    border-radius: 4px;
    margin-bottom: 12px;
  }
  .ctr-skeleton-line.short { width: 60%; }
  @keyframes ctrShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  /* Empty state */
  .ctr-reviews-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--ctr-bg-card);
    border-radius: var(--ctr-radius);
    box-shadow: var(--ctr-shadow);
  }
  .ctr-empty-icon {
    font-size: 48px;
    color: var(--ctr-text-muted);
    margin-bottom: 12px;
  }
  .ctr-empty-icon ion-icon { font-size: 64px; }
  .ctr-reviews-empty h3 {
    margin: 0 0 8px;
    font-size: 22px;
  }
  .ctr-reviews-empty p {
    color: var(--ctr-text-soft);
    margin: 0 0 24px;
    font-size: 15px;
  }

  /* Overview */
  .ctr-overview {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    background: var(--ctr-bg-card);
    border-radius: var(--ctr-radius);
    padding: 28px;
    box-shadow: var(--ctr-shadow);
    margin-bottom: 20px;
  }
  .ctr-overview-main {
    text-align: center;
    border-right: 1px solid var(--ctr-border);
    padding-right: 24px;
  }
  .ctr-overview-score {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: var(--ctr-text);
    margin-bottom: 8px;
  }
  .ctr-overview-stars {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
  }
  .ctr-overview-count {
    color: var(--ctr-text-soft);
    font-size: 14px;
  }

  /* Stars (CSS only) */
  .ctr-stars-bg {
    position: relative;
    display: inline-block;
    width: 110px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath fill='%23d9d9d6' d='m13.524 5.721 5.442.807c.45.065.83.384.973.822.144.442.027.921-.299 1.248l-3.946 3.89.932 5.579a1.217 1.217 0 0 1-1.765 1.278L9.998 16.74 5.14 19.345a1.214 1.214 0 0 1-1.765-1.279l.932-5.578L.36 8.598a1.228 1.228 0 0 1-.3-1.248c.143-.438.52-.757.975-.822l5.437-.807L8.912.685a1.207 1.207 0 0 1 2.177 0l2.435 5.036Z'/%3E%3C/svg%3E");
    background-size: 22px 20px;
    background-repeat: repeat-x;
  }
  .ctr-stars-fg {
    position: absolute;
    top: 0; left: 0;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath fill='%23d50032' d='m13.524 5.721 5.442.807c.45.065.83.384.973.822.144.442.027.921-.299 1.248l-3.946 3.89.932 5.579a1.217 1.217 0 0 1-1.765 1.278L9.998 16.74 5.14 19.345a1.214 1.214 0 0 1-1.765-1.279l.932-5.578L.36 8.598a1.228 1.228 0 0 1-.3-1.248c.143-.438.52-.757.975-.822l5.437-.807L8.912.685a1.207 1.207 0 0 1 2.177 0l2.435 5.036Z'/%3E%3C/svg%3E");
    background-size: 22px 20px;
    background-repeat: repeat-x;
    transition: width .6s ease;
  }

  .ctr-overview-breakdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
  .ctr-bd-row {
    display: grid;
    grid-template-columns: 110px 1fr 36px;
    gap: 14px;
    align-items: center;
    font-size: 14px;
  }
  .ctr-bd-label { color: var(--ctr-text-soft); font-weight: 500; }
  .ctr-bd-bar {
    height: 8px;
    background: var(--ctr-border);
    border-radius: 4px;
    overflow: hidden;
  }
  .ctr-bd-fill {
    height: 100%;
    background: var(--ctr-primary);
    width: 0%;
    transition: width .8s ease;
  }
  .ctr-bd-value { font-weight: 600; color: var(--ctr-text); }

  /* Top tags */
  .ctr-top-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }
  .ctr-top-tag {
    background: var(--ctr-bg-card);
    border: 1px solid var(--ctr-primary);
    color: var(--ctr-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: var(--ctr-shadow-sm);
  }
  .ctr-top-tag-count {
    opacity: 0.6;
    margin-left: 6px;
    font-weight: 400;
  }

  /* CTA */
  .ctr-cta-row {
    text-align: center;
    margin-bottom: 32px;
  }
  .ctr-cta-btn {
    background: var(--ctr-primary);
    color: white;
    border: 1px solid var(--ctr-primary);
    padding: 12px 28px;
    border-radius: var(--ctr-radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--ctr-shadow-sm);
    transition: background .15s, transform .1s;
    font-family: inherit;
  }
  .ctr-cta-btn:hover { background: var(--ctr-primary-hover); }
  .ctr-cta-btn:active { transform: translateY(1px); }
  .ctr-cta-btn ion-icon { font-size: 18px; }

  /* Review card */
  .ctr-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .ctr-review-card {
    background: var(--ctr-bg-card);
    border-radius: var(--ctr-radius);
    padding: 24px;
    box-shadow: var(--ctr-shadow);
  }
  .ctr-review-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }
  .ctr-review-user {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .ctr-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ctr-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
  }
  .ctr-user-meta { font-size: 14px; }
  .ctr-user-name {
    font-weight: 700;
    color: var(--ctr-text);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .ctr-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
  }
  .ctr-user-role {
    color: var(--ctr-text-soft);
    font-size: 13px;
    margin-top: 2px;
  }
  .ctr-review-meta-right {
    text-align: right;
    font-size: 13px;
    color: var(--ctr-text-soft);
  }
  .ctr-review-stars { margin-bottom: 4px; }
  .ctr-review-date { font-size: 12px; color: var(--ctr-text-muted); }

  .ctr-review-title {
    font-size: 16px;
    font-weight: 700;
    margin: 12px 0 8px;
    color: var(--ctr-text);
  }
  .ctr-review-body {
    color: var(--ctr-text);
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-wrap;
  }

  .ctr-review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 0;
  }
  .ctr-review-tag {
    background: white;
    border: 1px solid var(--ctr-primary);
    color: var(--ctr-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 16px;
  }

  .ctr-review-extras {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--ctr-border);
    font-size: 13px;
    color: var(--ctr-text-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }
  .ctr-review-extras strong { color: var(--ctr-text); font-weight: 600; }

  .ctr-show-all-row {
    text-align: center;
    margin-top: 20px;
  }
  .ctr-show-all-btn {
    background: white;
    color: var(--ctr-text);
    border: 1px solid var(--ctr-border-strong);
    padding: 11px 22px;
    border-radius: var(--ctr-radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--ctr-shadow-sm);
    font-family: inherit;
  }
  .ctr-show-all-btn:hover {
    background: var(--ctr-bg-soft);
    border-color: var(--ctr-primary);
    color: var(--ctr-primary);
  }
  .ctr-show-all-btn ion-icon {
    transition: transform .2s;
  }
  .ctr-show-all-btn.expanded ion-icon { transform: rotate(180deg); }

  /* ==========================================
     MODAL
     ========================================== */
  .ctr-modal-overlay {
    --ctr-primary: #d50032;
    --ctr-primary-hover: #b0002a;
    --ctr-bg-card: #ffffff;
    --ctr-border: #e5e7eb;
    --ctr-text: #333;
    --ctr-text-soft: #625d5d;
    --ctr-text-muted: #9ca3af;
    --ctr-star: #f5a623;
    --ctr-star-empty: #d9d9d6;
    --ctr-radius: 6px;
    --ctr-error: #dc2626;

    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 99999999999998;
    padding: 16px;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: center;
  }
  .ctr-modal-overlay.active {
    display: flex;
  }

  .ctr-modal {
    background: white;
    border-radius: var(--ctr-radius);
    max-width: 600px;
    width: 100%;
    margin: 32px auto;
    padding: 36px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    color: var(--ctr-text);
  }

  .ctr-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--ctr-text-muted);
    padding: 8px;
    line-height: 1;
  }
  .ctr-modal-close ion-icon { font-size: 28px; }
  .ctr-modal-close:hover { color: var(--ctr-text); }

  .ctr-modal h2 {
    margin: 0 0 8px;
    font-size: 24px;
    color: var(--ctr-text);
  }
  .ctr-modal h3 {
    font-size: 14px;
    margin: 0 0 14px;
    color: var(--ctr-text-soft);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .ctr-modal-step { display: none; }
  .ctr-modal-step.ctr-modal-step-active { display: block; }

  .ctr-user-info {
    background: #fdf2f4;
    border-left: 3px solid var(--ctr-primary);
    padding: 12px 14px;
    border-radius: 0 var(--ctr-radius) var(--ctr-radius) 0;
    font-size: 13px;
    color: var(--ctr-text-soft);
    margin-bottom: 24px;
  }
  .ctr-user-info strong { color: var(--ctr-text); }

  .ctr-form-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--ctr-border);
  }
  .ctr-form-section:last-of-type { border-bottom: none; }

  .ctr-hint {
    font-weight: 400;
    font-size: 12px;
    color: var(--ctr-text-muted);
    text-transform: none;
    letter-spacing: 0;
    margin-left: 6px;
  }

  /* Form inputs */
  .ctr-modal label {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--ctr-text-soft);
    font-weight: 600;
  }
  .ctr-modal input[type=text],
  .ctr-modal textarea,
  .ctr-modal select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--ctr-border);
    border-radius: var(--ctr-radius);
    font-size: 14px;
    margin-top: 6px;
    font-family: inherit;
    box-sizing: border-box;
    box-shadow: var(--ctr-shadow-sm);
    color: var(--ctr-text);
  }
  .ctr-modal input:focus,
  .ctr-modal textarea:focus,
  .ctr-modal select:focus {
    outline: none;
    border-color: var(--ctr-primary);
    box-shadow: 0 0 0 3px rgba(213,0,50,.1);
  }
  .ctr-modal textarea { resize: vertical; }

  .ctr-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ctr-char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--ctr-text-muted);
    margin-top: 4px;
  }

  /* Stars input (selectable) */
  .ctr-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: var(--ctr-text);
  }
  .ctr-stars-input {
    display: flex;
    gap: 4px;
  }
  .ctr-stars-input span {
    font-size: 26px;
    color: var(--ctr-star-empty);
    cursor: pointer;
    transition: color .1s;
    user-select: none;
    line-height: 1;
  }
  .ctr-stars-input span.ctr-star-filled,
  .ctr-stars-input span.ctr-star-hover {
    color: var(--ctr-star);
  }

  /* Tags input */
  .ctr-tags-input {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ctr-tag-btn {
    background: white;
    border: 1px solid var(--ctr-primary);
    color: var(--ctr-primary);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .1s;
  }
  .ctr-tag-btn.ctr-tag-selected {
    background: var(--ctr-primary);
    color: white;
  }

  .ctr-submit-btn {
    background: var(--ctr-primary);
    color: white;
    border: 1px solid var(--ctr-primary);
    padding: 12px 24px;
    border-radius: var(--ctr-radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 16px;
    box-shadow: var(--ctr-shadow-sm);
    font-family: inherit;
  }
  .ctr-submit-btn:hover:not(:disabled) { background: var(--ctr-primary-hover); }
  .ctr-submit-btn:disabled { background: #94a3b8; cursor: not-allowed; }

  .ctr-error {
    color: var(--ctr-error);
    font-size: 13px;
    margin-top: 12px;
    min-height: 18px;
    text-align: center;
  }

  .ctr-success-icon {
    text-align: center;
    color: #22c55e;
    font-size: 64px;
    margin-bottom: 16px;
  }
  .ctr-success-icon ion-icon { font-size: 80px; }
  #ctr-step-success { text-align: center; }
  #ctr-step-success p { color: var(--ctr-text-soft); margin: 0 0 24px; }

  /* ==========================================
     RESPONSIVE
     ========================================== */
  @media (max-width: 768px) {
    .ctr-reviews-section { padding: 2.5rem 1rem; }
    .ctr-reviews-header h2 { font-size: 26px; }

    .ctr-overview {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 20px;
    }
    .ctr-overview-main {
      border-right: none;
      border-bottom: 1px solid var(--ctr-border);
      padding: 0 0 16px;
    }
    .ctr-bd-row { grid-template-columns: 90px 1fr 32px; font-size: 13px; }

    .ctr-modal { padding: 28px 20px; margin: 16px auto; }
    .ctr-modal h2 { font-size: 20px; }
    .ctr-row { grid-template-columns: 1fr; }

    .ctr-review-header { flex-direction: column; }
    .ctr-review-meta-right { text-align: left; }
  }
  @keyframes ctrPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(213,0,50,.55); }
    50%      { box-shadow: 0 0 0 12px rgba(213,0,50,0); }
  }
  .ctr-pulse { animation: ctrPulse 1.3s ease-out 3; }
  @media (prefers-reduced-motion: reduce) { .ctr-pulse { animation: none; } }

  /* ── Rediseño v11: estrellas grandes, auth inline ── */
  .ctr-overall { text-align: center; border-bottom: none; padding-bottom: 4px; }
  .ctr-stars-big { justify-content: center; gap: 8px; }
  .ctr-stars-big span { font-size: 44px; }
  .ctr-overall-label { min-height: 20px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ctr-text-soft); }
  .ctr-more { margin: 4px 0 8px; border-top: 1px solid var(--ctr-border); padding-top: 12px; }
  .ctr-more > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ctr-text-soft); list-style: none; }
  .ctr-more > summary::-webkit-details-marker { display: none; }
  .ctr-more > summary::before { content: '＋ '; color: var(--ctr-primary); }
  .ctr-more[open] > summary::before { content: '－ '; }
  .ctr-more[open] > summary { margin-bottom: 8px; }
  .ctr-more label { display: block; margin-top: 10px; font-size: 13px; }
  .ctr-more input, .ctr-more select { width: 100%; margin-top: 4px; }
  .ctr-auth-lead { color: var(--ctr-text-soft); font-size: 14px; margin: 0 0 14px; }
  .ctr-back-link { background: none; border: none; color: var(--ctr-text-soft); font-size: 13px; cursor: pointer; padding: 0; margin-bottom: 10px; font-family: inherit; }
  .ctr-auth-panel { display: none; }
  .ctr-auth-panel.ctr-auth-panel-active { display: block; }
  .ctr-auth-panel label { display: block; font-size: 13px; margin-top: 10px; }
  .ctr-auth-panel input { width: 100%; margin-top: 4px; }
  .ctr-google-slot { display: flex; justify-content: center; min-height: 44px; }
  .ctr-divider { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; color: var(--ctr-text-muted); font-size: 12px; }
  .ctr-divider::before, .ctr-divider::after { content: ''; flex: 1; height: 1px; background: var(--ctr-border); }
  #ctr-step-auth h2 { margin-top: 0; }
