/* Kelkoo home lane: sections of static/index.html (hero, quick tiles, product rows, faq, subscribe).
   Rules mirror static/assets/theme.css, scoped to main[data-kh-home] so other lanes are not affected.
   The shell header already opens <main class=mk-main>, so the wrapper is display:contents. */
:root{--mk-primary:#f56026;--mk-primary-dark:#e34000;--mk-hero:#83C383;--mk-text:#1e2939;--mk-muted:#6a7282;--mk-border:#d1d5dc;--mk-bg:#fff;--mk-surface:#f3f4f6}
[data-kh-home]{display:contents;font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:var(--mk-text);font-size:16px;line-height:1.5}
[data-kh-home] *{box-sizing:border-box}
[data-kh-home] h1,[data-kh-home] h2,[data-kh-home] h3{font-family:Spectral,serif;font-weight:600;color:inherit}
[data-kh-home] p{margin:0}
[data-kh-home] a{text-decoration:none!important;color:inherit}
[data-kh-home] input:focus,[data-kh-home] button:focus{outline:none!important;box-shadow:none!important}
[data-kh-home] .mk-container{max-width:1280px;margin-left:auto;margin-right:auto;padding:0 16px;width:auto}
[data-kh-home] .ic{display:inline-block;width:1.5rem;height:1.5rem;background:currentColor;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;flex:none}
/* hero */
[data-kh-home] .mk-hero{background:var(--mk-hero);margin-bottom:16px}
[data-kh-home] .mk-hero-grid{display:grid;grid-template-columns:2fr 1fr;align-items:center;min-height:256px}
[data-kh-home] .mk-hero-text h1{font-size:60px;line-height:1.05;margin:16px 0}
[data-kh-home] .mk-hero-text p{font-size:20px;line-height:1.5;color:#1e2939;max-width:640px;margin:0}
[data-kh-home] .mk-hero-img{display:flex;justify-content:flex-end}
[data-kh-home] .mk-hero-img img{height:224px;width:auto;object-fit:contain}
/* quick tiles: one row, arrow steps exactly one tile */
[data-kh-home] .mk-quick-wrap{margin-bottom:16px;position:relative}
[data-kh-home] .mk-quick{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}
[data-kh-home] .mk-quick-row{display:flex!important;flex-wrap:nowrap;overflow:hidden;scroll-behavior:smooth;gap:0;scrollbar-width:none}
[data-kh-home] .mk-quick-row::-webkit-scrollbar{display:none}
[data-kh-home] .mk-quick-tile{display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px;border:1px solid transparent;border-radius:8px;font-size:14px;gap:8px}
[data-kh-home] .mk-quick-row .mk-quick-tile{flex:0 0 calc(100%/12);min-width:0}
[data-kh-home] .mk-quick-tile:hover{border-color:var(--mk-border)}
[data-kh-home] .mk-quick-tile:hover span{color:var(--mk-primary)}
[data-kh-home] .mk-quick-next{position:absolute;right:0;top:50%;transform:translateY(-50%)}
[data-kh-home] .mk-link{color:var(--mk-primary);font-weight:500}
/* rows / carousel */
[data-kh-home] .mk-row{margin:40px auto}
[data-kh-home] .mk-row-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
[data-kh-home] .mk-row-head h2{font-size:28px;line-height:1.5;margin:0}
[data-kh-home] .mk-car{position:relative}
[data-kh-home] .mk-car-view{overflow:hidden}
[data-kh-home] .mk-car-track{display:flex}
[data-kh-home] .mk-slide{flex:0 0 20%;padding:0 6px}
[data-kh-home] .mk-arrow{position:absolute;top:35%;z-index:5;width:40px;height:40px;padding:0;border-radius:9999px;background:#101828;border:1px solid #101828;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center;cursor:pointer}
[data-kh-home] .mk-arrow:hover{background:#1e2939}
[data-kh-home] .mk-prev{left:-12px}
[data-kh-home] .mk-next{right:-12px}
/* card */
[data-kh-home] .mk-card{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--mk-border);border-radius:12px;padding:12px;transition:box-shadow .2s}
[data-kh-home] .mk-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.1)}
[data-kh-home] .mk-card-img{display:block;aspect-ratio:1;margin-bottom:8px}
[data-kh-home] .mk-card-img img{width:100%;height:100%;object-fit:contain;max-width:none}
[data-kh-home] .mk-card-title{font-weight:700;font-size:14px;line-height:1.35;height:2.7em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}
[data-kh-home] .mk-card-title:hover{color:var(--mk-primary)}
[data-kh-home] .stars{display:inline-flex;gap:2px;margin:6px 0}
[data-kh-home] .stars i{width:14px;height:14px;background:#fbbf24;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
[data-kh-home] .stars i.is-off,[data-kh-home] .stars.is-empty i{background:#d1d5dc}
[data-kh-home] .mk-card-price{white-space:nowrap}
[data-kh-home] .mk-card-price b{font-size:18px}
[data-kh-home] .from{font-size:13px;color:var(--mk-muted)}
[data-kh-home] .mk-card-offers{font-size:12px;color:#99a1af;margin-bottom:8px;min-height:18px}
[data-kh-home] .mk-card-actions{display:flex;gap:8px;margin-top:auto}
[data-kh-home] .mk-btn{background:var(--mk-primary);color:#fff;border:0;border-radius:8px;text-transform:none;font-weight:600;flex-wrap:nowrap;white-space:nowrap}
[data-kh-home] .mk-btn:hover{background:var(--mk-primary-dark)}
[data-kh-home] .mk-card .mk-btn{flex:1;min-height:40px;height:40px;padding:0 10px;font-size:13px}
[data-kh-home] .mk-card .mk-btn .ic{width:1.1rem;height:1.1rem}
[data-kh-home] .mk-btn-heart{width:40px;min-height:40px;height:40px;padding:0;background:#fff;border:1px solid var(--mk-border);border-radius:8px;color:#4a5565}
[data-kh-home] .mk-btn-heart:hover{background:#fff;border-color:#ef4444;color:#ef4444}
[data-kh-home] .mk-btn-heart.on{color:#ef4444;border-color:#ef4444}
[data-kh-home] .mk-btn-heart.on .ic{-webkit-mask-image:url(icons/heart-fill.svg)!important;mask-image:url(icons/heart-fill.svg)!important}
[data-kh-home] .mk-btn.is-busy,[data-kh-home] .mk-btn-heart.is-busy{opacity:.7;pointer-events:none}
/* faq: all closed initially, open item shows a minus */
[data-kh-home] .mk-faq-wrap{margin:56px auto}
[data-kh-home] .mk-faq-wrap h2{font-size:28px;line-height:1.5;margin:0}
[data-kh-home] .mk-faq{display:block}
[data-kh-home] .mk-faq-item{border:1px solid var(--mk-border);border-radius:8px;margin-bottom:8px;background:#fff}
[data-kh-home] .mk-faq-item summary{font-weight:600}
[data-kh-home] .mk-faq-item .collapse-content{padding-top:0}
[data-kh-home] .mk-faq-item.collapse-arrow>.collapse-title:after{content:"+";transform:none!important;box-shadow:none;width:auto;height:auto;top:50%;margin-top:-.75rem;line-height:1.5rem;font-size:1.25rem;font-weight:500}
[data-kh-home] .mk-faq-item.collapse-arrow[open]>.collapse-title:after{content:"\2212";transform:none!important}
/* subscribe */
[data-kh-home] .mk-sub-wrap{background:var(--mk-surface);padding:32px 0;margin-top:40px}
[data-kh-home] .mk-sub{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
[data-kh-home] .mk-sub h3{margin:0 0 4px;font-size:24px;line-height:1.5}
[data-kh-home] .mk-sub p{margin:0;color:var(--mk-muted)}
[data-kh-home] .mk-sub-form{display:flex;width:min(460px,100%)}
[data-kh-home] .mk-sub-form input{flex:1;min-width:0;height:48px;border:1px solid var(--mk-border);border-right:0;border-radius:8px 0 0 8px;padding:0 16px;background:#fff;font:inherit;color:inherit}
[data-kh-home] .mk-sub-form input:focus{border-color:var(--mk-primary)}
[data-kh-home] .mk-sub-form button{height:48px;min-height:48px;border-radius:0 8px 8px 0;padding:0 24px}
/* toast fallback (shell owns .mk-toast) */
.mk-toast{position:fixed;right:16px;bottom:16px;z-index:260;background:#fff;border:1px solid #d1d5dc;border-left:4px solid #f56026;border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.2);padding:12px 12px 12px 16px;max-width:340px;display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.4;color:#1e2939}
.mk-toast[hidden]{display:none}
.mk-toast button{background:none;border:0;cursor:pointer}
/* mobile */
@media (max-width:1023px){
  [data-kh-home] .mk-hero-grid{grid-template-columns:1fr}
  [data-kh-home] .mk-hero-img{order:-1;justify-content:center;padding-top:8px}
  [data-kh-home] .mk-hero-img img{height:140px}
  [data-kh-home] .mk-hero-text{text-align:center}
  [data-kh-home] .mk-hero-text h1{font-size:30px}
  [data-kh-home] .mk-hero-text p{font-size:16px}
  [data-kh-home] .mk-quick-row .mk-quick-tile{flex-basis:calc(100%/6)}
  [data-kh-home] .mk-slide{flex-basis:50%}
  [data-kh-home] .mk-prev{left:-4px}
  [data-kh-home] .mk-next{right:-4px}
  [data-kh-home] .mk-card .mk-btn span:not(.ic){display:none}
  [data-kh-home] .mk-card .mk-btn .ic{display:inline-block!important;width:1.25rem;height:1.25rem}
  [data-kh-home] .mk-card-price b{font-size:16px}
  [data-kh-home] .mk-sub{flex-direction:column;align-items:stretch}
  .mk-toast{left:16px;right:16px;bottom:16px;max-width:none;margin:0 auto}
}
@media (max-width:767px){
  [data-kh-home] .mk-hero-img{order:2!important;padding:8px 0 16px}
  [data-kh-home] .mk-hero-text{padding-top:16px}
  [data-kh-home] .mk-row-head{flex-direction:column;align-items:flex-start;gap:4px}
  [data-kh-home] .mk-row-head h2{font-size:24px}
}
@media (max-width:640px){[data-kh-home] .mk-quick-row .mk-quick-tile{flex-basis:calc(100%/3.4)}}
