/* MAGSY – úvodní stránka: banner Slavíme 23 let, výhody, magnety podle tvaru (2026-10-23) */
.mg-on .banners-row .wide-carousel,.mg-on .benefitBanner.position--benefitHomepage{display:none!important}
#mg-uvod{font-family:'Jost',sans-serif;color:#1c2230;margin:0 0 8px}
#mg-uvod *{box-sizing:border-box}
#mg-uvod a{text-decoration:none}
.mg-hero{background:#2465ab;border-radius:14px;padding:56px 64px;display:flex;flex-wrap:wrap;align-items:center;gap:32px;color:#fff;overflow:hidden;position:relative}
.mg-hero-txt{flex:1 1 460px;display:flex;flex-direction:column;gap:20px;position:relative;z-index:1}
.mg-badge-row{display:flex;align-items:center;gap:14px}
.mg-badge{width:76px;height:76px;border-radius:50%;background:#ffd24a;color:#163a75;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;box-shadow:0 0 0 5px rgba(255,210,74,.3);flex-shrink:0}
.mg-badge b{font-size:32px}
.mg-badge span{font-size:12px;font-weight:700;letter-spacing:.08em}
.mg-badge-t{display:flex;flex-direction:column;line-height:1.2}
.mg-badge-t b{font-size:24px;color:#ffd24a}
.mg-badge-t span{font-size:16px;color:#e3ebf7}
.mg-hero h1,.mg-hero .mg-h1{margin:0;font-size:56px;line-height:1.12;font-weight:700;color:#fff}
.mg-pct{display:inline-block;background:#c8102e;border-radius:10px;padding:4px 16px 8px;line-height:1;white-space:nowrap;vertical-align:middle}
.mg-hero p{margin:0;font-size:20px;line-height:1.5;color:#e3ebf7;max-width:520px}
.mg-hero-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.mg-hero-btn{background:#c8102e;color:#fff!important;font-weight:600;font-size:18px;padding:15px 28px;border-radius:8px}
.mg-hero-btn:hover{background:#a50d26}
.mg-code{display:inline-flex;align-items:center;gap:8px;border:2px dashed rgba(255,255,255,.7);border-radius:8px;padding:12px 18px;font-size:16px}
.mg-code b{font-size:18px;letter-spacing:.06em}
.mg-hero-img{flex:1 1 380px;align-self:stretch;margin:-56px -64px -56px 0;min-height:360px;background:url("https://cdn.myshoptet.com/usr/e-shop.magsy.cz/user/banners/carusell1.jpg") 96% 55%/auto 88% no-repeat;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 30%),linear-gradient(to bottom,transparent 0,#000 10%,#000 90%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0%,#000 30%),linear-gradient(to bottom,transparent 0,#000 10%,#000 90%,transparent 100%);mask-composite:intersect}
.mg-ben{margin:20px 0 0;background:#fff;border:1px solid #dfe3ea;border-radius:12px;padding:22px 32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.mg-ben-i{display:flex;align-items:center;gap:16px}
.mg-ben-ic{width:56px;height:56px;border-radius:50%;background:#eaf1fb;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#163a75}
.mg-ben-ic svg{width:26px;height:26px}
.mg-ben-t{display:flex;flex-direction:column;line-height:1.3}
.mg-ben-t b{font-weight:700;font-size:24px}
.mg-ben-t strong{font-weight:600;font-size:15px}
.mg-ben-t>span{font-size:14px;color:#5b6372}
.mg-shape{padding:72px 0 40px}
.mg-shape-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px}
.mg-shape-head h2{margin:0;font-size:34px;font-weight:600;color:#1c2230}
.mg-shape-head a{font-weight:500;color:#c8102e}
.mg-shape-head a:hover{color:#9b0c23}
.mg-shape>p{margin:0 0 24px;font-size:16px;color:#4a5262}
.mg-shape-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:14px}
.mg-shape-grid a{background:#fff;border:1px solid #dfe3ea;border-radius:12px;padding:20px 12px 18px;display:flex;flex-direction:column;align-items:center;gap:10px;color:#1c2230;font-weight:600;font-size:16px;text-align:center}
.mg-shape-grid a:hover{border-color:#163a75;box-shadow:0 4px 14px rgba(22,58,117,.12)}
.mg-shape-grid svg{width:64px;height:64px}
.mg-m{display:none}
@media (max-width:1199px){.mg-hero{padding:40px 40px}.mg-hero-img{margin:-40px -40px -40px 0}.mg-hero h1,.mg-hero .mg-h1{font-size:46px}}
@media (max-width:767px){
  #mg-uvod{margin:0 0 8px;padding:0}
  .mg-hero{margin:12px 0 0;border-radius:14px;padding:18px;gap:10px;display:flex;flex-direction:column;align-items:stretch}
  .mg-hero-txt{flex:none;gap:10px}
  .mg-hero-img,.mg-d{display:none!important}
  .mg-m{display:inline}
  .mg-badge-row{gap:10px}
  .mg-badge{width:52px;height:52px;box-shadow:none}
  .mg-badge b{font-size:22px}
  .mg-badge span{font-size:9px}
  .mg-badge-t b{font-size:19px}
  .mg-badge-t span{display:none}
  .mg-hero h1,.mg-hero .mg-h1{font-size:28px;line-height:1.15}
  .mg-pct{border-radius:8px;padding:2px 10px 4px}
  .mg-hero p{font-size:15px}
  .mg-hero-btns{flex-direction:column;gap:10px;margin-top:0}
  .mg-hero-btn{font-size:16px;padding:12px;text-align:center}
  .mg-code{justify-content:center;padding:9px;font-size:15px}
  .mg-ben{margin:12px 0 0;padding:4px 16px;display:block}
  .mg-ben-i{gap:12px;padding:12px 0}
  .mg-ben-i+.mg-ben-i{border-top:1px solid #eef1f5}
  .mg-ben-ic{width:44px;height:44px}
  .mg-ben-ic svg{width:22px;height:22px}
  .mg-ben-t{line-height:1.25}
  .mg-ben-t b{font-size:17px}
  .mg-ben-t strong{font-size:13px;font-weight:400;color:#4a5262}
  .mg-ben-t>span{display:none}
  .mg-shape{padding:32px 0 16px}
  .mg-shape-head{margin-bottom:14px}
  .mg-shape-head h2{font-size:22px;font-weight:700}
  .mg-shape-head a,.mg-shape>p{display:none}
  .mg-shape-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .mg-shape-grid a{border-radius:10px;padding:12px 4px;gap:6px;font-size:12px}
  .mg-shape-grid svg{width:40px;height:40px;stroke-width:2.6}
}
@media (min-width:768px) and (max-width:991px){.mg-hero{flex-wrap:nowrap;padding:32px 32px;gap:16px}.mg-hero-txt{flex:1 1 0;min-width:0;gap:14px}.mg-hero-img{flex:0 0 36%;margin:-32px -32px -32px 0;min-height:300px}.mg-hero h1,.mg-hero .mg-h1{font-size:38px}.mg-hero p{font-size:17px}.mg-badge{width:62px;height:62px}.mg-badge b{font-size:26px}.mg-badge-t b{font-size:20px}.mg-badge-t span{font-size:14px}.mg-hero-btn{font-size:16px;padding:12px 20px}}
@media (min-width:768px) and (max-width:991px){.mg-hero-img{background-size:auto 70%!important;background-position:100% 50%!important}.mg-ben{grid-template-columns:repeat(3,minmax(0,1fr));padding:18px 20px;gap:12px}.mg-ben-i{gap:10px}.mg-ben-ic{width:44px;height:44px}.mg-ben-ic svg{width:22px;height:22px}.mg-ben-t b{font-size:19px}.mg-ben-t strong{font-size:13px}.mg-ben-t>span{font-size:12px}}
@media (min-width:992px){.mg-hero-img{background-position:100% 50%;background-size:auto 80%;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 20%),linear-gradient(to bottom,transparent 8%,#000 24%,#000 76%,transparent 92%);mask-image:linear-gradient(to right,transparent 0%,#000 20%),linear-gradient(to bottom,transparent 8%,#000 24%,#000 76%,transparent 92%)}}
/* Oblíbené kategorie na úvodu skryté (zůstává „Najděte magnet podle tvaru“) */
.mg-on .footer-banners-title,.mg-on .footer-banners{display:none!important}
/* O firmě MAGSY – Váš parťák už 23 let (nahrazuje původní uvítací blok) */
.mg-on .welcome-wrapper{display:none!important}
#mg-about{font-family:'Jost',sans-serif;color:#1c2230;background:#f3f5f8;box-shadow:0 0 0 100vmax #f3f5f8;clip-path:inset(0 -100vmax);margin:56px 0 48px;padding:72px 0}
#mg-about *{box-sizing:border-box}
.mg-ab{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.mg-ab-txt{flex:1 1 440px;display:flex;flex-direction:column;gap:18px}
.mg-ab-eye{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#c8102e}
#mg-about h2{margin:0;font-size:38px;font-weight:600;line-height:1.15;color:#1c2230}
#mg-about p{margin:0;font-size:17px;line-height:1.7;color:#3b4352}
.mg-ab-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.mg-ab-b1{display:inline-flex;align-items:center;gap:10px;background:#163a75;color:#fff!important;text-decoration:none!important;font-weight:600;font-size:16px;padding:14px 24px;border-radius:8px}
.mg-ab-b1:hover{background:#0f2347}
.mg-ab-b1 svg{width:18px;height:18px}
.mg-ab-b2{display:inline-flex;align-items:center;background:transparent;color:#163a75!important;text-decoration:none!important;font-weight:600;font-size:16px;padding:12px 22px;border-radius:8px;border:2px solid #163a75}
.mg-ab-b2:hover{background:#163a75;color:#fff!important}
.mg-ab-img{flex:1 1 520px;min-width:0;position:relative;container-type:inline-size;aspect-ratio:1648/825}
.mg-ab-img img{width:100%;height:auto;display:block}
.mg-ab-badge{position:absolute;left:4.8%;top:11.3%;width:17.85%;aspect-ratio:1;border-radius:50%;background:#0066b3;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.6cqw}
.mg-ab-badge b{font-size:3.2cqw;font-weight:600;line-height:1}
.mg-ab-badge span{font-size:1.75cqw;letter-spacing:.02em}
@media (max-width:767px){
  #mg-about{margin:32px 0 24px;padding:28px 0}
  .mg-ab{gap:12px;flex-direction:column;align-items:stretch}
  .mg-ab-txt{display:contents}
  .mg-ab-eye{font-size:12px;order:1}
  #mg-about h2{font-size:24px;font-weight:700;order:2}
  .mg-ab-img{order:3;flex:none;width:100%}
  .mg-ab-badge b{font-size:3.4cqw}.mg-ab-badge span{font-size:1.9cqw}
  #mg-about p{font-size:15px;line-height:1.6;order:4}
  .mg-ab-btns{order:5;flex-direction:column;gap:10px;margin-top:0}
  .mg-ab-b1,.mg-ab-b2{justify-content:center;text-align:center}
}
