/*
Theme Name: Kids TV
Theme URI: https://forboern.dk
Author: ForBørn
Version: 1.0.11
Text Domain: kidstv
*/
:root{--fb-accent:#5DA9E9;--fb-gutter:clamp(14px,2.6vw,24px);--fb-gutter:clamp(14px,2.6vw,24px);--fb-bg:#0b1020;--fb-surface:rgba(255,255,255,.03);--fb-surface-strong:rgba(13,18,38,.96);--fb-border:rgba(255,255,255,.10);--fb-text:rgba(255,255,255,.92);--fb-muted:rgba(255,255,255,.65);--fb-shadow:0 12px 32px rgba(0,0,0,.28);--fb-radius:18px;--fb-max:1100px}
/* Light mode uses its own tokens (not simple inversion) */
*{box-sizing:border-box}html,body{margin:0;padding:0}
body{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;background:radial-gradient(1200px 600px at 20% -20%, rgba(93,169,233,.18), transparent 60%),radial-gradient(900px 500px at 90% 0%, rgba(80,120,255,.12), transparent 60%),var(--fb-bg);color:var(--fb-text);line-height:1.5;overflow-x:hidden}

/* Header sizing token (used for homepage hero overlay spacing) */
:root{--fb-header-h:64px}

a{color:inherit;text-decoration:none}a:hover{opacity:.96}

.fb-main{width:100%;}
.fb-wrap{max-width:var(--fb-max);margin:0 auto;padding:var(--fb-gutter);--wrap-pad:var(--fb-gutter)}
.home .fb-wrap--wide{padding-top:0;}
.fb-card{background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));border:1px solid var(--fb-border);border-radius:var(--fb-radius);box-shadow:var(--fb-shadow)}
.fb-muted{color:var(--fb-muted)}
.fb-btn{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;border:1px solid var(--fb-border);background:var(--fb-surface);color:var(--fb-text);cursor:pointer}
.fb-btn.is-primary{background:linear-gradient(135deg, rgba(93,169,233,.95), rgba(93,169,233,.55));border-color:rgba(93,169,233,.35);color:#fff}
.fb-grid{display:grid;gap:14px}.fb-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.fb-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){.fb-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.fb-grid.cols-2,.fb-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
.fb-header{position:sticky;top:0;z-index:30;
  background:linear-gradient(180deg, rgba(15,20,32,.82), rgba(15,20,32,.62));
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.10)}
.fb-header__inner{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:var(--fb-max);margin:0 auto;padding:12px 16px}

/* Homepage: transparent header overlaying the hero slider */
.home .fb-header.fb-header--overlay{
  position:absolute;
  top:0;left:0;right:0;
  background:transparent;
  border-bottom:1px solid transparent;
  backdrop-filter:none;
}

/* Brand logo swap: use the transparent logo ONLY when the homepage header overlays the hero */
.fb-brand__logo--transparent{display:none;}
.home .fb-header.fb-header--overlay:not(.is-scrolled) .fb-brand__logo--default{display:none;}
.home .fb-header.fb-header--overlay:not(.is-scrolled) .fb-brand__logo--transparent{display:inline-flex;}
.home .fb-header.fb-header--overlay.is-scrolled .fb-brand__logo--transparent{display:none;}
.home .fb-header.fb-header--overlay.is-scrolled .fb-brand__logo--default{display:inline-flex;}
/* When scrolled: turn it into a floating glass bar */
.home .fb-header.fb-header--overlay.is-scrolled{
  position:fixed;
  background:linear-gradient(180deg, rgba(15,20,32,.82), rgba(15,20,32,.62));
  border-bottom:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(14px);
}
.fb-brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.2px;min-width:0}
.fb-brand__dot{width:10px;height:10px;border-radius:999px;background:var(--fb-accent);box-shadow:0 0 0 6px rgba(93,169,233,.15)}
.fb-brand__logo img{width:var(--brand-logo-w,120px);height:auto;max-height:40px;display:block}
.fb-nav{display:flex;gap:10px;flex-wrap:wrap}.fb-nav a{padding:8px 10px;border-radius:999px;border:1px solid transparent;white-space:nowrap}.fb-nav a:hover{border-color:var(--fb-border);background:var(--fb-surface)}
.fb-header__right{display:flex;align-items:center;gap:8px}

/* Top search (header) */
.fb-topsearch{display:flex;align-items:center;gap:8px;
  padding:9px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  min-width:260px;max-width:360px;flex:1;}
.fb-topsearch__icon{opacity:.75;font-size:13px;}
.fb-topsearch__input{border:none;background:transparent;color:var(--fb-text);outline:none;width:100%;font-size:14px;}
.fb-topsearch__input::placeholder{color:rgba(255,255,255,.55);} 

/* Mobile search icon (shown on small screens instead of full input) */
.fb-searchicon{display:none;width:40px;height:40px;align-items:center;justify-content:center;border-radius:999px;border:1px solid var(--fb-border);background:var(--fb-surface);color:var(--fb-text);text-decoration:none}
.fb-searchicon svg{width:20px;height:20px}

/* Safety: never show the mobile search icon on desktop */
@media(min-width:721px){
  .fb-searchicon{display:none !important;}
}

@media(max-width:720px){
  .fb-header__inner{flex-wrap:nowrap}
  /* Keep header compact: show search icon next to menu */
  .fb-topsearch{display:none}
  .fb-searchicon{display:inline-flex}
}
.fb-burger{display:none;width:40px;height:40px;align-items:center;justify-content:center}
.fb-burger svg{width:20px;height:20px}
/* Burger icon swap (hamburger <-> close) */
.fb-burger__icon--close{display:none;}
.fb-burger[aria-expanded="true"] .fb-burger__icon--open{display:none;}
.fb-burger[aria-expanded="true"] .fb-burger__icon--close{display:block;}
.fb-hero{padding:26px;overflow:visible;position:relative;z-index:20}
.fb-hero h1{margin:0 0 10px;font-size:42px;line-height:1.05}
.fb-hero p{margin:0;color:var(--fb-muted);font-size:16px;max-width:70ch}
.fb-search{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.fb-search input,.fb-search select{padding:16px 12px 12px;border-radius:12px;border:1px solid var(--fb-border);background:var(--fb-surface);color:var(--fb-text);outline:none}
.fb-search input{flex:1;min-width:220px}
.fb-section{margin-top:22px;position:relative;z-index:1}
.fb-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 10px}
.fb-section__head h2{margin:0;font-size:18px}
.fb-tile{padding:14px;border-radius:var(--fb-radius);border:1px solid var(--fb-border);background:var(--fb-surface);transition:transform .12s ease}.fb-tile:hover{transform:translateY(-2px)}
.fb-tile__img{aspect-ratio:16/10;border-radius:14px;overflow:hidden;background:rgba(255,255,255,.03);margin-bottom:10px}.fb-tile__img img{width:100%;height:100%;object-fit:cover}
/* Image fallback for tiles when covers are missing */
.fb-tile__fallback{width:100%;height:100%;display:flex;align-items:stretch;justify-content:stretch;background:linear-gradient(135deg,var(--fb-a),var(--fb-b));}
.fb-tile__fallbackInner{width:100%;height:100%;padding:14px;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;background:linear-gradient(180deg,rgba(0,0,0,.0),rgba(0,0,0,.35));}
.fb-tile__initials{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.25);color:rgba(255,255,255,.92);font-weight:700;}
.fb-tile__fallbackTitle{color:rgba(255,255,255,.92);font-weight:650;font-size:13px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.fb-tile__title{font-weight:700;margin:0 0 4px}.fb-tile__meta{color:var(--fb-muted);font-size:13px;margin:0}
.fb-product__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.fb-product__actions .fb-btn{padding:8px 12px}
.fb-tabs{margin-top:14px}.fb-tabs__nav{display:flex;gap:8px;flex-wrap:wrap}
.fb-tabs__btn{appearance:none;border:none;padding:10px 12px;border-radius:999px;background:var(--fb-surface);border:1px solid var(--fb-border);color:var(--fb-text);cursor:pointer}
.fb-tabs__btn.is-active{background:linear-gradient(135deg, rgba(93,169,233,.22), rgba(255,255,255,.02));border-color:rgba(93,169,233,.35)}
.fb-tabs__panes{margin-top:12px}.fb-tabs__pane{display:none}.fb-tabs__pane.is-active{display:block}
.fb-panel{padding:16px}
.fb-pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.fb-pagination a,.fb-pagination span{padding:8px 10px;border-radius:999px;border:1px solid var(--fb-border);background:var(--fb-surface)}
.fb-pagination .current{border-color:rgba(93,169,233,.45);background:rgba(93,169,233,.16)}
.fb-az{display:flex;gap:8px;flex-wrap:wrap}.fb-az a{padding:7px 10px;border-radius:999px;border:1px solid var(--fb-border);background:var(--fb-surface)}.fb-az a.is-active{border-color:rgba(93,169,233,.45);background:rgba(93,169,233,.16)}
.fb-footer{margin-top:34px;border-top:1px solid var(--fb-border);padding:18px 0;color:var(--fb-muted);font-size:13px}


/* --- v1.0.1 hotfixes --- */
.fb-mobilemenu{display:none;} /* ensure hidden on desktop */
.fb-mobilemenu{
  background:rgba(0,0,0,.82);
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}

.fb-tile{display:flex;flex-direction:column;}
.fb-tile__img{flex:0 0 auto;}
.fb-product__actions{margin-top:auto;} /* CTA floats to bottom */

.fb-pagination a:hover{border-color:rgba(93,169,233,.35);}
.fb-pagination a{transition:transform .12s ease, border-color .12s ease, background .12s ease;}
.fb-pagination a:hover{transform:translateY(-1px);}


/* Woo pagination aligns with theme */
.woocommerce .woocommerce-pagination ul.page-numbers{
  border:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start;
}
.woocommerce .woocommerce-pagination ul.page-numbers li{
  border:none;margin:0;padding:0;
}
.woocommerce .woocommerce-pagination ul.page-numbers li a,
.woocommerce .woocommerce-pagination ul.page-numbers li span{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 10px;border-radius:999px;border:1px solid var(--fb-border);
  background:var(--fb-surface);color:var(--fb-text);min-width:36px;
}
.woocommerce .woocommerce-pagination ul.page-numbers li span.current{
  border-color:rgba(93,169,233,.45);background:rgba(93,169,233,.16);
}


/* --- kidstv-hotfix --- */
.woocommerce .fb-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:900px){.woocommerce .fb-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){.woocommerce .fb-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Woo single product: make primary CTA match theme and avoid "gold" price styling */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button.button,
.woocommerce div.product .single_add_to_cart_button.alt{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(93,169,233,.35);
  background:linear-gradient(135deg, rgba(93,169,233,.95), rgba(93,169,233,.55));
  color:#fff;
  font-weight:800;
  line-height:1;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover{opacity:.95}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product p.price .amount,
.woocommerce div.product span.price .amount{
  color:var(--fb-text) !important;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del{opacity:.65;}

/* Product meta: present like a clean facts grid */
.woocommerce div.product .product_meta{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--fb-border);
  display:grid;
  grid-template-columns:1fr; /* each meta item on its own line */
  gap:10px;
  font-size:13px;
  color:var(--fb-muted);
}
.woocommerce div.product .product_meta > span{display:block;}
.woocommerce div.product .product_meta > span > span{display:block;margin-top:2px;}
.woocommerce div.product .product_meta > span > span,
.woocommerce div.product .product_meta .posted_in a,
.woocommerce div.product .product_meta .tagged_as a{
  color:var(--fb-text);
  text-decoration:none;
  font-weight:700;
}
.woocommerce div.product .product_meta a:hover{text-decoration:underline;}

/* Ensure related products always sit below summary/tabs and use full width */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related{
  clear:both;
  width:100%;
}
.woocommerce div.product .related{margin-top:18px;}

/* Progressive reveal for related products */
.fb-relatedWrap[data-related-wrap] .products{margin-top:12px;}
.fb-relatedWrap[data-related-wrap] .products > li{display:none;}
.fb-relatedWrap[data-related-wrap] .products > li.is-visible{display:block;}
.fb-relatedMore{margin-top:12px;}

/* Related products: progressive reveal button */
.fb-relatedMore{
  margin-top:12px;
}
.fb-relatedMore .fb-btn{width:100%;justify-content:center;}

.fb-product__actions{margin-top:auto; gap:10px;}
.fb-product__actions .button,
.fb-product__actions .fb-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 12px;border-radius:999px;
}
.fb-product__actions .button{
  border:1px solid rgba(93,169,233,.35);
  background:linear-gradient(135deg, rgba(93,169,233,.95), rgba(93,169,233,.55));
  color:#fff;
}
.fb-product__actions .button:hover{opacity:.95}
.fb-tile__meta{margin-bottom:10px;} /* air between price and button */

.fb-mobilemenu{background:rgba(0,0,0,.88)!important;}


/* Menu markup (ul/li) */
.fb-menu{display:flex;gap:10px;flex-wrap:wrap;margin:0;padding:0;}
.fb-menu li{list-style:none;margin:0;padding:0;}
.fb-menu a{display:inline-block;padding:8px 10px;border-radius:999px;border:1px solid transparent;white-space:nowrap}
.fb-menu a:hover{border-color:var(--fb-border);background:var(--fb-surface)}
@media(max-width:720px){
  .fb-mobilemenu ul{display:block;margin:0;padding:0;}
  .fb-mobilemenu li{list-style:none;}
  .fb-mobilemenu a{display:block;padding:12px 14px;border-bottom:1px solid var(--fb-border)}
  .fb-mobilemenu li:last-child a{border-bottom:none}
}


/* Streaming services block */
.fb-streaming{margin-top:14px;}
.fb-streaming__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}
@media(max-width:720px){
  .fb-streaming__grid{grid-template-columns:1fr;}
}
.fb-streamcard{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:14px;
  border-radius:18px;
  border:1px solid var(--fb-border);
  background:var(--fb-surface);
  text-decoration:none;
  color:var(--fb-text);
  transition:transform .12s ease, border-color .12s ease, background .12s ease;
}
.fb-streamcard:hover{transform:translateY(-1px); border-color:rgba(93,169,233,.35);}
.fb-streamcard.is-featured{border-color:rgba(93,169,233,.55); box-shadow:0 18px 50px rgba(93,169,233,.12);}
.fb-streamcard__top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;}
.fb-streamcard__name{font-weight:700;}
.fb-streamcard__label{
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--fb-border);
  color:var(--fb-muted);
  background:rgba(255,255,255,.02);
  white-space:nowrap;
}
.fb-streamcard__bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;}


