/* Mobile layout: readable targets, visible category choices and a single menu. */
.category-expand{display:none}
.context-link{color:var(--purple);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.context-link:hover{text-decoration-thickness:2px}
.context-link:focus-visible,.topic-links a:focus-visible{outline:2px solid var(--purple);outline-offset:4px;border-radius:2px}
.topic-links{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 28px}
.topic-links li{min-width:0}
.topic-links a{display:flex;align-items:center;min-height:48px;padding:13px 16px;background:#fcf8f4;border:1px solid #e9dfd7;border-radius:7px;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.topic-links a:hover{background:#f6ede6;color:var(--purple)}
.category-chips a{min-height:44px;display:inline-flex;align-items:center}
.hero{background-image:linear-gradient(90deg,rgba(14,18,31,.92) 0%,rgba(14,18,31,.70) 37%,rgba(14,18,31,.08) 80%),url('/assets/hero-harbor-desktop.jpg')}
@media(max-width:900px){
  .site-header.js-header.menu-open .site-navigation{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:8px 16px 16px;max-height:calc(100dvh - 128px);overflow-y:auto;overscroll-behavior:contain}
  .site-header .site-navigation details{position:static;border-bottom:1px solid var(--line)}
  .site-header .site-navigation summary{min-height:48px;font-size:15px;justify-content:space-between;padding:12px 4px}
  .site-header .site-navigation .dropdown,.site-header .site-navigation details:nth-child(2) .dropdown,.site-header .site-navigation details:last-child .dropdown{position:static;transform:none;width:100%;max-height:none;border:0;border-radius:0;box-shadow:none;background:#faf8f6;padding:8px;gap:2px}
  .site-header .site-navigation .dropdown a{font-size:13px;line-height:1.55;min-height:44px;display:flex;align-items:center;padding:10px}
  .site-header .site-navigation .categories-drop{grid-template-columns:1fr 1fr}
  .site-header .site-navigation .drop-all{grid-column:1/-1}
  .site-header.js-header .menu-toggle{min-width:58px;min-height:44px}
}
@media(max-width:760px){
  .topic-links{grid-template-columns:1fr;gap:8px}
  .topic-links a{padding:12px 14px;font-size:15px}
  .hero{background-image:linear-gradient(90deg,rgba(14,18,31,.90) 0%,rgba(14,18,31,.65) 50%,rgba(14,18,31,.15) 100%),url('/assets/hero-harbor-mobile.jpg')}
  .nav-search-slot .search button{min-height:40px}
  .wrap{width:calc(100% - 28px)}
  .home-header~main .hero h1{font-size:clamp(26px,7.5vw,34px);letter-spacing:-1px}
  .home-header~main .hero h1>span{font-size:15px;margin-top:5px}
  .home-header~main .hero-copy{padding:17px 0 16px}
  #kategorie .category-swipe-hint{display:none}
  #kategorie .section-heading{margin-bottom:12px}
  #kategorie .section-heading .text-link{font-size:11px;min-height:36px;display:flex;align-items:center}
  #kategorie .category-grid{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;overflow:visible;scroll-snap-type:none;padding-bottom:0}
  #kategorie .category>div{height:50px;padding:5px}
  #kategorie .category>span{font-size:12px;padding:6px 7px;min-height:47px;gap:3px}
  #kategorie .category-card-prefix{font-size:8px;line-height:1.35;color:#70665e}
  #kategorie .category b{line-height:1.3}
  #kategorie:has(.category-expand:not([hidden])):not(.categories-expanded) .category:nth-child(n+7){display:none}
  .category-expand:not([hidden]){display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;margin:10px 0 0;background:#fff;border:1px solid #e6dfd9;border-radius:7px;color:var(--ink);font-family:inherit;font-size:12px;font-weight:600;line-height:1.4;cursor:pointer}
  .category-expand span{font-size:16px}
  .category-expand[aria-expanded=true] span{transform:rotate(180deg)}
  #kategorie.section{padding-top:14px;padding-bottom:14px}
  #produkty.section{padding-top:18px}
  .product h3,.category-products .product h3{font-size:13px;line-height:1.5;height:58.5px;-webkit-line-clamp:3;margin-bottom:8px}
  .product-brand{font-size:10px;letter-spacing:.5px;color:#71665e}
  .qc{font-size:10px;padding:4px 6px}
  .price{font-size:15px}
  .reading-editorial{padding-top:20px;padding-bottom:44px}
  .reading-editorial .breadcrumbs{font-size:12px;margin-bottom:18px}
  .reading-editorial .breadcrumbs .breadcrumb-current{display:none}
  .reading-editorial>.eyebrow{display:none}
  .reading-editorial h1{font-size:28px;line-height:1.28;letter-spacing:-.5px;margin-top:0;margin-bottom:14px;overflow-wrap:anywhere}
  .reading-editorial .article-series{font-size:11px;letter-spacing:.15px;margin-bottom:10px}
  .reading-editorial .lede{font-size:16px;line-height:1.65;color:#625a65;margin-bottom:0}
  .reading-editorial .byline{font-size:11px;line-height:1.7;padding:12px 0;margin:18px 0 28px;color:#756b76}
  .reading-editorial .article-body p{font-size:16px;line-height:1.8;color:#49434c;margin-bottom:20px}
  .reading-editorial .article-body h2{font-size:22px;line-height:1.4;letter-spacing:-.2px;margin-top:30px;margin-bottom:14px}
  .reading-editorial .article-body>section:first-child h2{margin-top:0}
  .article-checklist{padding:18px}
  .article-checklist li,.article-faq .faq-answer p,.article-reading-next li{font-size:15px!important;line-height:1.8}
  .source-content{padding:16px}
  .source-content a{display:inline-block;min-height:30px}
  .source-content p,.source-content li{font-size:13px!important;line-height:1.8}
  .catalog-note{font-size:10px;line-height:1.6;gap:5px 12px;margin-bottom:20px}
  .catalog-note>span:last-child{display:none}
  .category-title .button{width:100%;justify-content:space-between}
  .article-card{padding:20px}
  .article-card h3{font-size:21px;line-height:1.4}
  .article-card p{font-size:14px;line-height:1.75}
}
@media(min-width:421px) and (max-width:760px){
  #kategorie .category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  #kategorie:has(.category-expand:not([hidden])):not(.categories-expanded) .category:nth-child(-n+8){display:block}
  #kategorie:has(.category-expand:not([hidden])):not(.categories-expanded) .category:nth-child(n+9){display:none}
}
@media(prefers-reduced-motion:reduce){.category-expand span{transition:none}}
@media(max-width:420px) and (max-height:740px){
  #kategorie:has(.category-expand:not([hidden])):not(.categories-expanded) .category:nth-child(n+4){display:none}
}
@media(min-width:761px) and (max-width:900px){
  .home-header~main .hero-grid{min-height:0}
  .home-header~main .hero-copy{max-width:none;padding:26px 0}
  .home-header~main .hero h1{font-size:48px;line-height:1.15;margin:0 0 14px;letter-spacing:-1.5px}
  .home-header~main .hero h1 em{display:inline}
  .home-header~main .hero h1>span{font-size:22px;line-height:1.4;margin-top:6px}
  .home-header~main .hero p{font-size:14px;line-height:1.7;margin:0 0 16px}
  .home-header~main .hero-extra-copy,.home-header~main .hero-label,.home-header~main .hero-actions,.home-header~main .hero-notes,.home-header~main .hero-search>small{display:none}
  .home-header~main .hero-search{max-width:620px;margin:0}
  #kategorie{padding:26px 0}
  #kategorie .section-heading{margin-bottom:14px}
  #kategorie .category-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
  #kategorie .category>div{height:64px;padding:8px}
  #kategorie .category>span{font-size:12px;min-height:46px;padding:8px;gap:4px}
  #kategorie .category-card-prefix{font-size:8px}
  .home-header~main .featured{padding:30px 0}
}
