:root{
    --font:'Calibri','Segoe UI',system-ui,-apple-system,'Helvetica Neue',Arial,sans-serif;
    --bg:#ffffff; --band:#f6f3ec; --panel:#ffffff;
    --ink:#231f20; --text:#2b2a2b; --muted:#6f6a61;
    --gold:#c59b4a; --gold-deep:#9c7a2e; --gold-soft:#f4efe4;
    --line:#e7e1d5; --line-2:#d7cfbf; --tile:#f3efe6; --chip:#f2ece0;
    --good:#2f7a4f; --good-bg:#e8f3ec; --bad:#a83232; --bad-bg:#f7e9e8;
    --shadow:0 22px 54px -34px rgba(60,45,15,.4);
  }
  .r8sv *{box-sizing:border-box;}
  .r8sv{background:var(--bg); color:var(--text); font-family:var(--font); line-height:1.6;}
  .r8sv .shell{max-width:1120px; margin:0 auto; padding:0 26px;}
  .r8sv section{padding:34px 0 44px;}
  .r8sv h1,.r8sv h2,.r8sv h3{color:var(--ink); font-weight:700; margin:0;}

  .r8sv .r8hero{position:relative; min-height:340px; background:linear-gradient(180deg, rgba(18,14,6,.60), rgba(18,14,6,.74)), url('https://realesdea8.com/wp-content/uploads/2024/10/hero-cabecera-8reales-1.jpg') center/cover; display:flex; align-items:center; justify-content:center; text-align:center;}
  .r8sv .r8hero .in{width:100%; padding:48px 24px; color:#fff;}
  .r8sv .r8hero h1{color:#fff; font-size:clamp(30px,6vw,50px); letter-spacing:-.01em; margin:0; line-height:1.08;}
  .r8sv .r8hero .rule{width:60px; height:3px; background:var(--gold); margin:16px auto;}
  .r8sv .r8hero p{margin:0 auto; font-size:clamp(15px,2.3vw,19px); color:#e9dfc9; max-width:52ch;}

  .r8sv .grid{display:grid; grid-template-columns:1.15fr .85fr; gap:44px; align-items:start;}
  .r8sv .tabs{display:flex; gap:26px; border-bottom:1px solid var(--line); margin-bottom:6px;}
  .r8sv .tabs button{border:none; background:none; font:inherit; font-size:16px; font-weight:700; color:var(--muted); padding:0 0 12px; margin-bottom:-1px; cursor:pointer; border-bottom:2px solid transparent;}
  .r8sv .tabs button.on{color:var(--ink); border-bottom-color:var(--gold);}
  .r8sv .acc{display:none;} .r8sv .acc.on{display:block;}
  .r8sv .row{border-bottom:1px solid var(--line);}
  .r8sv .row > summary{list-style:none; cursor:pointer; padding:19px 34px 19px 0; position:relative; display:flex; gap:16px; align-items:baseline;}
  .r8sv .row > summary::-webkit-details-marker{display:none;}
  .r8sv .row .idx{font-size:14px; color:var(--gold-deep); font-weight:700; min-width:22px;}
  .r8sv .row .ttl{font-size:17.5px; font-weight:700; color:var(--ink);}
  .r8sv .row > summary::after{content:""; position:absolute; right:4px; top:25px; width:11px; height:11px; border-right:1.5px solid var(--muted); border-bottom:1.5px solid var(--muted); transform:rotate(45deg); transition:transform .2s;}
  .r8sv .row[open] > summary::after{transform:rotate(225deg);}
  .r8sv .row .body{padding:0 20px 20px 38px; color:var(--text); font-size:15px; max-width:64ch;}
  .r8sv .row .body strong{color:var(--ink); font-weight:700;}

  .r8sv .side{position:sticky; top:22px;}
  .r8sv .assistwrap{position:relative;}
  .r8sv .assistwrap::before{content:""; position:absolute; inset:-4px; border-radius:15px; background:linear-gradient(120deg, var(--gold), #e6c37e, var(--gold-deep), var(--gold)); background-size:300% 300%; filter:blur(10px); opacity:.5; z-index:0; animation:r8glow 6s ease infinite;}
  @keyframes r8glow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
  /* ===== asistente = calco del widget r8c ===== */
  .r8sv .r8c-embed{position:relative; z-index:1; width:100%; height:490px; margin:0 !important; padding:0 !important; background:#fff; border:1px solid rgba(197,155,74,.28); border-radius:10px; box-shadow:0 24px 70px rgba(0,0,0,.14); overflow:hidden; display:flex; flex-direction:column; font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif; color:#231F20; text-align:left;}
  .r8sv .r8c-embed *{margin:0;}
  .r8sv .r8c-head{background:#231F20; color:#fff; padding:15px 16px; margin:0 !important; text-align:left !important; display:flex; align-items:center; gap:12px; border-bottom:1px solid rgba(197,155,74,.28);}
  .r8sv .r8c-brand{display:flex; align-items:center; gap:10px; min-width:0;}
  .r8sv .r8c-avatar{width:34px; height:34px; border-radius:50%; background:#231F20; border:1px solid rgba(197,155,74,.8); display:grid; place-items:center; flex:0 0 auto; box-shadow:inset 0 0 0 3px rgba(255,255,255,.04);}
  .r8sv .r8c-avatar img{width:21px; height:21px; object-fit:contain; filter:brightness(0) invert(1);}
  .r8sv .r8c-title{font-weight:700; font-size:15px; line-height:1.15; color:#fff;}
  .r8sv .r8c-sub{font-size:12px; color:#d9d5cb; margin-top:3px;}
  .r8sv .r8c-status{display:flex; align-items:center; gap:6px; margin-top:5px; font-size:11px; line-height:1; color:#9ff0b6; font-weight:700;}
  .r8sv .r8c-status-dot{width:7px; height:7px; border-radius:50%; background:#35d36f; box-shadow:0 0 0 0 rgba(53,211,111,.55); animation:r8cOnlinePulse 1.8s ease-out infinite;}
  @keyframes r8cOnlinePulse{0%{box-shadow:0 0 0 0 rgba(53,211,111,.55)}70%,100%{box-shadow:0 0 0 8px rgba(53,211,111,0)}}
  .r8sv .r8c-log{flex:1; overflow:auto; padding:16px; background:#F5F3EE; display:flex; flex-direction:column; gap:10px;}
  .r8sv .r8c-msg{max-width:86%; border-radius:8px; padding:11px 13px; font-size:14px; line-height:1.5; box-shadow:0 1px 2px rgba(35,31,32,.04);}
  .r8sv .r8c-msg strong{font-weight:600;} .r8sv .r8c-msg a{color:#8b6722; text-decoration:underline; text-underline-offset:2px;}
  .r8sv .r8c-user{align-self:flex-end; background:#231F20; color:#fff; border-bottom-right-radius:3px;}
  .r8sv .r8c-bot{align-self:flex-start; background:#fff; border:1px solid rgba(35,31,32,.08); color:#231F20; border-bottom-left-radius:3px;}
  .r8sv .r8c-thinking{display:flex; align-items:center; gap:5px; min-width:58px;} .r8sv .r8c-thinking span{width:6px; height:6px; border-radius:50%; background:#C59B4A; animation:r8cThink 1s ease-in-out infinite;} .r8sv .r8c-thinking span:nth-child(2){animation-delay:.15s;} .r8sv .r8c-thinking span:nth-child(3){animation-delay:.3s;}
  @keyframes r8cThink{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
  .r8sv .r8c-quick{display:flex; flex-wrap:wrap; gap:8px; align-self:flex-start; max-width:100%;}
  .r8sv .r8c-chip{border:1px solid rgba(197,155,74,.65); background:#fff; color:#231F20; border-radius:999px; padding:9px 11px; font-size:12px; line-height:1; cursor:pointer; white-space:nowrap; box-shadow:0 2px 8px rgba(35,31,32,.05); transition:background .16s,border-color .16s,transform .16s,color .16s;}
  .r8sv .r8c-chip:hover{background:#231F20; border-color:#C59B4A; color:#fff; transform:translateY(-1px);}
  .r8sv .r8c-products{display:grid; gap:8px; align-self:flex-start; width:100%;}
  .r8sv .r8c-product{display:flex; gap:10px; align-items:center; text-decoration:none; color:#231F20; background:#fff; border:1px solid rgba(35,31,32,.08); border-radius:8px; padding:9px; box-shadow:0 2px 10px rgba(35,31,32,.05); transition:border-color .16s,box-shadow .16s,transform .16s;}
  .r8sv .r8c-product:hover{border-color:rgba(197,155,74,.75); box-shadow:0 5px 16px rgba(35,31,32,.1); transform:translateY(-1px);}
  .r8sv .r8c-product .thumb{width:48px; height:48px; border-radius:6px; background:#efe7d6; display:grid; place-items:center; color:#8b6722; flex:0 0 auto;}
  .r8sv .r8c-product strong{display:block; font-size:12px; line-height:1.25;} .r8sv .r8c-product span{display:block; font-size:11px; color:#66615a; margin-top:2px;} .r8sv .r8c-product em{display:inline-block; margin-top:5px; font-style:normal; font-size:11px; font-weight:700; color:#8b6722;}
  .r8sv .r8c-search-link{display:inline-flex; align-items:center; align-self:flex-start; border:1px solid rgba(197,155,74,.75); border-radius:8px; background:#fff; color:#231F20; text-decoration:none; font-size:12px; font-weight:700; padding:9px 11px; box-shadow:0 2px 10px rgba(35,31,32,.05); transition:background .16s,color .16s,transform .16s;}
  .r8sv .r8c-search-link:hover{background:#231F20; border-color:#C59B4A; color:#fff; transform:translateY(-1px);}
  .r8sv .r8c-form{display:flex; gap:8px; padding:12px; margin:0 !important; max-width:none !important; border-top:1px solid rgba(35,31,32,.08); background:#fff;}
  .r8sv .r8c-input{flex:1; border:1px solid #d8d1c3; border-radius:8px; padding:11px 12px; font-size:14px; min-width:0; background:#fff; color:#231F20; outline:none; font-family:inherit;}
  .r8sv .r8c-input:focus{border-color:#C59B4A; box-shadow:0 0 0 3px rgba(197,155,74,.16);}
  .r8sv .r8c-send{border:0; border-radius:8px; background:#C59B4A; color:#231F20; font-weight:700; padding:0 14px; min-width:76px; cursor:pointer; font-size:14px; font-family:inherit;}
  .r8sv .r8c-fb{display:flex; align-items:center; gap:6px; align-self:flex-start; font-size:12px; color:#8a857c;}
  .r8sv .r8c-fb button{border:1px solid rgba(35,31,32,.14); background:#fff; color:#66615a; border-radius:999px; width:26px; height:26px; cursor:pointer; padding:0; font-size:13px; transition:border-color .16s,transform .16s;}
  .r8sv .r8c-fb button:hover{border-color:rgba(197,155,74,.75); transform:translateY(-1px);}
  .r8sv .r8c-fb-thanks{color:#8b6722; font-weight:700;}

  .r8sv .reviews{margin-top:30px; background:#fff; border:1px solid var(--line-2); border-radius:14px; overflow:hidden;}
  .r8sv .rvhero{position:relative; min-height:270px; background:linear-gradient(95deg, rgba(18,14,6,.82) 0%, rgba(18,14,6,.55) 45%, rgba(18,14,6,.12) 100%), url('https://realesdea8.com/wp-content/uploads/2024/10/hero-cabecera-8reales-1.jpg') center/cover; display:flex; align-items:center;}
  .r8sv .rvhero .in{padding:34px 36px; color:#fff;}
  .r8sv .rvhero .num{font-size:58px; font-weight:700; line-height:.95; letter-spacing:-.02em;}
  .r8sv .rvhero .den{font-size:27px; color:#cbbd9b; font-weight:400; margin-left:2px;}
  .r8sv .rvhero .stars{color:var(--gold); letter-spacing:1px; font-size:21px; display:inline-block; margin:10px 0 8px;}
  .r8sv .rvhero .cnt{font-size:14px; color:#e7ddc7;}
  .r8sv .rvhero h3{margin:14px 0 0; color:#fff; font-size:21px;}
  .r8sv .rvhero p{margin:5px 0 0; font-size:13.5px; color:#d9cfb8; max-width:52ch;}
  .r8sv .quotes{display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line);}
  .r8sv .qq{padding:22px; border-right:1px solid var(--line);}
  .r8sv .qq:last-child{border-right:none;}
  .r8sv .qq p{margin:0 0 10px; font-size:14px; color:var(--ink); line-height:1.5;}
  .r8sv .qq .by{font-size:12px; color:var(--muted);} .r8sv .qq .by b{color:var(--ink);} .r8sv .qq .by .stars{color:var(--gold); font-size:11.5px;}
  .r8sv .rvfoot{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:16px 22px; border-top:1px solid var(--line); flex-wrap:wrap;}
  .r8sv .rvfoot .p{font-size:13px; color:var(--muted);} .r8sv .rvfoot .p b{color:var(--ink); font-weight:600;}
  .r8sv .vt{color:var(--ink); font-weight:700; text-decoration:none; border-bottom:2px solid var(--gold); padding-bottom:1px;}

  @media (max-width:900px){ .r8sv .grid{grid-template-columns:1fr; gap:30px;} .r8sv .side{position:static;} }
  @media (max-width:640px){
    .r8sv section{padding:38px 0 44px;} .r8sv .shell{padding:0 18px;}
    .r8sv .r8hero{min-height:250px;} .r8sv .r8hero .in{padding:32px 0;}
    .r8sv .tabs{gap:16px;} .r8sv .tabs button{font-size:15px;}
    .r8sv .row .ttl{font-size:16px;} .r8sv .row > summary{padding:16px 30px 16px 0;} .r8sv .row > summary::after{top:22px;}
    .r8sv .row .body{padding:0 6px 18px 38px; font-size:14.5px;}
    .r8sv .reviews{margin-top:38px;} .r8sv .rvhero{min-height:210px;} .r8sv .rvhero .in{padding:24px 20px;}
    .r8sv .rvhero .num{font-size:46px;} .r8sv .rvhero .den{font-size:22px;} .r8sv .rvhero h3{font-size:18px;}
    .r8sv .quotes{grid-template-columns:1fr;} .r8sv .qq{border-right:none; border-bottom:1px solid var(--line);}
    .r8sv .rvfoot{flex-direction:column; align-items:flex-start;}
  }
  @media (max-width:400px){ .r8sv .rvhero .num{font-size:40px;} }
  @media (prefers-reduced-motion:reduce){ .r8sv *{animation:none!important; transition:none!important;} }

  /* quitar el espacio que mete el tema (GeneratePress) SOLO en esta página (full-bleed) */
  body.page-id-11371 .site-content{padding:0 !important; margin:0 !important;}
  body.page-id-11371 .site-main{padding:0 !important; margin:0 !important;}
  body.page-id-11371 .inside-page-header{padding:0 !important;}