/* Title header (compact) */
.fb-titlehead{padding:14px;}
.fb-titlehead__grid{display:grid;grid-template-columns:360px 1fr;gap:16px;align-items:start;}
@media(max-width:900px){.fb-titlehead__grid{grid-template-columns:1fr;}}
.fb-titlehead__media{border-radius:18px;overflow:hidden;border:1px solid var(--fb-border);background:var(--fb-surface);}
.fb-titlehead__img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover;max-height:340px;}
.fb-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;}
.fb-fact{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:1px solid var(--fb-border);border-radius:14px;background:rgba(255,255,255,.02);min-width:120px;}
.fb-fact strong{font-size:14px;}

/* Menu */
.fb-menu{list-style:none;margin:0;padding:0;display:flex;gap:16px;align-items:center;}
.fb-menu li{margin:0;padding:0;}
.fb-menu a{color:var(--fb-text);text-decoration:none;opacity:.9;}
.fb-menu a:hover{opacity:1;}
@media(max-width:720px){
  .fb-nav{display:none;}
  .fb-burger{display:inline-flex;}
  .fb-mobilemenu{display:none;}
  .fb-mobilemenu.is-open{display:block;}
  .fb-mobilemenu .fb-menu{display:block;margin:0;padding:8px 0;}
}


/* Streaming cards tweaks */
.fb-streaming__grid{grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:900px){.fb-streaming__grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:720px){.fb-streaming__grid{grid-template-columns:1fr;}}
.fb-streamcard{padding:12px;gap:8px;}
.fb-streamcard__name{font-weight:700;font-size:14px;}
.fb-streamcard__label{font-size:11px;padding:3px 8px;}
.fb-streamcard__badge{
  font-size:11px;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid rgba(93,169,233,.45);
  background:rgba(93,169,233,.12);
  color:var(--fb-text);
}
.fb-streamcard.is-featured-lg{grid-column:span 3;}
@media(max-width:900px){.fb-streamcard.is-featured-lg{grid-column:span 2;}}
@media(max-width:720px){.fb-streamcard.is-featured-lg{grid-column:span 1;}}
.fb-streamcard.is-featured{border-color:rgba(93,169,233,.55); box-shadow:0 18px 50px rgba(93,169,233,.12);}


.fb-input{width:100%;max-width:520px;padding:10px 12px;border-radius:14px;border:1px solid var(--fb-border);background:rgba(255,255,255,.02);color:var(--fb-text);}
.fb-az-search{margin:0 0 14px;}


.fb-metaline{margin:0 0 10px;color:var(--fb-muted);font-size:13px;line-height:1.3;}
.fb-langline{margin-top:10px;color:var(--fb-text);font-size:13px;}
.fb-langline .fb-muted{margin-right:6px;}


.fb-titlecard{display:block;overflow:hidden;text-decoration:none;color:var(--fb-text);}
.fb-titlecard__media{border-radius:16px;overflow:hidden;border:1px solid var(--fb-border);background:var(--fb-surface);}
.fb-titlecard__media img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover;}
.fb-titlecard__ph{aspect-ratio:16/9;}
.fb-titlecard__body{padding:10px 2px;}
.fb-titlecard__title{font-weight:700;font-size:14px;line-height:1.2;}


/* A-Z controls */
.fb-az-controls{display:flex;flex-direction:column;gap:10px;margin-top:12px;}
.fb-az-controls--inline{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;}
@media(max-width:720px){.fb-az-controls--inline{flex-direction:column;align-items:stretch;}}

/* --- Search (PlayPilot-ish) --- */
.fb-searchhead{display:flex;flex-direction:column;gap:12px;margin-top:14px;}
.fb-searchmeta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:20px;}
.fb-searchmeta__left{display:flex;align-items:center;gap:8px;color:var(--fb-muted);font-size:13px;}
.fb-searchmeta__dot{opacity:.55}
.fb-searchmeta__count:empty + .fb-searchmeta__dot{display:none;}
.fb-searchmeta__count:empty{display:none;}

/* Searchbox (shared: page-search + page-az) */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration{
  -webkit-appearance:none;
  appearance:none;
}
input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal{
  display:none;
  width:0;
  height:0;
}

.fb-searchbox{
  position:relative;
  width:100%;
  max-width:none;
}
.fb-searchbox__icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  opacity:.9;
  font-size:16px;
  pointer-events:none;
  display: none;
}
.fb-searchbox__input{
  width:100%;
  padding:11px 42px 11px 42px; /* tighter than before */
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--fb-text);
  outline:none;
  line-height:1.2;
}
.fb-searchbox__input:focus{
  border-color:rgba(93,169,233,.55);
  box-shadow:0 0 0 4px rgba(93,169,233,.18);
}
.fb-searchbox__clear{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:var(--fb-text);
  cursor:pointer;
  display:none;
  align-items:center;
  justify-content:center;
  line-height:1;
  font-size:18px;
}
.fb-searchbox__clear:hover{
  border-color:rgba(158,201,242,.40);
  background:rgba(158,201,242,.16);
}
.fb-searchbox.has-value .fb-searchbox__clear{
  display:inline-flex;
}


.fb-filterbar--chips{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-start;}
.fb-filterbar--chips .fb-filter__sum{padding:10px 12px;}

@media(max-width:720px){
  .fb-searchhead{gap:10px;}
  .fb-searchbox{min-width:0;width:100%;max-width:100%;}
  .fb-searchbox__input{font-size:16px;}
  .fb-filterbar--chips{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:0 18px 6px 2px;scroll-padding-left:2px;}
  .fb-filterbar--chips .fb-filter{flex:0 0 auto;}
}

/* Mobile chips: subtle “swipe hint” */
@media(max-width:720px){
  .fb-filterbar--chips{position:relative;}
  .fb-filterbar--chips:after{
    content:"";
    position:sticky;
    right:0;
    top:0;
    width:36px;
    flex:0 0 36px;
    height:48px;
    pointer-events:none;
    background:linear-gradient(90deg, rgba(0,0,0,0), rgba(15,20,32,.75));
  }
    background:linear-gradient(90deg, rgba(255,255,255,0), rgba(245,247,251,.98));
  }
}

/* Hide scrollbars (chips) without disabling scroll */
.fb-filterbar--chips::-webkit-scrollbar{display:none;}
.fb-filterbar--chips{scrollbar-width:none;}
.fb-filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.fb-filters select{padding:9px 10px;border-radius:14px;border:1px solid var(--fb-border);background:rgba(255,255,255,.02);color:var(--fb-text);min-width:140px;}
@media(max-width:720px){.fb-filters select{flex:1;min-width:130px;}}

.fb-loadmore-wrap{margin-top:14px;}

.fb-metalink{color:var(--fb-muted);text-decoration:none;border-bottom:1px solid transparent;}
.fb-metalink:hover{color:var(--fb-text);border-bottom-color:rgba(93,169,233,.45);} 
.fb-sep{margin:0 6px;color:var(--fb-muted);opacity:.7;}


