/* repasovanyiphone.cz - nadcasovy Rehub affiliate redesign */
:root{--rip-green:#22a35a;--rip-green-dark:#14763d;--rip-ink:#111827;--rip-muted:#5b6675;--rip-soft:#f3f8f4;--rip-line:#dce7df;--rip-panel:#ffffff}
body{background:#f7faf8}
.rh-container,.rh-content-wrap{max-width:1220px}
.rip{max-width:1180px;margin:0 auto;padding:0 16px 34px;color:var(--rip-ink);line-height:1.58;font-family:var(--rehub-body-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif)}
.rip *{box-sizing:border-box}
.rip a{text-decoration:none;color:inherit}
.rip-band{position:relative}
.rip-kicker{margin:0 0 10px;color:var(--rip-green-dark);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.rip-hero{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(300px,.72fr);gap:34px;align-items:center;margin:14px 0 0;padding:44px;border:1px solid var(--rip-line);border-radius:8px;background:linear-gradient(135deg,#ffffff 0%,#f5faf6 55%,#eaf6ee 100%);box-shadow:0 18px 50px rgba(17,24,39,.08)}
.rip-hero h1{max-width:760px;margin:0;font-size:48px;line-height:1.04;font-weight:850;letter-spacing:0;color:#0d1726}
.rip-lead{max-width:720px;margin:18px 0 0;color:#4b5968;font-size:18px;line-height:1.7}
.rip-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.rip-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 22px;border-radius:6px;font-weight:800;font-size:14px;line-height:1.15;border:1px solid transparent;transition:background .16s,border-color .16s,transform .16s,box-shadow .16s}
.rip-btn:hover{transform:translateY(-1px)}
.rip-btn-primary{background:var(--rip-green);color:#fff !important;box-shadow:0 12px 24px rgba(34,163,90,.22)}
.rip-btn-primary:hover{background:var(--rip-green-dark)}
.rip-btn-ghost{background:#fff;color:var(--rip-ink) !important;border-color:var(--rip-line)}
.rip-btn-ghost:hover{border-color:#b9cbbf;background:#fbfdfb}
.rip-proof{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.rip-proof span{display:inline-flex;align-items:center;min-height:32px;padding:7px 10px;border:1px solid var(--rip-line);border-radius:6px;background:rgba(255,255,255,.75);color:#314154;font-size:13px;font-weight:700}
.rip-hero-panel{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-height:360px;padding:24px;border:1px solid #cfddd4;border-radius:8px;background:#fff;box-shadow:0 12px 34px rgba(17,24,39,.08)}
.rip-device-frame{display:flex;align-items:center;justify-content:center;min-height:230px;border-radius:8px;background:linear-gradient(180deg,#f6faf8 0%,#edf5f0 100%);overflow:hidden}
.rip-device-frame img{display:block;width:auto;max-width:88%;max-height:260px;object-fit:contain;filter:drop-shadow(0 18px 22px rgba(17,24,39,.14))}
.rip-hero-offer{border-top:1px solid var(--rip-line);padding-top:16px}
.rip-hero-offer span{display:block;color:var(--rip-muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.rip-hero-offer strong{display:block;margin-top:3px;font-size:22px;color:#0d1726}
.rip-hero-offer p{margin:7px 0 0;color:var(--rip-muted);font-size:14px}
.rip-sec{padding:42px 0}
.rip-tight{padding:20px 0 24px}
.rip-sec.alt{margin:18px 0;padding:34px 28px;border:1px solid var(--rip-line);border-radius:8px;background:var(--rip-soft)}
.rip-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:22px}
.rip-section-head>div{min-width:0}
.rip-h2{margin:0;color:#101827;font-size:32px;line-height:1.15;font-weight:850;letter-spacing:0}
.rip-sub{max-width:520px;margin:0;color:var(--rip-muted);font-size:15px;line-height:1.65}
.rip-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rip-metrics div{padding:18px 16px;border:1px solid var(--rip-line);border-radius:8px;background:#fff}
.rip-metrics b{display:block;color:#0e1726;font-size:22px;line-height:1.1}
.rip-metrics span{display:block;margin-top:6px;color:var(--rip-muted);font-size:13px;line-height:1.45}
.rip-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.rip-tile{display:block;min-height:154px;padding:20px;border:1px solid var(--rip-line);border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(17,24,39,.05);transition:transform .16s,box-shadow .16s,border-color .16s}
.rip-tile:hover{transform:translateY(-2px);border-color:#b9cbbf;box-shadow:0 18px 40px rgba(17,24,39,.09)}
.rip-tile span{display:inline-flex;margin-bottom:18px;padding:5px 8px;border-radius:5px;background:#ecf8f0;color:var(--rip-green-dark);font-size:12px;font-weight:800}
.rip-tile b{display:block;color:#111827;font-size:18px;line-height:1.22}
.rip-tile small{display:block;margin-top:7px;color:var(--rip-muted);font-size:13px;line-height:1.5}
.rip-partner{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:10px 0 20px;padding:30px;border-radius:8px;background:#101827;color:#fff;overflow:hidden}
.rip-partner:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(34,163,90,.28),rgba(255,255,255,0));pointer-events:none}
.rip-partner>*{position:relative;z-index:1}
.rip-partner h2{margin:0;font-size:30px;line-height:1.12;color:#fff}
.rip-partner p{max-width:680px;margin:10px 0 0;color:#d6dee8;font-size:15px}
.rip-partner .rip-kicker{color:#9be4b8}
.rip-partner-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;min-width:290px}
.rip-partner .rip-btn-ghost{background:rgba(255,255,255,.08);color:#fff !important;border-color:rgba(255,255,255,.22)}
.rip-steps,.rip-grades{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.rip-step,.rip-grade{padding:22px;border:1px solid var(--rip-line);border-radius:8px;background:#fff;box-shadow:0 10px 26px rgba(17,24,39,.04)}
.rip-step b,.rip-grade b{display:block;margin:0 0 8px;color:#101827;font-size:17px;line-height:1.25}
.rip-step p,.rip-grade span{display:block;margin:0;color:var(--rip-muted);font-size:14px;line-height:1.6}
.rip-grade{border-left:4px solid var(--rip-green)}
.rip-prose{max-width:880px;margin:0 auto}
.rip-prose h2{margin:0 0 14px;color:#101827;font-size:30px;line-height:1.18;font-weight:850;letter-spacing:0}
.rip-prose h3{margin:24px 0 8px;color:#111827;font-size:20px;line-height:1.3;font-weight:800}
.rip-prose p{margin:0 0 14px;color:#43505f;font-size:16px;line-height:1.75}
.rip-prose a{color:var(--rip-green-dark);font-weight:800;text-decoration:underline}
.rip-faq{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rip-faq details{border:1px solid var(--rip-line);border-radius:8px;background:#fff;overflow:hidden}
.rip-faq summary{display:flex;justify-content:space-between;gap:14px;padding:16px 18px;color:#111827;font-weight:800;cursor:pointer;list-style:none}
.rip-faq summary::-webkit-details-marker{display:none}
.rip-faq summary:after{content:"+";color:var(--rip-green-dark);font-weight:900}
.rip-faq details[open] summary:after{content:"-"}
.rip-faq details>div{padding:0 18px 16px;color:var(--rip-muted);font-size:14px;line-height:1.65}
.rip-note{padding:16px 18px;border:1px solid var(--rip-line);border-radius:8px;background:#fff;color:var(--rip-muted);font-size:13px;line-height:1.65}

#main_header,#main_header.dark_style{background:#fff !important;border-bottom:1px solid #e6eee8;box-shadow:0 2px 16px rgba(17,24,39,.06)}
#main_header a,#main_header .menu li a,#main_header .menu li a:visited,#main_header i,#main_header .rhicon,#main_header .rh-search-icon,#main_header span{color:#111827 !important}
#main_header a:hover,#main_header .menu li a:hover,#main_header .menu li.current-menu-item>a{color:var(--rip-green-dark) !important}
.rh_stuck #main_header,#main_header.rh_stuck,#main_header.fixed{background:#fff !important;box-shadow:0 4px 18px rgba(17,24,39,.08)}
.main-nav.white_style{border-top:0 !important}
#logo img,.logo_image img{max-height:54px;width:auto}
#rhmobtoppnl{background:#fff !important;border-bottom:1px solid #e6eee8}
/* Hamburger: SVG cary mely bily stroke (pocitaly s puvodni tmavou hlavickou) -> na bile hlavicce neviditelne */
#main_header #dl-trigger svg line,#main_header .dl-trigger svg line{stroke:var(--rip-ink) !important;stroke-width:2.6 !important}
#main_header #dl-trigger:hover svg line,#main_header .dl-trigger:hover svg line{stroke:var(--rip-green-dark) !important}

.footer-bottom,.footer-bottom.dark_style{background:#101827 !important;color:#cbd5e1 !important}
.footer-bottom .footer_widget,.footer-bottom.dark_style .footer_widget{color:#cbd5e1 !important}
.footer-bottom .footer_widget .title,.footer-bottom.dark_style .footer_widget .title,.footer-bottom h2,.footer-bottom h3{color:#fff !important}
.footer-bottom a,.footer-bottom.dark_style .footer_widget a{color:#dce7f1 !important}
.footer-bottom a:hover{color:#8ee2ae !important}
.footer-bottom .social_icon a{background:#172235 !important;border:1px solid rgba(255,255,255,.1)}

.rip-sec .products{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:18px;margin:0 !important;padding:0 !important;list-style:none !important;justify-items:stretch !important;align-items:stretch !important}
.rip-sec .products:before,.rip-sec .products:after{display:none !important}
.rip-sec .products li.product,.rip-sec .products li{width:auto !important;margin:0 !important;float:none !important;clear:none !important}
.rip-sec .products .product.col_item{display:flex !important;flex-direction:column;width:auto !important;max-width:none !important;min-width:0 !important;min-height:100%;margin:0 !important;float:none !important;clear:none !important;padding:14px !important;border:1px solid var(--rip-line);border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(17,24,39,.055);transition:transform .16s,box-shadow .16s,border-color .16s;overflow:hidden}
.rip-sec .products .product.col_item:hover{transform:translateY(-2px);border-color:#b9cbbf;box-shadow:0 18px 42px rgba(17,24,39,.1)}
.rip-sec .products figure{display:flex !important;align-items:center;justify-content:center;min-height:202px;margin:0 0 12px !important;padding:16px;border-radius:8px;background:#f5faf6}
.rip-sec .products figure img{display:block !important;width:auto !important;max-width:100% !important;height:168px !important;object-fit:contain !important;margin:0 auto !important}
.rip-sec .products .cat_for_grid{min-height:18px;margin:0 0 5px !important;font-size:12px;line-height:1.4}
.rip-sec .products .cat_for_grid a{color:var(--rip-green-dark) !important;font-weight:800}
.rip-sec .products h3{min-height:42px;margin:0 0 8px !important;color:#111827;font-size:15px !important;line-height:1.38 !important;font-weight:750;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rip-sec .products h3 a{color:#111827 !important}
.rip-sec .products .compare-domain-icon{margin:0 0 12px !important;color:#6b7685 !important;font-size:12px;line-height:1.45 !important}
.rip-sec .products .compare-domain-text{color:#111827 !important}
.rip-sec .products .abposbot{position:static !important;left:auto !important;right:auto !important;bottom:auto !important;width:auto !important}
.rip-sec .products .border-top{display:flex !important;align-items:flex-end !important;justify-content:space-between !important;gap:14px;margin:12px -14px -14px !important;padding:12px 14px !important;border-top:1px solid var(--rip-line) !important;background:#fff}
.rip-sec .products .price_for_grid{float:none !important;margin:0 !important;min-width:0 !important;line-height:1.15 !important}
.rip-sec .products .btn_for_grid{float:none !important;margin-left:auto !important;white-space:nowrap !important;text-align:right !important}
.rip-sec .products .price,.rip-sec .products .price *{white-space:nowrap}
.rip-sec .products .price,.rip-sec .products .price ins,.rip-sec .products .price bdi,.rip-sec .products .price .woocommerce-Price-amount{color:var(--rip-green-dark) !important;font-weight:900}
.rip-sec .products .woocommerce-Price-amount{font-size:20px !important}
.rip-sec .products .price del{display:block !important;margin:0 0 2px !important;text-decoration:line-through !important}
.rip-sec .products .price del,.rip-sec .products .price del *{color:#a8b2bf !important;font-size:12px !important;font-weight:600 !important}
.rip-sec .products .price ins{display:block !important;text-decoration:none !important;line-height:1.05 !important}
.rip-sec .products .btn_for_grid a{display:inline-flex;align-items:center;min-height:30px;color:var(--rip-green-dark) !important;font-weight:800}

@media(max-width:1024px){
  .rip-hero{grid-template-columns:1fr;padding:34px}
  .rip-hero h1{font-size:40px}
  .rip-hero-panel{min-height:0}
  .rip-section-head{display:block}
  .rip-sub{margin-top:8px}
  .rip-metrics,.rip-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rip-steps,.rip-grades{grid-template-columns:1fr}
  .rip-sec .products{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .rip-partner{display:block}
  .rip-partner-actions{justify-content:flex-start;margin-top:18px}
}
@media(max-width:640px){
  .rip{padding-left:12px;padding-right:12px}
  .rip-hero{padding:26px 20px;gap:22px}
  .rip-hero h1{font-size:32px;line-height:1.08}
  .rip-lead{font-size:16px}
  .rip-btn{width:100%}
  .rip-proof span{width:100%;justify-content:center}
  .rip-metrics,.rip-tiles,.rip-faq{grid-template-columns:1fr}
  .rip-sec{padding:34px 0}
  .rip-sec.alt{padding:26px 18px}
  .rip-h2,.rip-prose h2,.rip-partner h2{font-size:25px}
  .rip-partner{padding:24px 20px}
  .rip-partner-actions{min-width:0}
  .rip-sec .products{grid-template-columns:1fr !important}
  .rip-sec .products figure{min-height:190px}
}