.fb-titlecard2{display:block;text-decoration:none;color:var(--fb-text);}
.fb-titlecard2__media{border-radius:18px;overflow:hidden;border:1px solid var(--fb-border);background:var(--fb-surface);}
.fb-titlecard2__media img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover;}
.fb-titlecard2__ph{aspect-ratio:16/9;}
.fb-titlecard2__media--noimg{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;padding:16px;background:linear-gradient(135deg, var(--fb-a), var(--fb-b));position:relative;}
.fb-titlecard2__media--noimg:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.28) 100%);}
.fb-titlecard2__fallback{position:relative;z-index:2;text-align:center;max-width:92%;display:flex;flex-direction:column;align-items:center;gap:10px;}
.fb-titlecard2__initials{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-weight:900;letter-spacing:.02em;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);}
.fb-titlecard2__fallbackTitle{font-weight:900;line-height:1.05;font-size:clamp(14px, 2.2vw, 22px);text-shadow:0 10px 30px rgba(0,0,0,.35);}
.fb-titlecard2__body{padding:10px 2px;}
.fb-titlecard2__title{font-weight:750;font-size:15px;line-height:1.2;}
.fb-titlecard2__meta{margin-top:4px;font-size:12px;color:var(--fb-muted);line-height:1.25;}
.fb-titlecard2__svcs{display:flex;align-items:center;gap:5px;margin-top:6px;flex-wrap:wrap;}
.fb-titlecard2__svclogo{height:14px;width:auto;max-width:40px;object-fit:contain;border-radius:3px;opacity:.85;filter:brightness(.9) saturate(.8);}
.fb-titlecard2:hover .fb-titlecard2__svclogo{opacity:1;filter:none;}
.fb-titlecard2__svcname{font-size:10px;font-weight:700;color:var(--fb-muted);background:rgba(255,255,255,.07);border-radius:4px;padding:1px 4px;letter-spacing:.02em;}

.fb-filters2{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.fb-filterbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.fb-btn--link{padding:8px 10px;border-radius:999px;border:1px solid var(--fb-border);background:rgba(255,255,255,.02);color:var(--fb-text);cursor:pointer;}
.fb-btn--link:hover{border-color:rgba(93,169,233,.45);}
.fb-filter{position:relative;}
.fb-filter__sum{list-style:none;display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:999px;border:1px solid var(--fb-border);background:rgba(255,255,255,.02);cursor:pointer;color:var(--fb-text);}
.fb-filter__sum::-webkit-details-marker{display:none;}
.fb-filter__count{min-width:20px;height:20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(93,169,233,.14);border:1px solid rgba(93,169,233,.35);font-size:12px;}
.fb-filter[open] .fb-filter__sum{border-color:rgba(93,169,233,.45);box-shadow:0 14px 40px rgba(93,169,233,.10);}
.fb-filter__panel{position:absolute;z-index:220;top:44px;left:0;min-width:220px;max-height:320px;overflow:auto;padding:10px;border-radius:16px;border:1px solid rgba(255,255,255,.14);background:var(--fb-surface-strong);backdrop-filter:blur(10px);box-shadow:0 24px 70px rgba(0,0,0,.38);}
.fb-check{display:flex;gap:8px;align-items:center;padding:7px 6px;border-radius:12px;}
.fb-check:hover{background:rgba(255,255,255,.03);}
.fb-check input{margin:0;}

@media(max-width:720px){.fb-filter__panel{position:static;min-width:auto;max-height:none;margin-top:8px;}
  .fb-filter{width:100%;}
  .fb-filter__sum{width:100%;justify-content:space-between;}
}

/* Inline filter UX (Search page) */
@media(max-width:720px){
  [data-fb-inline-filters] .fb-filterbar{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px;}
  [data-fb-inline-filters] .fb-filter{width:auto;flex:0 0 auto;}
  [data-fb-inline-filters] .fb-btn--link{flex:0 0 auto;}
}

/* Bottom sheet (mobile filters) */
.fb-sheet{position:fixed;inset:0;z-index:110000;display:flex;align-items:flex-end;justify-content:center;}
.fb-sheet[hidden]{display:none;}
.fb-sheet__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);}
.fb-sheet__panel{position:relative;width:min(640px,100%);max-height:78vh;border-radius:22px 22px 0 0;
  background:var(--fb-surface-strong);border:1px solid rgba(255,255,255,.14);
  box-shadow:0 30px 90px rgba(0,0,0,.55);overflow:hidden;}
.fb-sheet__head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.10);}
.fb-sheet__title{font-weight:700;letter-spacing:.2px;}
.fb-sheet__x{width:36px;height:36px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:var(--fb-text);cursor:pointer;}
.fb-sheet__body{padding:12px 16px;overflow:auto;max-height:56vh;}
.fb-sheet__foot{padding:12px 16px;border-top:1px solid rgba(255,255,255,.10);display:flex;justify-content:flex-end;}
@media(min-width:721px){.fb-sheet{display:none !important;}}

/* Search filters row polish */
[data-fb-inline-filters] .fb-filter__sum{padding:10px 12px;border-radius:999px;}
[data-fb-inline-filters] .fb-btn[data-fb-reset]{border-radius:999px;}


/* Cover credit */
.fb-titlehead__media{position:relative;}
.fb-credit{
  position:absolute;right:10px;bottom:10px;
  padding:6px 10px;border-radius:999px;
  font-size:12px;line-height:1;color:#fff;
  background:rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width:70%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.fb-credit:hover{background:rgba(0,0,0,.52);}

/* Streaming logo inside cards */
.fb-streamcard__top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.fb-streamcard__logo{width:22px;height:22px;border-radius:6px;object-fit:contain;flex:0 0 22px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);}

/* Filter polish */
.fb-az-controls{gap:12px;}
.fb-filter__panel{animation:fbPop .14s ease-out;}
@keyframes fbPop{from{transform:translateY(-4px);opacity:.7}to{transform:translateY(0);opacity:1}}
.fb-filter__sum{transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;}
.fb-filter__sum:hover{transform:translateY(-1px);border-color:rgba(93,169,233,.45);}
.fb-chipsrow{padding-top:2px;}
.fb-chip2{transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;}
.fb-chip2:hover{transform:translateY(-1px);}

/* Popular searches (frontpage) */
.fb-popsearch{margin-top:18px;}
.fb-popsearch__row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.fb-popsearch__chip{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 12px;border-radius:999px;
  border:1px solid var(--fb-border);
  background:rgba(255,255,255,.02);
  color:var(--fb-text);text-decoration:none;
}
.fb-popsearch__chip:hover{border-color:rgba(93,169,233,.45);box-shadow:0 10px 24px rgba(0,0,0,.18);}
.fb-popsearch__q{font-weight:650;font-size:14px;}
@media(max-width:720px){
  .fb-popsearch__row{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:0 2px 6px;scrollbar-width:none;}
  .fb-popsearch__row::-webkit-scrollbar{display:none;}
  .fb-popsearch__chip{flex:0 0 auto;scroll-snap-align:start;}
}

/* Editorial note */
.fb-editorial{padding:16px 16px;}
.fb-editorial__body p{margin:0 0 10px;}
.fb-editorial__body p:last-child{margin-bottom:0;}

/* Search: loading state */
#fb-results.is-loading{opacity:.65;pointer-events:none;}

/* Titlehead image sizing (less huge) */
.fb-titlehead__img{border-radius:22px;}

/* Subtle overall smoothness */
.fb-card{border-radius:22px;}
.fb-btn{border-radius:999px;}


/* --- Discover redesign: stage + rails --- */
.fb-wrap--wide{max-width:1220px;}
.fb-stage{position:relative;border-radius:26px;overflow:hidden;min-height:420px;margin-top:10px;}
.fb-stage__bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:saturate(1.02);}
.fb-stage__bg,.fb-stage__overlay{pointer-events:none;}
.fb-stage__overlay{position:absolute;inset:0;background:
  radial-gradient(900px 420px at 18% 55%, rgba(0,0,0,.12), rgba(0,0,0,.72)),
  linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,.92) 100%);}
.fb-stage__content{position:relative;z-index:2;padding:28px;max-width:760px;}
.fb-stage__meta{display:inline-flex;gap:8px;align-items:center;
  font-size:12px;color:rgba(255,255,255,.78);
  padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);}
.fb-stage__title{font-size:44px;line-height:1.05;margin:14px 0 10px;font-weight:850;color:#fff;text-shadow:0 18px 70px rgba(0,0,0,.55);}
.fb-stage__lead{color:rgba(255,255,255,.80);max-width:56ch;margin:0 0 16px;}
.fb-stage__cta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px;}
.fb-stage__search{display:flex;gap:10px;align-items:center;flex-wrap:wrap;max-width:680px;}
.fb-input--xl{height:46px;font-size:15px;padding:12px 14px;border-radius:14px;min-width:280px;flex:1;}
@media(max-width:420px){.fb-input--xl{min-width:0;}}

.fb-rail{margin-top:18px;}
.fb-rail__head{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 10px;}
.fb-rail__scroller{display:flex;gap:12px;overflow:auto;padding:4px 0 10px;scrollbar-width:thin;
  /* Keep rails aligned with the same inner width as Search and A–Z */
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.fb-rail__item{scroll-snap-align:start;}
.fb-rail__item{min-width:230px;flex:0 0 230px;}
.fb-grid--tight{gap:10px;}

.fb-link{font-size:13px;color:var(--fb-muted);text-decoration:none;}
.fb-link:hover{color:var(--fb-text);}

@media (max-width:860px){
  .fb-stage{min-height:390px;}
  .fb-stage__content{padding:22px;}
  .fb-stage__title{font-size:34px;}
  .fb-rail__item{min-width:200px;flex-basis:200px;}
}
@media (max-width:520px){
  .fb-stage__title{font-size:28px;}
  .fb-stage__content{padding:18px;}
}


/* --- Title page redesign (stage) --- */
.fb-titleStage{display:grid;grid-template-columns:320px 1fr;gap:22px;align-items:start;margin-top:10px;}
.fb-poster{position:relative;border-radius:26px;overflow:hidden;border:1px solid var(--fb-border);background:var(--fb-surface);}
.fb-poster__img{width:100%;height:auto;display:block;aspect-ratio:2/3;object-fit:cover;}
.fb-titleStage__title{margin:4px 0 10px;font-size:40px;line-height:1.05;font-weight:900;}
.fb-titleStage__intro{margin:10px 0 0;color:var(--fb-muted);max-width:70ch;}

.fb-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:var(--fb-muted);font-size:13px;margin-bottom:6px;}
.fb-meta__sep{opacity:.7;}
.fb-meta__link{color:var(--fb-muted);text-decoration:none;border-bottom:1px solid transparent;}
.fb-meta__link:hover{color:var(--fb-text);border-bottom-color:rgba(93,169,233,.35);}

.fb-streamPanel{margin-top:14px;padding:14px;border-radius:22px;border:1px solid var(--fb-border);background:rgba(255,255,255,.02);}
.fb-streamPanel__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:0px;}
.fb-streamGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.fb-streamTile{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 12px;border-radius:18px;border:1px solid var(--fb-border);
  background:rgba(255,255,255,.02);text-decoration:none;color:var(--fb-text);
  transition:transform .18s ease,border-color .18s ease, box-shadow .18s ease;}
.fb-streamTile:hover{transform:translateY(-1px);border-color:rgba(93,169,233,.40);box-shadow:0 18px 60px rgba(0,0,0,.22);}
.fb-streamTile__left{display:flex;align-items:center;gap:10px;min-width:0;}
.fb-streamTile__logo{width:34px;height:34px;border-radius:12px;object-fit:contain;flex:0 0 34px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.03);}
.fb-streamTile__logo--ph{background:rgba(255,255,255,.06);}
.fb-streamTile__name{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px;}
.fb-streamTile__sub{margin-top:2px;font-size:12px;color:var(--fb-muted);line-height:1.25}
.fb-streamTile__cta{display:flex;align-items:center;gap:8px;flex:0 0 auto;}
.fb-streamTile__tag{
  font-size:11px;
  font-weight:850;
  letter-spacing:.02em;
  color:rgba(93,169,233,.95);
  background:rgba(93,169,233,.12);
  border:1px solid rgba(93,169,233,.28);
  padding:4px 8px;
  border-radius:999px;
  white-space:nowrap;
}
.fb-pill{font-size:12px;color:rgba(255,255,255,.85);padding:4px 9px;border-radius:999px;border:1px solid rgba(96,165,250,.35);background:rgba(96,165,250,.14);}
.fb-streamTile.is-featured{border-color:rgba(96,165,250,.55);background:rgba(96,165,250,.08);box-shadow:none;}
.fb-btn.is-compact{padding:8px 12px;font-size:13px;border-radius:999px;}


@media(max-width:520px){
  .fb-streamTile__name{max-width:180px}
  .fb-streamTile__cta{flex-direction:column;align-items:flex-end;gap:6px;}
  .fb-streamTile__cta .fb-btn{width:86px;justify-content:center;white-space:normal;text-align:center;line-height:1.05;padding:9px 10px}
}
.fb-facts{margin-top:14px;}
.fb-facts__row{display:flex;gap:10px;align-items:baseline;padding:10px 0;border-top:1px solid var(--fb-border);}
.fb-facts__k{width:70px;font-size:12px;color:var(--fb-muted);text-transform:uppercase;letter-spacing:.06em;}
.fb-facts__v{color:var(--fb-text);font-size:14px;}

/* --- Title facts (v1.0.11): clean grid (no emojis) --- */
.fb-factsBlock{margin-top:14px;padding-top:12px;border-top:1px solid var(--fb-border);}
.fb-factsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.fb-factCard{border:1px solid var(--fb-border);background:rgba(255,255,255,.02);border-radius:14px;padding:10px 12px;}
.fb-factCard__k{font-size:11px;color:var(--fb-muted);text-transform:uppercase;letter-spacing:.08em;}
.fb-factCard__v{margin-top:6px;font-size:14px;font-weight:850;color:var(--fb-text);line-height:1.25;}
.fb-factCard__v a{color:var(--fb-text);text-decoration:none;border-bottom:1px solid transparent;}
.fb-factCard__v a:hover{border-bottom-color:rgba(255,255,255,.18);}
.fb-whyBox{margin-top:10px;border:1px solid var(--fb-border);background:var(--fb-surface);border-radius:14px;padding:12px 12px;}
.fb-whyBox__k{font-weight:900;font-size:14px;margin-bottom:6px;}
.fb-whyBox__v{color:var(--fb-muted);line-height:1.55;font-size:14px;}
@media (max-width:720px){
  .fb-factsGrid{grid-template-columns:1fr;}
}

/* Title facts (v1.0.9+): compact "chips" UX */
.fb-factsBar{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;}
.fb-fact{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--fb-border);border-radius:999px;background:var(--fb-surface);}
.fb-fact__icon{font-size:14px;line-height:1;opacity:.95;}
.fb-fact__label{font-size:11px;color:var(--fb-muted);text-transform:uppercase;letter-spacing:.08em;}
.fb-fact__value{font-size:13px;color:var(--fb-text);font-weight:700;}
.fb-fact__value a{color:var(--fb-text);text-decoration:none;border-bottom:1px solid transparent;}
.fb-fact__value a:hover{border-bottom-color:rgba(255,255,255,.20);}

.fb-factWhy{margin-top:12px;border:1px solid var(--fb-border);border-radius:14px;background:var(--fb-surface);overflow:hidden;}
.fb-factWhy summary{cursor:pointer;padding:12px 14px;font-weight:800;}
.fb-factWhy__body{padding:0 14px 14px;color:var(--fb-muted);line-height:1.55;font-size:14px;}
.fb-factWhy[open] summary{border-bottom:1px solid var(--fb-border);}

@media (max-width:720px){
  .fb-fact{width:100%;justify-content:flex-start;}
  .fb-fact__value{margin-left:auto;}
}

@media(max-width:980px){
  .fb-titleStage{grid-template-columns:260px 1fr;}
  .fb-titleStage__title{font-size:34px;}
}
@media(max-width:720px){
  .fb-titleStage{grid-template-columns:1fr;gap:14px;}
  .fb-streamGrid{grid-template-columns:1fr;}
}

/* Search loading */
#fb-results.is-loading{opacity:.65;filter:saturate(.98);}


/* --- Card sizing overrides (ensure consistent across pages) --- */
.fb-grid.cols-5{grid-template-columns:repeat(5,minmax(0,1fr));}
@media(max-width:1100px){.fb-grid.cols-5{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:900px){.fb-grid.cols-5{grid-template-columns:repeat(2,minmax(0,1fr));}}
.fb-titlecard2{width:100%;}
.fb-titlecard2__media img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:18px;}
.fb-titlecard2__body{padding:10px 2px 0;}
.fb-titlecard2__title{font-size:14px;font-weight:850;line-height:1.2;}
.fb-titlecard2__meta{font-size:12px;color:var(--fb-muted);margin-top:4px;}

/* 16:9 cover on title stage */
.fb-titleStage--wideimg{grid-template-columns:460px 1fr;}
.fb-cover169{position:relative;border-radius:26px;overflow:hidden;border:1px solid var(--fb-border);background:var(--fb-surface);}
.fb-cover169__img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover;}
.fb-cover169__fallback{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;padding:22px;background:linear-gradient(135deg,var(--fb-a),var(--fb-b));position:relative;}
.fb-cover169__fallback:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.42) 100%);} 
.fb-cover169__fallbackInner{position:relative;z-index:2;text-align:center;max-width:92%;display:flex;flex-direction:column;align-items:center;gap:14px;}
.fb-cover169__initials{width:64px;height:64px;border-radius:20px;display:flex;align-items:center;justify-content:center;font-weight:950;letter-spacing:.02em;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);} 
.fb-cover169__fallbackTitle{font-weight:950;line-height:1.05;font-size:clamp(18px, 3.2vw, 46px);text-shadow:0 12px 40px rgba(0,0,0,.45);} 
@media(max-width:980px){.fb-titleStage--wideimg{grid-template-columns:360px 1fr;}}
@media(max-width:720px){.fb-titleStage--wideimg{grid-template-columns:1fr;}}


/* --- A–Z layout (clean, no boxes) --- */
.fb-az--sitemap{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.fb-az__item{display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:34px;border-radius:999px;
  border:1px solid var(--fb-border);
  background:rgba(255,255,255,.02);
  text-decoration:none;color:var(--fb-text);
  font-weight:800;font-size:13px;
  transition:transform .16s ease,border-color .16s ease, box-shadow .16s ease;}
.fb-az__item:hover{transform:translateY(-1px);border-color:rgba(93,169,233,.35);box-shadow:0 14px 40px rgba(0,0,0,.18);}
.fb-az__item.is-empty{opacity:.35;}

.fb-azgroup{padding-top:12px;margin-top:14px;scroll-margin-top:90px;}
.fb-azgroup__head{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 10px;}
.fb-azgroup + .fb-azgroup{border-top:1px solid var(--fb-border);padding-top:18px;}

.fb-azsearch{margin-top:12px;max-width:520px;}
.fb-azmore{display:flex;justify-content:center;margin-top:12px;}


/* --- Meta pills on title page --- */
.fb-metaPills{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:8px 0 10px;}
.fb-pill2{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;
  border:1px solid var(--fb-border);background:rgba(255,255,255,.03);font-size:13px;color:var(--fb-muted);}
.fb-pill2__k{font-weight:800;color:var(--fb-text);opacity:.9;}

/* --- Mobile menu: full-screen sheet (better tap targets + readability) --- */
@media(max-width:720px){
  .fb-mobilemenu{position:fixed !important;inset:0;top:0;left:0;right:0;bottom:0;
    padding:74px 14px 18px;
    border:0 !important;border-radius:0 !important;
    background:rgba(0,0,0,.55) !important;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    z-index:999;}
  .fb-mobilemenu.is-open{display:block;}
  /* Menu should be a clean list (no inner "box") */
  .fb-mobilemenu .fb-menu{display:block;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;}
  .fb-mobilemenu .fb-menu li{list-style:none;margin:0;}
  .fb-mobilemenu .fb-menu a{display:block;padding:14px 14px;font-weight:700;border-radius:0;border:0;background:transparent;border-bottom:1px solid var(--fb-border);}
  .fb-mobilemenu .fb-menu a:hover{background:rgba(255,255,255,.05);}
  .fb-mobilemenu .fb-menu li:last-child a{border-bottom:1px solid var(--fb-border);} /* keep bottom rule */
}

/* --- Cards: last 10% polish (hover + image lift) --- */
@media(hover:hover){
  .fb-titlecard2__media img{transition:transform .22s ease;}
  .fb-titlecard2:hover .fb-titlecard2__media img{transform:scale(1.03);}
  .fb-titlecard2__media{transition:border-color .18s ease, box-shadow .18s ease;}
  .fb-titlecard2:hover .fb-titlecard2__media{border-color:rgba(93,169,233,.28);box-shadow:0 18px 70px rgba(0,0,0,.22);}
}
.fb-pill2 a{color:var(--fb-muted);text-decoration:none;border-bottom:1px solid transparent;}
.fb-pill2 a:hover{color:var(--fb-text);border-bottom-color:rgba(93,169,233,.35);}
.fb-dot{opacity:.65;margin:0 4px;}

.fb-pill--muted{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:rgba(255,255,255,.82);}

/* Description block */
.fb-desc{margin-top:14px;color:var(--fb-text);max-width:75ch;}
.fb-desc p{color:var(--fb-muted);}

/* FAQ */
.fb-faq__list{display:grid;gap:10px;margin-top:10px;}
.fb-faq__item{border:1px solid var(--fb-border);border-radius:18px;background:rgba(255,255,255,.02);padding:10px 12px;}
.fb-faq__q{cursor:pointer;font-weight:850;list-style:none;}
.fb-faq__q::-webkit-details-marker{display:none;}
.fb-faq__a{color:var(--fb-muted);margin-top:8px;}
.fb-svc-logo{width:18px;height:18px;border-radius:6px;object-fit:contain;margin-right:8px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.03);}


/* --- Title: streaming tile layout tweaks --- */
.fb-streamNote{margin-top:10px;font-size:13px;color:var(--fb-muted);line-height:1.45;}
.fb-streamTile__text{display:flex;flex-direction:column;gap:6px;min-width:0;}
.fb-streamTile__badges{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.fb-streamTile__left{gap:12px;}
.fb-streamTile__name{max-width:260px;}

/* --- FAQ: narrow + plus/minus --- */
.fb-faq--narrow{max-width:760px;}
@media(max-width:720px){.fb-faq--narrow{max-width:none;}}
.fb-faq__q{position:relative;padding-right:42px;}
.fb-faq__q::-webkit-details-marker{display:none;}
.fb-faq__item > .fb-faq__q::after{
  content:"+";
  position:absolute;right:14px;top:50%;
  transform:translateY(-50%);
  width:26px;height:26px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--fb-border);
  background:rgba(255,255,255,.03);
  color:var(--fb-text);font-weight:900;
}
.fb-faq__item[open] > .fb-faq__q::after{content:"–";}


/* --- Prose --- */
.fb-prose{max-width:860px;color:var(--fb-text);line-height:1.7;font-size:15px;}
.fb-prose p{margin:0 0 12px;}
.fb-prose a{color:var(--fb-accent);text-decoration:underline;}
.fb-titleDesc{margin-top:14px;}


/* --- Title description (read more) --- */
.fb-descTop{margin-top:10px;color:var(--fb-text);font-size:14px;line-height:1.7;}
.fb-descTop__excerpt{opacity:.92;}
.fb-descTop__more{margin-top:10px;border-top:1px solid var(--fb-border);padding-top:10px;}
.fb-descTop__summary{cursor:pointer;user-select:none;display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border-radius:999px;border:1px solid var(--fb-border);
  background:rgba(255,255,255,.03);font-weight:800;font-size:13px;}
.fb-descTop__summary::after{content:"+";font-weight:900;display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;border-radius:999px;border:1px solid var(--fb-border);background:rgba(0,0,0,.12);}
.fb-descTop__more[open] .fb-descTop__summary::after{content:"–";}
.fb-descTop__more .fb-prose{margin-top:10px;}


/* --- Title: description toggle --- */
.fb-descTop{margin-top:10px;}
.fb-descTop__excerpt{color:var(--fb-text);line-height:1.6;font-size:14px;max-width:860px;}
.fb-descTop__toggle{
  margin-left:8px;
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 12px;border-radius:999px;
  border:1px solid var(--fb-border);
  background:rgba(255,255,255,.03);
  color:var(--fb-text);
  font-weight:800;font-size:12px;
  cursor:pointer;
}
.fb-descTop__toggle:hover{transform:translateY(-1px);}
.fb-descTop__full{margin-top:10px;}
.fb-descTop__toggle.is-close{margin-top:10px;}


/* --- Title inline description toggle --- */
.fb-descInline{margin-top:10px;color:var(--fb-text);line-height:1.65;font-size:14px;max-width:820px;}
.fb-descInline__dots{margin-left:2px;}
.fb-descInline__more{color:var(--fb-muted);font-weight:700;text-decoration:none;margin-left:4px;}
.fb-descInline__more:hover{color:var(--fb-text);text-decoration:underline;}
.fb-descInline__more.is-open{text-decoration:underline;}
.fb-descInline__less{color:var(--fb-muted);font-weight:700;text-decoration:none;margin-left:6px;white-space:nowrap;}
.fb-descInline__less:hover{color:var(--fb-text);text-decoration:underline;}

/* --- Title actions (Læs mere + jump to streaming) --- */
.fb-titleActions{
  display:flex;
  gap:14px;
  align-items:center;
  margin:10px 0 8px;
  font-size:14px;
}
.fb-titleAction{
  text-decoration:none;
  transition:color .15s ease, transform .15s ease;
  font-weight:700;
}
.fb-titleAction--muted{color:var(--fb-muted);}
.fb-titleAction--muted:hover{color:var(--fb-text);}
.fb-titleAction--accent{color:var(--fb-accent);}
.fb-titleAction--accent:hover{transform:translateY(2px);}
@media (max-width: 520px){
  .fb-titleActions{flex-wrap:wrap;gap:10px;}
}



/* --- Shop (under title) --- */
.fb-shopIntro{margin:6px 0 12px;}
.fb-shopIntro__head{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.fb-shopIntro__more{font-size:13px;color:var(--fb-muted);text-decoration:none;white-space:nowrap;padding:0;background:none;border:none;border-radius:0;}
.fb-shopIntro__more:hover{color:var(--fb-text);text-decoration:none;opacity:.95;}
.fb-shopIntro__text{margin-top:6px;max-width:860px;line-height:1.6;}
/* Align Woo buttons with theme buttons */
.fb-grid .woocommerce a.button,
.fb-grid a.button,
.fb-grid button.button{
  padding:10px 14px;
  font-size:13px;
  border-radius:999px;
  line-height:1;
}


/* --- Product cards (merch under titles) --- */
.fb-card{background:var(--fb-surface);border:1px solid var(--fb-border);border-radius:16px;overflow:hidden}
.fb-card--product{display:flex;flex-direction:column}
.fb-card__media{display:block;aspect-ratio:16/10;background:rgba(255,255,255,.04);overflow:hidden}
.fb-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.fb-card__img--ph{width:100%;height:100%}
.fb-card__body{padding:12px 12px 14px}
.fb-card__title{font-weight:650;line-height:1.25;margin:0 0 6px;font-size:14px}
.fb-card__title a{color:inherit;text-decoration:none}
.fb-card__meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 0}
.fb-card__price{font-size:13px;opacity:.9}
.fb-card__price del{opacity:.6;margin-right:6px}
.fb-card__cta .button{padding:8px 12px;border-radius:999px;font-size:13px;line-height:1}
.fb-shopIntro{margin-bottom:10px}
.fb-shopIntro__text p{margin:6px 0 0}


/* --- Product cards CTA alignment (override) --- */
.fb-card--product{height:100%}
.fb-card__body{display:flex;flex-direction:column;flex:1}
.fb-card__meta{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-top:14px}
.fb-card__price{margin:0}
.fb-card__cta{width:100%}
.fb-card__cta .button{margin:0}

/* =========================================================
   Search page: Flix-inspired "soft glass" UI (mobile-first)
   Scoped to the Search template to avoid affecting other pages.
   ========================================================= */

.page-template-page-search .fb-hero,

.page-template-page-az .fb-hero{
  overflow:visible;
  position:relative;
  z-index:40;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-radius:26px;
}

.page-template-page-search .fb-searchhead,

.page-template-page-az .fb-searchhead{
  gap:14px;
}

.page-template-page-search .fb-searchbox,

.page-template-page-az .fb-searchbox{
  width:100%;
  min-width:0;
}

.page-template-page-az .fb-searchbox{
  margin-top: 14px;
}

.page-template-page-search .fb-searchbox__input,

.page-template-page-az .fb-searchbox__input{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.page-template-page-search .fb-searchmeta__left,

.page-template-page-az .fb-searchmeta__left{
  gap:10px;
}

.page-template-page-search .fb-btn--link,

.page-template-page-az .fb-btn--link{
  color:var(--fb-text);
  opacity:.8;
}
.page-template-page-search .fb-btn--link:hover,
.page-template-page-az .fb-btn--link:hover{opacity:1;}

/* Filter chips: always scroll on mobile, wrap on desktop */
.page-template-page-search .fb-filterbar--chips,
.page-template-page-az .fb-filterbar--chips{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:2px 2px;
}

@media(max-width:720px){
  .page-template-page-search .fb-filterbar--chips,
  .page-template-page-az .fb-filterbar--chips{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    padding-bottom:6px;
  }
  .page-template-page-search .fb-filterbar--chips .fb-filter,
  .page-template-page-az .fb-filterbar--chips .fb-filter{flex:0 0 auto;scroll-snap-align:start;}
  .page-template-page-search .fb-filterbar--chips::-webkit-scrollbar,
  .page-template-page-az .fb-filterbar--chips::-webkit-scrollbar{display:none;}
  .page-template-page-search .fb-filterbar--chips,
  .page-template-page-az .fb-filterbar--chips{scrollbar-width:none;}

  /* subtle fade edges to hint scroll */
  .page-template-page-search .fb-filterbar--chips::before,
  .page-template-page-search .fb-filterbar--chips::after,
  .page-template-page-az .fb-filterbar--chips::before,
  .page-template-page-search .fb-filterbar--chips::after{
    content:"";
    position:sticky;
    top:0;
    width:18px;
    height:100%;
    pointer-events:none;
    z-index:2;
  }
  .page-template-page-search .fb-filterbar--chips::before,
  .page-template-page-az .fb-filterbar--chips::before{
    left:0;
    background:linear-gradient(90deg, rgba(10,14,28,1), rgba(10,14,28,0));
  }
  .page-template-page-search .fb-filterbar--chips::after,
  .page-template-page-az .fb-filterbar--chips::after{
    right:0;
    background:linear-gradient(270deg, rgba(10,14,28,1), rgba(10,14,28,0));
  }
}

/* Chip button (details summary) */
.page-template-page-search .fb-filter,
.page-template-page-az .fb-filter{position:relative;}
.page-template-page-search .fb-filter__sum,
.page-template-page-az .fb-filter__sum{
  list-style:none;
  cursor:pointer;
  user-select:none;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  display:flex;
  align-items:center;
  gap:10px;
}
.page-template-page-search .fb-filter__sum:hover,
.page-template-page-az .fb-filter__sum:hover{border-color:rgba(93,169,233,.35);}
.page-template-page-search .fb-filter__sum::-webkit-details-marker,
.page-template-page-az .fb-filter__sum::-webkit-details-marker{display:none;}
.page-template-page-search .fb-filter__label,
.page-template-page-az .fb-filter__label{font-weight:650;font-size:13px;letter-spacing:.2px;}
.page-template-page-search .fb-filter__count,
.page-template-page-az .fb-filter__count{
  min-width:18px;height:18px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;
  background:rgba(93,169,233,.22);
  border:1px solid rgba(93,169,233,.35);
}

/* Desktop dropdown: ensure it floats above results */
.page-template-page-search .fb-filter__panel,
.page-template-page-az .fb-filter__panel{
  z-index:999;
}

.page-template-page-search .fb-section,

.page-template-page-az .fb-section{position:relative;z-index:auto;}

/* Bottom sheet polish */
.page-template-page-search .fb-sheet__panel,
.page-template-page-az .fb-sheet__panel{
  background:rgba(15,18,28,.98);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 30px 110px rgba(0,0,0,.55);
}

.page-template-page-search .fb-sheet__body .fb-filter__panel,

.page-template-page-az .fb-sheet__body .fb-filter__panel{
  position:static;
  padding:0;
  border:none;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}

.page-template-page-search .fb-check,

.page-template-page-az .fb-check{
  padding:10px 10px;
  border-radius:14px;
}
.page-template-page-search .fb-check:hover,
.page-template-page-az .fb-check:hover{background:rgba(255,255,255,.04);}

/* Prevent hero card from clipping dropdowns */
.page-template-page-search .fb-card.fb-hero,
.page-template-page-az .fb-card.fb-hero{overflow:visible;}


/* ==============================
   v1.0.4 – Mobile + Light mode fixes
   (overrides placed at end to win)
   ============================== */

/* Search page: base .fb-filters2 is flex. On iOS Safari this can
   create intrinsic sizing overflow (search input + chips spilling out).
   Force a normal block flow and explicit 100% widths on the search head. */
.page-template-page-search .fb-filters2,
.page-template-page-az .fb-filters2{display:block;}
.page-template-page-search .fb-searchhead,
.page-template-page-az .fb-searchhead{width:100%;max-width:100%;min-width:0;}
.page-template-page-search .fb-searchbox,
.page-template-page-az .fb-searchbox{width:100%;max-width:100%;min-width:0;}
.page-template-page-search .fb-searchbox__input,
.page-template-page-az .fb-searchbox__input{width:100%;max-width:100%;min-width:0;}

/* Also ensure the hero card never introduces horizontal scroll (mobile only)
   while still allowing desktop dropdowns to overflow. */
@media(max-width:720px){
  .page-template-page-search .fb-card.fb-hero,
  .page-template-page-az .fb-card.fb-hero{overflow:hidden;}
}

@media(max-width:720px){
  .page-template-page-search .fb-hero,
  .page-template-page-az .fb-hero{padding:22px;}
  .page-template-page-search .fb-wrap,
  .page-template-page-az .fb-wrap{padding-left:18px;padding-right:18px;--wrap-pad:18px;}
}

/* Search page: never allow input to overflow */
.page-template-page-search .fb-searchbox,
.page-template-page-az .fb-searchbox{width:100%;max-width:100%;min-width:0;}
.page-template-page-search .fb-searchbox__input,
.page-template-page-az .fb-searchbox__input{max-width:100%;min-width:0;}

/* Search filter chips: always left-aligned, swipeable on mobile */
.page-template-page-search .fb-filterbar--chips,
.page-template-page-az .fb-filterbar--chips{justify-content:flex-start;padding-left:0;margin-left:0;}
@media(max-width:720px){
  .page-template-page-search .fb-filterbar--chips,
  .page-template-page-az .fb-filterbar--chips{
    overflow-x:auto;
    flex-wrap:nowrap;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    touch-action:pan-x;
    padding:2px 0 8px;
  }
  .page-template-page-search .fb-filterbar--chips .fb-filter,
  .page-template-page-az .fb-filterbar--chips .fb-filter{flex:0 0 auto;scroll-snap-align:start;}
}

/* Mobile menu: full-screen backdrop + panel (better on iPhone) */
@media(max-width:720px){
  .fb-mobilemenu{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
    padding:calc(86px + env(safe-area-inset-top)) 14px 14px;
    background:rgba(0,0,0,.50);
    backdrop-filter:blur(10px);
  }
  .fb-mobilemenu.is-open{display:block;}
  .fb-mobilemenu__backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55)}
.fb-mobilemenu__panel{
  position:fixed;
  top:0; right:0; bottom:0;
  width:min(420px, 92vw);
  background:var(--fb-surface-strong);
  border-left:1px solid var(--fb-border);
  border-radius:0;
  overflow:auto;
  box-shadow:-24px 0 90px rgba(0,0,0,.45);
}
.fb-mobilemenu__head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--fb-border)}
.fb-mobilemenu__title{font-weight:850;letter-spacing:.2px;font-size:22px}
.fb-mobilemenu__close{width:44px;height:44px;border-radius:999px;border:1px solid var(--fb-border);background:rgba(255,255,255,.04);color:var(--fb-text);display:flex;align-items:center;justify-content:center}
.fb-mobilemenu__close svg{width:20px;height:20px}

/* Mobile menu links: simple list, no inner pill buttons */
.fb-mobilemenu .fb-menu{display:block;margin:0;padding:8px 0}
.fb-mobilemenu .fb-menu li{list-style:none;margin:0}
.fb-mobilemenu .fb-menu a{display:block;padding:14px 18px;border-radius:0;border:0;background:transparent;text-decoration:none;color:var(--fb-text)}
.fb-mobilemenu .fb-menu a:hover{background:rgba(255,255,255,.05)}
.fb-mobilemenu__close svg{width:18px;height:18px;}
  .fb-mobilemenu .fb-menu{list-style:none;margin:0;padding:0;}
  .fb-mobilemenu .fb-menu a{display:block;padding:14px 14px;font-weight:700;border-bottom:1px solid var(--fb-border);}
  .fb-mobilemenu .fb-menu li:last-child a{border-bottom:none;}
}

/* When mobile menu is open: lock scroll + avoid any clipping */
html.fb-mm-open, html.fb-mm-open body{overflow:hidden;}
html.fb-sheet-open, html.fb-sheet-open body{overflow:hidden;}

  background:#fff;
  border-color:rgba(15,20,32,.12);
}

  border-color:rgba(15,20,32,.10);
  background:rgba(15,20,32,.02);
}
  border-color:rgba(93,169,233,.28);
  background:rgba(93,169,233,.10);
}


/* --- Homepage: Hero slider + services --- */

/* Full-bleed utility (edge-to-edge) */
.fb-fullbleed{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}



.fb-stage--slider{margin-top:0;min-height:auto;padding:0;}

/* Full-bleed sections should not be clipped by card radius */
.fb-stage.fb-fullbleed{border-radius:0;}

.fb-stage--slider .fb-hero{position:relative;border-radius:0;overflow:hidden;padding:0;}
/* Cinematic hero sizing (Netflix vibe) */
.fb-hero__viewport{position:relative;height:clamp(520px,72vh,760px);}
.fb-stage--slider .fb-stage__overlay{background:
  radial-gradient(1200px 520px at 18% 55%, rgba(0,0,0,.10), rgba(0,0,0,.66)),
  linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.86));}
.fb-stage--slider .fb-stage__content{
  padding:clamp(22px,3.2vw,34px);
  padding-bottom:clamp(46px,5.2vw,78px); /* leave room for dots + give cinematic breathing space */
}
/* Slides must stay absolutely positioned so the background fills the whole viewport.
   (Avoid making the active slide `position: relative`, which collapses the bg height.) */
.fb-hero__slide{position:absolute;inset:0;opacity:0;transform:scale(1.01);transition:opacity .35s ease, transform .35s ease;display:flex;align-items:flex-end;}
.fb-hero__slide{pointer-events:none;}
.fb-hero__slide.is-active{opacity:1;transform:scale(1);pointer-events:auto;z-index:2;}

/* --- Hero polish: more air --- */
.fb-hero .fb-stage__content{
  /* Give the hero content a safe gutter now that arrows are gone (prevents "hugging" the left edge) */
  padding: clamp(32px, 4.2vw, 64px);
  padding-top: calc(clamp(32px, 4.2vw, 64px) + var(--fb-header-h));
  padding-bottom: max(84px, calc(env(safe-area-inset-bottom) + 84px));
  max-width: 820px;
}
.fb-hero .fb-stage__meta{ margin-bottom: 12px; }
.fb-hero .fb-stage__title{ margin: 0 0 12px; }
.fb-hero .fb-stage__lead{ margin: 0 0 22px; }
.fb-hero .fb-stage__cta{ gap: 12px; margin-bottom: 0; }

/* Mobile: keep it clean, swipe + dots */
@media (max-width: 720px){
  .fb-hero .fb-stage__content{
    padding: 28px;
    padding-top: calc(28px + var(--fb-header-h));
    padding-bottom: max(76px, calc(env(safe-area-inset-bottom) + 76px));
  }
}

.fb-hero__dots{
  position:absolute;
  left:0;right:0;
  bottom:max(14px, env(safe-area-inset-bottom));
  display:flex;gap:8px;justify-content:center;z-index:6;pointer-events:auto;
}
.fb-hero__dot{width:8px;height:8px;border-radius:999px;border:0;background:rgba(255,255,255,.38);cursor:pointer;pointer-events:auto;}
.fb-hero__dot.is-active{background:rgba(255,255,255,.85);}

/* Desktop hero controls (arrows) */
.fb-hero__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:7;width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(15,20,32,.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;transition:transform .18s ease, background .18s ease;}
.fb-hero__nav:hover{transform:translateY(-50%) scale(1.04);background:rgba(15,20,32,.72);}
.fb-hero__nav:active{transform:translateY(-50%) scale(.98);}
.fb-hero__prev{left:18px;}
.fb-hero__next{right:18px;}
@media (max-width: 900px){
  .fb-hero__nav{display:none;}
}


/* Cinematic overlap: first rail slightly overlays the hero */
.fb-stage--slider + .fb-rail{
  margin-top:-84px;
  padding-top:84px;
  position:relative;
  z-index:30;
}
@media(max-width:720px){
  .fb-stage--slider + .fb-rail{
    margin-top:-56px;
    padding-top:56px;
  }
}

.fb-services{margin-top:22px;}
.fb-services__grid{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:12px;}
@media(min-width:768px){.fb-services__grid{grid-template-columns:repeat(4, minmax(0,1fr));}}
@media(min-width:1100px){.fb-services__grid{grid-template-columns:repeat(6, minmax(0,1fr));}}
.fb-service{display:flex;align-items:center;gap:10px;padding:14px 14px;border-radius:18px;background:var(--fb-glass);border:1px solid rgba(255,255,255,.06);text-decoration:none;color:var(--fb-text);transition:transform .18s ease, background .18s ease;}
.fb-service:hover{transform:translateY(-1px);background:rgba(255,255,255,.08);}
.fb-service__logo{width:28px;height:28px;object-fit:contain;border-radius:8px;}
.fb-service__name{font-weight:600;font-size:14px;}

@media(max-width:640px){
  .fb-hero__viewport{height:clamp(420px,62vh,620px);}
}


/* --- 404 --- */
.fb-404-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.fb-404-search{margin-top:14px}
.fb-404-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:720px){.fb-404-grid{grid-template-columns:1fr}}
.fb-chiprow--wrap{flex-wrap:wrap;overflow:visible}

.fb-404 .fb-stage__inner{max-width:720px}

/* --- Articles --- */
.fb-articleCard{display:block;text-decoration:none;color:var(--fb-text);background:var(--fb-glass);border:1px solid rgba(255,255,255,.06);border-radius:22px;overflow:hidden;transition:transform .18s ease, background .18s ease, border-color .18s ease;}
.fb-articleCard:hover{transform:translateY(-2px);background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.10);}
.fb-articleCard__media{position:relative;aspect-ratio:16/10;background:rgba(255,255,255,.04);}
.fb-articleCard__img{width:100%;height:100%;object-fit:cover;display:block;}
.fb-articleCard__ph{width:100%;height:100%;background:linear-gradient(135deg,var(--fb-a),var(--fb-b));}
.fb-articleCard__phInner{width:100%;height:100%;display:flex;align-items:center;justify-content:center;}
.fb-articleCard__initials{font-weight:800;font-size:34px;letter-spacing:.5px;color:rgba(255,255,255,.92);text-shadow:0 10px 30px rgba(0,0,0,.35);}
.fb-articleCard__cat{position:absolute;left:12px;top:12px;padding:6px 10px;border-radius:999px;background:rgba(20,28,45,.85);border:1px solid rgba(255,255,255,.10);font-size:12px;font-weight:700;color:var(--fb-text);}
.fb-articleCard__body{padding:14px 14px 16px;}
.fb-articleCard__title{font-weight:800;font-size:16px;line-height:1.25;}
.fb-articleCard__excerpt{margin-top:6px;color:var(--fb-muted);font-size:13px;line-height:1.45;}
.fb-articleCard__tags{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap;}

/* ---- Article layout ---- */
.fb-article{margin-top:18px;}
.fb-article__hero{
  border-radius:22px;overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
  aspect-ratio:16/7;background:rgba(255,255,255,.04);
}
.fb-article__heroImg{width:100%;height:100%;object-fit:cover;display:block;}
.fb-article__tags{margin-top:20px;display:flex;gap:8px;flex-wrap:wrap;}

/* ---- Article meta bar ---- */
.fb-articleMeta{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;
  margin:14px 0 4px;font-size:13px;color:var(--fb-muted,#999);
}
.fb-articleMeta__cat{
  font-weight:700;font-size:11px;letter-spacing:.05em;text-transform:uppercase;
  color:rgba(93,169,233,.9);background:rgba(93,169,233,.12);
  border-radius:20px;padding:2px 10px;
}
.fb-articleMeta__dot{opacity:.35;}

/* ---- Article content typography ---- */
.fb-article__content{
  margin-top:16px;
  background:rgba(20,28,45,.65);
  border:1px solid rgba(255,255,255,.06);
  border-radius:22px;
  padding:clamp(20px,5vw,40px);
  font-size:16px;line-height:1.75;
  color:var(--fb-text2,rgba(255,255,255,.82));
  max-width:780px;
}

/* Headings */
.fb-article__content h2{
  font-size:clamp(18px,3vw,22px);font-weight:800;
  color:var(--fb-text,#fff);
  margin:1.6em 0 .5em;line-height:1.25;
  padding-left:14px;
  border-left:3px solid rgba(93,169,233,.7);
}
.fb-article__content h3{
  font-size:clamp(15px,2.5vw,18px);font-weight:700;
  color:var(--fb-text,#fff);
  margin:1.4em 0 .4em;line-height:1.3;
}
.fb-article__content h4{
  font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(93,169,233,.85);margin:1.2em 0 .3em;
}
.fb-article__content h2:first-child,
.fb-article__content h3:first-child{margin-top:0;}

/* Paragraphs */
.fb-article__content p{margin:0 0 1em;}
.fb-article__content p:last-child{margin-bottom:0;}

/* Links */
.fb-article__content a{
  color:rgba(93,169,233,.9);text-decoration:underline;
  text-underline-offset:3px;text-decoration-thickness:1px;
}
.fb-article__content a:hover{color:#fff;}

/* Strong / em */
.fb-article__content strong{color:var(--fb-text,#fff);font-weight:700;}
.fb-article__content em{font-style:italic;opacity:.9;}

/* Lists */
.fb-article__content ul,
.fb-article__content ol{
  margin:0 0 1em;padding-left:1.4em;
}
.fb-article__content li{margin-bottom:.35em;line-height:1.6;}
.fb-article__content ul li::marker{color:rgba(93,169,233,.7);}
.fb-article__content ol li::marker{color:rgba(93,169,233,.7);font-weight:700;}

/* Blockquote */
.fb-article__content blockquote{
  margin:1.5em 0;padding:14px 18px 14px 20px;
  border-left:4px solid rgba(93,169,233,.5);
  background:rgba(93,169,233,.07);border-radius:0 10px 10px 0;
  font-style:italic;font-size:1.05em;
  color:var(--fb-text,#fff);
}
.fb-article__content blockquote p{margin:0;}

/* Images */
.fb-article__content img{
  max-width:100%;height:auto;display:block;
  border-radius:12px;margin:1.2em auto;
  border:1px solid rgba(255,255,255,.08);
}
.fb-article__content figure{margin:1.4em 0;}
.fb-article__content figcaption{
  text-align:center;font-size:13px;color:var(--fb-muted,#999);margin-top:6px;
}

/* Inline code */
.fb-article__content code{
  font-family:ui-monospace,monospace;font-size:.88em;
  background:rgba(255,255,255,.08);border-radius:4px;padding:1px 6px;
  color:rgba(93,169,233,.9);
}
/* Code blocks */
.fb-article__content pre{
  background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.08);
  border-radius:10px;padding:16px 18px;overflow-x:auto;
  margin:1.2em 0;
}
.fb-article__content pre code{background:none;padding:0;font-size:.9em;color:inherit;}

/* Horizontal rule */
.fb-article__content hr{
  border:none;border-top:1px solid rgba(255,255,255,.1);
  margin:2em 0;
}

/* Tables */
.fb-article__content table{
  width:100%;border-collapse:collapse;margin:1.2em 0;font-size:14px;
}
.fb-article__content th{
  text-align:left;padding:8px 12px;font-weight:700;
  background:rgba(255,255,255,.06);color:var(--fb-text,#fff);
  border-bottom:2px solid rgba(255,255,255,.12);
}
.fb-article__content td{
  padding:8px 12px;border-bottom:1px solid rgba(255,255,255,.06);
  color:var(--fb-text2,rgba(255,255,255,.82));vertical-align:top;
}
.fb-article__content tr:last-child td{border-bottom:none;}

/* Shortcode grid inside articles — breathing room */
.fb-article__content .fb-grid{
  margin:1.6em -4px 1.8em;
}
.fb-article__content .fb-h3{
  font-size:17px;font-weight:700;color:var(--fb-text,#fff);
  margin-bottom:10px;
}

/* Light mode adjustments */
/* Ensure hero searchboxes align */
.fb-card.fb-hero .fb-searchbox{max-width:none;}
.fb-searchbox__icon{color:var(--fb-text);}

/* =========================================================
   CLEAN ALIGNMENT FIX – page-search & page-az
   Safe overrides (place at END of style.css)
   ========================================================= */

/* 1) Ensure header ALWAYS sits above hero */
.fb-header{
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* 2) Normalize hero stacking (never above header) */
.page-template-page-search .fb-hero,
.page-template-page-az .fb-hero{
  position: relative;
  z-index: 1;
}

/* 3) Unified hero surface (same glass + bg on both pages) */
.page-template-page-search .fb-card.fb-hero,
.page-template-page-az .fb-card.fb-hero{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.03)
  );
  border-radius: 26px;
  overflow: visible;
}

/* 4) PERFECT ALIGNMENT:
      14px spacing between text block and search box (A–Z) */
.page-template-page-az .fb-search{
  margin-top: 14px;
}

/* Safety: avoid double spacing if markup changes later */
.page-template-page-az .fb-search:first-child{
  margin-top: 0;
}

/* 5) Remove desktop header search input (keep icon only) */
@media (min-width: 721px){
  .fb-topsearch{
    display: none !important;
  }
  .fb-searchicon{
    display: inline-flex;
  }
}

/* 6) Ensure dropdowns / filters still float correctly */
.page-template-page-search .fb-filter__panel,
.page-template-page-az .fb-filter__panel{
  z-index: 1100;
}

/* 7) Prevent mobile clipping, keep desktop overflow */
@media (max-width: 720px){
  .page-template-page-search .fb-card.fb-hero,
  .page-template-page-az .fb-card.fb-hero{
    overflow: hidden;
  }
}


/* When mobile menu is open, hide header controls to avoid overlap */
.fb-mm-open .fb-searchicon{opacity:0;pointer-events:none}
.fb-mm-open .fb-topsearch{opacity:0;pointer-events:none}

/* --- Hero overlay: balanced (dark top, lighter image) --- */
.fb-stage--slider .fb-stage__overlay{
  background:
    /* Dark top band for header readability */
    linear-gradient(
      180deg,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.46) 14%,
      rgba(0,0,0,.18) 34%,
      rgba(0,0,0,.06) 52%
    ),
    /* Balanced mid-depth */
    radial-gradient(
      1200px 520px at 18% 55%,
      rgba(0,0,0,.08),
      rgba(0,0,0,.36)
    ),
    /* Soft bottom fade (keeps text readable, not heavy) */
    linear-gradient(
      180deg,
      rgba(0,0,0,.04) 0%,
      rgba(0,0,0,.26) 55%,
      rgba(0,0,0,.52) 100%
    );
}

/* --- Front page SEO section (before FAQ) --- */
.fb-front-seo{
  margin-top: clamp(34px, 5vw, 72px);
  padding: clamp(28px, 4.5vw, 56px) 0;
  border-top: 1px solid var(--fb-border, rgba(255,255,255,.10));
}

.fb-front-seo__inner{
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--fb-gutter, 18px);
}

.fb-front-seo__title{
  margin: 0 0 12px;
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: .2px;
}

.fb-front-seo__content{
  color: var(--fb-muted, rgba(255,255,255,.65));
  font-size: 15px;
  line-height: 1.65;
}

/* Headings inside RTE (user-managed) */
.fb-front-seo__content h2,
.fb-front-seo__content h3,
.fb-front-seo__content h4{
  color: var(--fb-text, rgba(255,255,255,.92));
  margin: 0 0 10px;
  letter-spacing: .2px;
}

.fb-front-seo__content h2{
  font-size: clamp(20px, 3vw, 26px);
}

.fb-front-seo__content h3{
  font-size: 18px;
  margin-top: 18px;
}

.fb-front-seo__content h4{
  font-size: 16px;
  margin-top: 16px;
}

.fb-front-seo__content p{margin: 0 0 12px;}
.fb-front-seo__content p:last-child{margin-bottom: 0;}

/* ------------------------------
   Micro interactions (Netflix-kids feel)
   ------------------------------ */

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html:focus-within{scroll-behavior:auto !important;}
  *,*::before,*::after{transition-duration:0.001ms !important;animation-duration:0.001ms !important;animation-iteration-count:1 !important;}
}

/* Focus rings (keyboard users) */
:where(a,button,input,select,textarea,[role="button"]):focus-visible{
  outline: 2px solid rgba(93,169,233,.65);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Card hover lift */
.fb-titlecard2{
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}
.fb-titlecard2:hover{
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 48px rgba(0,0,0,.34);
  border-color: rgba(255,255,255,.16);
}

/* =============================================================
   BUTTON SYSTEM — unified source of truth
   All .fb-btn variants + .woocommerce .button mapped here.
   Earlier scattered definitions are superseded by this block.
   ============================================================= */
:root{
  --btn-py:10px; --btn-px:18px; --btn-fs:14px; --btn-fw:700;
  --btn-accent-from:rgba(93,169,233,.95);
  --btn-accent-to:rgba(93,169,233,.55);
  --btn-accent-border:rgba(93,169,233,.35);
  --btn-accent-glow:rgba(93,169,233,.3);
}

/* Base */
.fb-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;
  padding:var(--btn-py) var(--btn-px);
  font-size:var(--btn-fs);font-weight:var(--btn-fw);
  line-height:1;border-radius:999px;
  border:1px solid var(--fb-border);
  background:var(--fb-surface);color:var(--fb-text);
  cursor:pointer;text-decoration:none;
  transition:transform .15s ease, filter .15s ease, opacity .15s ease, box-shadow .15s ease;
  white-space:nowrap;vertical-align:middle;
  box-sizing:border-box;
}
.fb-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover{
  opacity:.9;transform:translateY(-1px);
  box-shadow:0 4px 16px rgba(0,0,0,.22);
}

/* Primary — accent gradient */
.fb-btn.is-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .single_add_to_cart_button{
  background:linear-gradient(135deg,var(--btn-accent-from),var(--btn-accent-to));
  border-color:var(--btn-accent-border);color:#fff;font-weight:800;
}
.fb-btn.is-primary:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button:hover{
  filter:brightness(1.08);opacity:1;
  box-shadow:0 6px 24px var(--btn-accent-glow);
  transform:translateY(-1px);
}

/* Ghost */
.fb-btn.is-ghost{
  background:transparent;border-color:var(--fb-border);color:var(--fb-text);
}
.fb-btn.is-ghost:hover{
  border-color:rgba(93,169,233,.4);background:rgba(93,169,233,.07);
  transform:none;box-shadow:none;opacity:1;
}

/* Size variants */
.fb-btn.is-sm,.fb-btn.is-compact{
  --btn-py:7px;--btn-px:14px;--btn-fs:13px;
}
.fb-btn.is-lg{
  --btn-py:13px;--btn-px:26px;--btn-fs:15px;font-weight:800;
}
.fb-btn.is-full{width:100%;}

/* Disabled */
.fb-btn:disabled,.fb-btn[disabled]{opacity:.4;cursor:not-allowed;pointer-events:none;}

/* Burger menu — reset button-system styles; show/hide controlled by media query */
.fb-btn.fb-burger{
  display:none; /* hidden on desktop */
  padding:0;border:none;background:transparent;
  width:40px;height:40px;border-radius:8px;
  box-shadow:none;
}
@media(max-width:720px){
  .fb-btn.fb-burger{display:inline-flex;}
}
.fb-btn.fb-burger:hover{
  opacity:1;transform:none;box-shadow:none;
  background:rgba(255,255,255,.06);
}

/* Context: stream-tile CTA — fixed width to keep column aligned */
.fb-streamTile__cta .fb-btn{
  width:88px;white-space:normal;text-align:center;line-height:1.1;
  --btn-py:9px;--btn-px:10px;--btn-fs:13px;
}

/* Context: product actions */
.fb-product__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;}
.fb-product__actions .fb-btn,
.fb-product__actions .woocommerce a.button,
.fb-product__actions .woocommerce button.button{
  --btn-py:8px;--btn-px:14px;--btn-fs:13px;
}

/* Reveal on scroll (applied via JS) */
.fb-reveal{opacity: 0; transform: translateY(10px);}
.fb-reveal.is-inview{opacity: 1; transform: translateY(0);}
.fb-reveal{transition: opacity .28s ease, transform .28s ease;}

/* Rails feel nicer */
[data-fb-rail]{scroll-snap-type:x mandatory; -webkit-overflow-scrolling: touch;}
.fb-rail__item{scroll-snap-align:start;}

/* ---- Allente featured card ---- */
.fb-allenteCard{
  display:flex;align-items:center;gap:14px;
  padding:16px 20px;border-radius:12px;margin-bottom:12px;
  background:linear-gradient(115deg,rgba(93,169,233,.22) 0%,rgba(60,140,210,.1) 60%,rgba(93,169,233,.06) 100%);
  border:1px solid rgba(93,169,233,.35);
  box-shadow:0 2px 16px rgba(93,169,233,.1);
  text-decoration:none;color:inherit;
  transition:box-shadow .18s ease,border-color .18s ease;
}
.fb-allenteCard:hover{
  border-color:rgba(93,169,233,.6);
  box-shadow:0 4px 24px rgba(93,169,233,.2);
}
.fb-allenteCard__icon{
  width:46px;height:46px;border-radius:11px;flex-shrink:0;
  background:rgba(93,169,233,.22);
  display:flex;align-items:center;justify-content:center;
  color:rgba(93,169,233,.95);
}
.fb-allenteCard__logoImg{
  width:auto;height:28px;max-width:68px;object-fit:contain;
  border-radius:5px;
}
.fb-allenteCard__text{
  flex:1;min-width:0;
}
.fb-allenteCard__title{
  font-size:16px;font-weight:800;letter-spacing:.01em;
  color:var(--fb-text,#fff);line-height:1.2;
}
.fb-allenteCard__sub{
  font-size:12px;color:rgba(93,169,233,.85);margin-top:3px;line-height:1.4;
}
.fb-allenteCard__cta{
  flex-shrink:0;
  pointer-events:none; /* parent <a> handles the click */
}
@media(max-width:440px){
  .fb-allenteCard{flex-wrap:wrap;}
  .fb-allenteCard__cta{width:100%;}
}

/* Direct tile subtle hint when Allente covers the service */
.fb-streamTile.is-allente-covered{opacity:.65;}
.fb-streamTile.is-allente-covered:hover{opacity:1;}

/* Spacing modifier when Allente card precedes the grid */
.fb-streamGrid--hasAllente{margin-top:4px;}


/* =============================================================
   SHOP PAGE — /shop archive + product cards
   ============================================================= */

/* Page wrapper */
.fb-shopPage{padding-top:0;}

/* ---- Hero: title + category pills ---- */
.fb-shopHero{
  padding:28px 0 22px;
  border-bottom:1px solid var(--fb-border);
  margin-bottom:22px;
}
.fb-shopHero__inner{margin-bottom:18px;}
.fb-shopHero__title{
  font-size:clamp(22px,3.5vw,36px);font-weight:800;
  margin:0 0 8px;letter-spacing:-.01em;
}
.fb-shopHero__sub{
  color:var(--fb-muted);font-size:15px;line-height:1.65;
  margin:0;max-width:580px;
}

/* Category pill strip */
.fb-shopCats{
  display:flex;gap:8px;flex-wrap:wrap;align-items:center;
}
.fb-shopCats__item{
  display:inline-flex;align-items:center;gap:5px;
  padding:7px 16px;border-radius:999px;
  border:1px solid var(--fb-border);
  background:var(--fb-surface);
  color:var(--fb-text);text-decoration:none;
  font-size:13px;font-weight:600;white-space:nowrap;
  transition:border-color .15s ease, background .15s ease, color .15s ease;
}
.fb-shopCats__item:hover{
  border-color:rgba(93,169,233,.4);
  background:rgba(93,169,233,.08);
  color:var(--fb-text);
}
.fb-shopCats__item.is-active{
  background:linear-gradient(135deg,rgba(93,169,233,.3),rgba(93,169,233,.14));
  border-color:rgba(93,169,233,.55);color:#fff;
}
.fb-shopCats__count{font-size:11px;opacity:.55;font-weight:400;}

/* ---- Topbar: result count + sorting ---- */
.fb-shopTopbar{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin-bottom:18px;
  font-size:13px;color:var(--fb-muted);
}
.fb-shopTopbar .woocommerce-result-count{margin:0;}
.fb-shopTopbar .woocommerce-ordering{margin:0;}
.fb-shopTopbar .woocommerce-ordering select,
.fb-shopTopbar select{
  background:var(--fb-surface);
  border:1px solid var(--fb-border);
  border-radius:999px;
  color:var(--fb-text);
  font-size:13px;
  padding:7px 30px 7px 14px;
  cursor:pointer;outline:none;
  -webkit-appearance:none;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;
}

/* ---- Product card ---- */
.fb-shopCard{
  display:flex;flex-direction:column;
  background:var(--fb-surface);
  border:1px solid var(--fb-border);
  border-radius:14px;overflow:hidden;
  height:100%;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.fb-shopCard:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 48px rgba(0,0,0,.32);
  border-color:rgba(255,255,255,.14);
}
.fb-shopCard__media{
  display:block;position:relative;
  aspect-ratio:1/1;overflow:hidden;
  background:rgba(255,255,255,.04);flex-shrink:0;
}
.fb-shopCard__img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .32s ease;
}
.fb-shopCard:hover .fb-shopCard__img{transform:scale(1.05);}
.fb-shopCard__img--ph{
  width:100%;height:100%;
  background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
}
.fb-shopCard__saleBadge{
  position:absolute;top:10px;right:10px;
  background:#ef4444;color:#fff;
  font-size:10px;font-weight:800;
  padding:3px 9px;border-radius:999px;
  letter-spacing:.06em;text-transform:uppercase;
  pointer-events:none;
}
.fb-shopCard__body{
  padding:12px 14px 14px;
  display:flex;flex-direction:column;flex:1;gap:3px;
}
.fb-shopCard__cat{
  font-size:10px;font-weight:700;letter-spacing:.07em;
  text-transform:uppercase;color:var(--fb-muted);
}
.fb-shopCard__title{
  font-size:14px;font-weight:700;line-height:1.3;margin:0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.fb-shopCard__title a{color:inherit;text-decoration:none;}
.fb-shopCard__footer{
  margin-top:auto;padding-top:12px;
  display:flex;align-items:center;
  justify-content:space-between;gap:10px;flex-wrap:wrap;
}
.fb-shopCard__price{font-size:14px;font-weight:700;line-height:1.2;}
.fb-shopCard__price del{opacity:.5;font-weight:400;margin-right:3px;}
.fb-shopCard__price ins{text-decoration:none;}
.fb-shopCard__cta{flex-shrink:0;}

/* ---- Pagination ---- */
.fb-shopPagination{
  margin-top:32px;
  display:flex;justify-content:center;
}
.fb-shopPagination .woocommerce-pagination ul{
  display:flex;gap:6px;flex-wrap:wrap;justify-content:center;
  list-style:none;padding:0;margin:0;
}
.fb-shopPagination .woocommerce-pagination ul li{display:block;}
.fb-shopPagination .woocommerce-pagination ul li a,
.fb-shopPagination .woocommerce-pagination ul li span{
  display:flex;align-items:center;justify-content:center;
  min-width:36px;height:36px;padding:0 10px;
  border-radius:999px;border:1px solid var(--fb-border);
  font-size:13px;font-weight:600;text-decoration:none;
  color:var(--fb-text);background:var(--fb-surface);
  transition:border-color .15s ease, background .15s ease;
}
.fb-shopPagination .woocommerce-pagination ul li a:hover{
  border-color:rgba(93,169,233,.4);background:rgba(93,169,233,.08);
}
.fb-shopPagination .woocommerce-pagination ul li span.current{
  background:linear-gradient(135deg,rgba(93,169,233,.9),rgba(93,169,233,.5));
  border-color:rgba(93,169,233,.55);color:#fff;
}

/* ---- Responsive ---- */
@media(max-width:640px){
  .fb-shopHero{padding:20px 0 16px;}
  .fb-shopHero__title{font-size:20px;}
  .fb-shopTopbar{flex-wrap:wrap;gap:8px;}
  .fb-shopCard__footer{flex-direction:column;align-items:flex-start;gap:8px;}
  .fb-shopCard__cta{width:100%;}
  .fb-shopCard__cta.fb-btn{width:100%;}
}


/* =============================================================
   SERVICE LANDING PAGE — /tjeneste/{slug}/
   ============================================================= */

.fb-svcPage__hero{
  display:flex;align-items:center;gap:20px;flex-wrap:wrap;
  padding:24px 0 20px;border-bottom:1px solid rgba(255,255,255,.08);
  margin-bottom:20px;
}
.fb-svcPage__logoWrap{
  width:80px;height:80px;border-radius:14px;flex-shrink:0;
  background:rgba(255,255,255,.07);display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.fb-svcPage__logo{width:72px;height:72px;object-fit:contain;}
.fb-svcPage__heroBody{flex:1;min-width:0;}
.fb-svcPage__title{font-size:clamp(20px,4vw,28px);font-weight:800;margin:0 0 4px;}
.fb-svcPage__badge{
  display:inline-block;font-size:12px;font-weight:600;
  background:rgba(93,169,233,.15);color:rgba(93,169,233,.9);
  border-radius:20px;padding:2px 10px;margin-bottom:4px;
}
.fb-svcPage__count,.fb-svcPage__titleCount{font-size:13px;color:var(--fb-muted,#999);}
.fb-svcPage__titleCount{margin-left:6px;font-weight:400;}
.fb-svcPage__desc{margin:0 0 24px;font-size:15px;line-height:1.7;}

/* Shortcode grid inside post content */
.entry-content .fb-grid,.post-content .fb-grid{margin-top:16px;margin-bottom:24px;}
