/* WC Flipbook Catalog V6 */
.wcfb-wrap{--book-paper:#f7f2e8;--ink:#071426;position:relative;padding:38px 24px 56px 270px;border-radius:0;overflow:visible;background:radial-gradient(circle at 92% 8%,rgba(212,166,63,.34),transparent 28%),radial-gradient(circle at 12% 92%,rgba(255,255,255,.10),transparent 25%),linear-gradient(135deg,#070b12,var(--wcfb-primary));color:var(--ink);font-family:Inter,Arial,Helvetica,sans-serif}.wcfb-wrap *{box-sizing:border-box}.wcfb-topbar{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:24px;color:#fff;flex-wrap:wrap}.wcfb-topbar button{border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.09);color:#fff;padding:13px 18px;font-weight:900;cursor:pointer;transition:.22s;box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}.wcfb-topbar button:hover{background:var(--wcfb-accent);color:var(--wcfb-primary);transform:translateY(-1px)}.wcfb-topbar button:disabled{opacity:.35;cursor:not-allowed}.wcfb-home,.wcfb-index,.wcfb-print{background:rgba(212,166,63,.16)!important}.wcfb-search{display:flex;align-items:center;gap:8px;color:#fff;font-size:12px;text-transform:uppercase;font-weight:900;letter-spacing:.08em}.wcfb-search input{min-height:42px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.1);color:#fff;padding:0 15px;outline:none}.wcfb-search input::placeholder{color:rgba(255,255,255,.55)}.wcfb-counter{min-width:90px;text-align:center;color:rgba(255,255,255,.82);font-weight:900}.wcfb-stage{max-width:1180px;min-height:740px;margin:0 auto;perspective:1800px}.wcfb-page{display:none;min-height:740px;border-radius:26px;background:var(--book-paper);box-shadow:0 35px 95px rgba(0,0,0,.38);padding:38px;overflow:hidden;animation:wcfbFlip .38s ease}.wcfb-page.is-active{display:block}@keyframes wcfbFlip{from{opacity:.25;transform:rotateY(-12deg) translateY(10px);transform-origin:left center}to{opacity:1;transform:rotateY(0) translateY(0)}}.wcfb-kicker{letter-spacing:.28em;text-transform:uppercase;color:var(--wcfb-accent);font-size:12px;font-weight:950;margin:0 0 18px}.wcfb-cover,.wcfb-category-divider,.wcfb-back-cover{padding:0;background:var(--wcfb-primary);color:#fff}.wcfb-cover-inner,.wcfb-divider-inner,.wcfb-back-inner{min-height:740px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:70px;background-size:cover;background-position:center}.wcfb-logo{max-width:360px;max-height:150px;object-fit:contain;margin-bottom:34px;filter:drop-shadow(0 16px 28px rgba(0,0,0,.35))}.wcfb-cover h1{max-width:900px;margin:0 0 20px;color:#fff;font-size:clamp(54px,8vw,108px);line-height:.9;letter-spacing:-.08em}.wcfb-cover h2{max-width:780px;margin:0 0 22px;color:var(--wcfb-accent);font-size:clamp(23px,3vw,42px);line-height:1.08}.wcfb-cover p,.wcfb-category-divider p,.wcfb-back-cover p{max-width:680px;color:rgba(255,255,255,.76);font-size:20px;line-height:1.65}.wcfb-edition{margin-top:38px;border-top:4px solid var(--wcfb-accent);padding-top:18px;font-weight:950;letter-spacing:.18em;text-transform:uppercase}.wcfb-page-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid rgba(7,20,38,.12);margin-bottom:30px;padding-bottom:18px;text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:950;color:var(--wcfb-primary)}.wcfb-page-head strong{color:var(--wcfb-accent)}.wcfb-toc{display:grid;gap:14px;padding:20px 0}.wcfb-toc a{display:grid;grid-template-columns:70px 1fr auto;gap:18px;align-items:center;padding:20px 22px;border-radius:18px;background:#fff;color:var(--wcfb-primary)!important;text-decoration:none!important;box-shadow:0 15px 38px rgba(7,20,38,.08);border:1px solid rgba(7,20,38,.08)}.wcfb-toc a:hover{transform:translateX(8px)}.wcfb-toc span{color:var(--wcfb-accent);font-size:26px;font-weight:950}.wcfb-toc strong{font-size:24px}.wcfb-toc em{font-style:normal;color:#657083;font-weight:800}.wcfb-divider-inner h2,.wcfb-back-inner h2{max-width:900px;margin:0 0 24px;color:#fff;font-size:clamp(52px,8vw,104px);line-height:.92;letter-spacing:-.08em}.wcfb-light-btn{display:inline-flex;margin-top:28px;min-height:50px;align-items:center;justify-content:center;border:0;border-radius:999px;background:var(--wcfb-accent);color:var(--wcfb-primary)!important;text-decoration:none!important;font-weight:950;padding:0 26px;cursor:pointer}.wcfb-products{display:grid;gap:24px}.wcfb-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.wcfb-grid-4{grid-template-columns:repeat(2,minmax(0,1fr));position:relative}.wcfb-grid-4.wcfb-double-spread:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;background:linear-gradient(transparent,rgba(7,20,38,.25),transparent);box-shadow:0 0 18px rgba(0,0,0,.12);z-index:2}.wcfb-product{display:grid;grid-template-rows:300px 1fr;background:#fff;border-radius:24px;overflow:hidden;border:1px solid rgba(7,20,38,.08);box-shadow:0 20px 45px rgba(7,20,38,.09)}.wcfb-grid-4 .wcfb-product{grid-template-rows:190px 1fr}.wcfb-product-img{background:#fff;overflow:hidden}.wcfb-product-img img{width:100%;height:100%;object-fit:contain;display:block;transition:.35s}.wcfb-product:hover img{transform:scale(1.045)}.wcfb-product-copy{padding:24px}.wcfb-grid-4 .wcfb-product-copy{padding:18px}.wcfb-row{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px;color:#6b7587;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.wcfb-row strong{color:var(--wcfb-primary);font-size:15px;letter-spacing:0;text-transform:none}.wcfb-product h3{font-size:clamp(20px,2vw,30px);line-height:1.05;margin:0 0 14px;color:var(--wcfb-primary);letter-spacing:-.04em}.wcfb-grid-4 .wcfb-product h3{font-size:20px}.wcfb-product p{font-size:15px;line-height:1.55;color:#2c3b51;margin:0 0 22px}.wcfb-grid-4 .wcfb-product p{font-size:14px}.wcfb-actions{display:flex;gap:10px;flex-wrap:wrap}.wcfb-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:999px;background:var(--wcfb-primary);color:#fff!important;text-decoration:none!important;font-weight:950;font-size:13px;padding:0 16px}.wcfb-actions a:nth-child(2){background:var(--wcfb-accent);color:var(--wcfb-primary)!important}.wcfb-side-tabs{position:sticky;left:18px;top:28px;z-index:10;width:225px;display:flex;flex-direction:column;gap:10px;float:left;margin-left:-252px;max-height:calc(100vh - 56px);overflow:auto;padding-right:4px}.wcfb-side-tabs a,.wcfb-side-tabs button{width:225px;min-height:46px;border-radius:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);color:#fff!important;text-decoration:none!important;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;backdrop-filter:blur(12px);box-shadow:0 14px 32px rgba(0,0,0,.14);transition:.22s;text-align:left;cursor:pointer}.wcfb-side-tabs .wcfb-tab-icon{flex:0 0 auto;width:26px;height:26px;border-radius:999px;background:var(--tab-accent,var(--wcfb-accent));color:var(--wcfb-primary);display:inline-flex;align-items:center;justify-content:center;margin-right:11px;font-size:14px;font-weight:950;box-shadow:0 0 14px var(--tab-accent,var(--wcfb-accent))}.wcfb-side-tabs a span:last-child,.wcfb-side-tabs button span:last-child{white-space:normal;overflow:visible;text-overflow:clip;text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:950;line-height:1.25}.wcfb-side-tabs a:hover,.wcfb-side-tabs button:hover,.wcfb-side-tabs a.is-current,.wcfb-side-tabs button.is-current{background:var(--tab-accent,var(--wcfb-accent));color:var(--wcfb-primary)!important;transform:translateX(6px)}.wcfb-side-tabs a:hover .wcfb-tab-icon,.wcfb-side-tabs button:hover .wcfb-tab-icon,.wcfb-side-tabs a.is-current .wcfb-tab-icon,.wcfb-side-tabs button.is-current .wcfb-tab-icon{background:var(--wcfb-primary);color:#fff;box-shadow:none}.wcfb-square-ad{background:linear-gradient(135deg,var(--wcfb-primary),#111827);color:#fff}.wcfb-square-ad .wcfb-product-img img{width:100%;height:100%;object-fit:cover;object-position:center}.wcfb-square-ad .wcfb-product-img{background:var(--wcfb-primary)}.wcfb-square-ad .wcfb-product-copy{background:transparent}.wcfb-square-ad h3,.wcfb-square-ad p{color:#fff}.wcfb-square-ad .wcfb-row{color:var(--wcfb-accent)}.wcfb-square-ad-link{display:contents;color:inherit;text-decoration:none}.wcfb-half-ad{grid-column:span 2}.wcfb-ad-badge{display:inline-flex;background:var(--wcfb-accent);color:var(--wcfb-primary);border-radius:999px;font-weight:950;font-size:12px;padding:8px 12px}.wcfb-ad-page{padding:0;background:#fff}.wcfb-ad-inner{min-height:740px;display:grid;grid-template-columns:1.2fr .8fr}.wcfb-ad-inner>a{display:contents;color:inherit;text-decoration:none}.wcfb-ad-inner img{width:100%;height:740px;object-fit:cover;object-position:center}.wcfb-ad-copy{display:flex;flex-direction:column;justify-content:center;padding:54px;background:var(--wcfb-primary);color:#fff}.wcfb-ad-copy h2{font-size:54px;line-height:.95;letter-spacing:-.06em;margin:0 0 18px;color:#fff}.wcfb-ad-copy div{color:rgba(255,255,255,.76);font-size:18px;line-height:1.6}.wcfb-supplier-page{background:#fff;display:none;place-items:center;text-align:center}.wcfb-supplier-page.is-active{display:grid}.wcfb-supplier-inner{max-width:760px}.wcfb-supplier-inner img{max-width:220px;max-height:120px;object-fit:contain;margin-bottom:28px}.wcfb-supplier-inner h2{font-size:60px;line-height:.95;letter-spacing:-.06em;color:var(--wcfb-primary);margin:0 0 20px}.wcfb-supplier-inner div{font-size:18px;line-height:1.65;color:#33445c}.wcfb-back-grid{display:grid;grid-template-columns:1fr auto;gap:26px;align-items:end}.wcfb-contact{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}.wcfb-contact a{display:inline-flex;align-items:center;min-height:48px;border-radius:999px;background:var(--wcfb-accent);color:var(--wcfb-primary)!important;text-decoration:none!important;font-weight:950;padding:0 22px}.wcfb-qr{background:#fff;padding:14px;border-radius:18px;text-align:center;color:var(--wcfb-primary);font-weight:950}.wcfb-qr img{display:block;width:160px;height:160px}.wcfb-no-results{padding:18px;background:#fff;border-radius:18px;text-align:center;font-weight:900;color:var(--wcfb-primary)}@media(max-width:1100px){.wcfb-wrap{padding-left:240px}.wcfb-side-tabs{width:200px;margin-left:-222px}.wcfb-side-tabs a,.wcfb-side-tabs button{width:200px}}@media(max-width:980px){.wcfb-wrap{padding:24px 14px 36px}.wcfb-side-tabs{position:static;float:none;margin:0 0 18px;width:auto;flex-direction:row;overflow:auto;max-height:none}.wcfb-side-tabs a,.wcfb-side-tabs button{width:auto;min-width:160px;min-height:46px;border-radius:999px;padding:0 18px;white-space:nowrap}.wcfb-stage,.wcfb-page,.wcfb-cover-inner,.wcfb-divider-inner,.wcfb-back-inner{min-height:auto}.wcfb-page{padding:22px}.wcfb-cover-inner,.wcfb-divider-inner,.wcfb-back-inner{padding:48px 26px}.wcfb-grid-2,.wcfb-grid-4{grid-template-columns:1fr}.wcfb-grid-4.wcfb-double-spread:before{display:none}.wcfb-toc a{grid-template-columns:44px 1fr}.wcfb-toc em{grid-column:2}.wcfb-ad-inner{grid-template-columns:1fr}.wcfb-ad-inner img{height:320px}.wcfb-product{grid-template-rows:240px 1fr}.wcfb-half-ad{grid-column:auto}.wcfb-back-grid{grid-template-columns:1fr}.wcfb-topbar{justify-content:flex-start}}@media print{body *{visibility:hidden}.wcfb-wrap,.wcfb-wrap *{visibility:visible}.wcfb-wrap{position:absolute;left:0;top:0;width:100%;padding:0;background:#fff}.wcfb-topbar,.wcfb-side-tabs{display:none!important}.wcfb-page{display:block!important;box-shadow:none;page-break-after:always;border-radius:0;min-height:100vh}.wcfb-stage{max-width:none}.wcfb-cover,.wcfb-category-divider,.wcfb-back-cover{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* V6.0.1 Mobile navigation fix */
@media(max-width: 780px){
  .wcfb-wrap{
    padding: 14px 10px 92px !important;
    overflow: hidden;
  }

  .wcfb-topbar{
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    margin: 0 -10px 14px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(7,11,18,.96), rgba(7,11,18,.82));
    backdrop-filter: blur(14px);
  }

  .wcfb-topbar .wcfb-home,
  .wcfb-topbar .wcfb-index,
  .wcfb-topbar .wcfb-print,
  .wcfb-topbar .wcfb-search{
    display: none !important;
  }

  .wcfb-topbar .wcfb-prev{
    grid-column: 1;
    width: 100%;
    padding: 11px 12px;
    font-size: 13px;
  }

  .wcfb-topbar .wcfb-counter{
    grid-column: 2;
    min-width: 68px;
    align-self: center;
    font-size: 14px;
  }

  .wcfb-topbar .wcfb-next{
    grid-column: 3;
    width: 100%;
    padding: 11px 12px;
    font-size: 13px;
  }

  .wcfb-side-tabs{
    position: sticky !important;
    top: 58px !important;
    z-index: 49;
    float: none !important;
    margin: 0 -10px 12px !important;
    width: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 8px 10px 10px !important;
    background: linear-gradient(180deg, rgba(7,11,18,.88), rgba(7,11,18,.62));
    backdrop-filter: blur(14px);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .wcfb-side-tabs::-webkit-scrollbar{
    display: none;
  }

  .wcfb-side-tabs a,
  .wcfb-side-tabs button{
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: auto !important;
    max-width: 220px;
    min-height: 42px !important;
    border-radius: 999px !important;
    padding: 0 14px !important;
    transform: none !important;
    scroll-snap-align: start;
  }

  .wcfb-side-tabs a span:last-child,
  .wcfb-side-tabs button span:last-child{
    white-space: nowrap !important;
    overflow: visible !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .wcfb-side-tabs .wcfb-tab-icon{
    width: 22px !important;
    height: 22px !important;
    margin-right: 8px !important;
    font-size: 12px !important;
  }

  .wcfb-page{
    border-radius: 22px !important;
    padding: 18px !important;
  }

  .wcfb-cover-inner,
  .wcfb-divider-inner,
  .wcfb-back-inner{
    padding: 36px 22px !important;
    min-height: 620px !important;
  }

  .wcfb-product{
    border-radius: 20px !important;
  }

  .wcfb-product-copy{
    padding: 18px !important;
  }

  .wcfb-page-head{
    gap: 12px;
    align-items: flex-start;
  }

  .wcfb-page-head span,
  .wcfb-page-head strong{
    font-size: 11px;
    letter-spacing: .12em;
  }

  .wcfb-cover h1,
  .wcfb-divider-inner h2,
  .wcfb-back-inner h2{
    font-size: clamp(42px, 13vw, 64px) !important;
  }
}

/* Bottom mobile quick actions */
@media(max-width: 780px){
  .wcfb-wrap:after{
    content: "⌂ Cover     ☰ Index     ⇩ PDF";
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 999;
    min-height: 52px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: var(--wcfb-primary);
    box-shadow: 0 16px 40px rgba(0,0,0,.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    letter-spacing: .02em;
    pointer-events: none;
  }
}

@media(max-width:780px){
  .wcfb-wrap:after{display:none!important;}
  .wcfb-mobile-nav{
    position:fixed;
    left:12px;
    right:12px;
    bottom:12px;
    z-index:9999;
    min-height:54px;
    border-radius:999px;
    background:rgba(255,255,255,.9);
    box-shadow:0 16px 40px rgba(0,0,0,.28);
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    padding:6px;
    backdrop-filter:blur(16px);
  }
  .wcfb-mobile-nav button{
    border:0;
    border-radius:999px;
    background:transparent;
    color:var(--wcfb-primary);
    font-weight:950;
    font-size:13px;
  }
  .wcfb-mobile-nav button:active{
    background:var(--wcfb-accent);
  }
}
@media(min-width:781px){
  .wcfb-mobile-nav{display:none!important;}
}


/* V6.2 Mobile App Navigation Overhaul */
@media(max-width: 780px){
  html body{
    overflow-x:hidden;
  }

  .wcfb-wrap{
    padding: 0 10px 86px !important;
    overflow: hidden !important;
    min-height: 100vh;
  }

  /* Remove the old horizontal category strip from the top */
  .wcfb-side-tabs{
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: 78px !important;
    z-index: 9998 !important;
    width: auto !important;
    max-height: 52vh !important;
    margin: 0 !important;
    padding: 14px !important;
    display: none !important;
    flex-direction: column !important;
    gap: 8px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: rgba(8,13,22,.96) !important;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px !important;
    box-shadow: 0 22px 70px rgba(0,0,0,.48);
    backdrop-filter: blur(18px);
  }

  .wcfb-wrap.is-cats-open .wcfb-side-tabs{
    display: flex !important;
  }

  .wcfb-side-tabs:before{
    content:"Catalogue Menu";
    color:#fff;
    font-weight:950;
    font-size:13px;
    letter-spacing:.12em;
    text-transform:uppercase;
    padding: 4px 4px 10px;
    opacity:.76;
  }

  .wcfb-side-tabs a,
  .wcfb-side-tabs button{
    width: 100% !important;
    min-height: 48px !important;
    max-width: none !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.08) !important;
    transform: none !important;
    padding: 0 14px !important;
  }

  .wcfb-side-tabs a span:last-child,
  .wcfb-side-tabs button span:last-child{
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-align:left;
  }

  /* Top bar: only previous, counter, next */
  .wcfb-topbar{
    position: sticky !important;
    top: 0 !important;
    z-index: 900 !important;
    display: grid !important;
    grid-template-columns: 1fr 72px 1fr !important;
    gap: 10px !important;
    margin: 0 -10px 14px !important;
    padding: 12px 10px !important;
    background: linear-gradient(180deg, rgba(7,11,18,.97), rgba(7,11,18,.78)) !important;
    backdrop-filter: blur(16px);
  }

  .wcfb-topbar .wcfb-home,
  .wcfb-topbar .wcfb-index,
  .wcfb-topbar .wcfb-print,
  .wcfb-topbar .wcfb-search,
  .wcfb-topbar .wcfb-mobile-cats-toggle{
    display:none !important;
  }

  .wcfb-topbar .wcfb-prev,
  .wcfb-topbar .wcfb-next{
    min-height: 48px !important;
    width: 100%;
    border-radius: 18px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }

  .wcfb-topbar .wcfb-prev{
    grid-column: 1;
  }

  .wcfb-topbar .wcfb-counter{
    grid-column: 2;
    align-self: center;
    justify-self: center;
    min-width: 72px;
    font-size: 14px;
  }

  .wcfb-topbar .wcfb-next{
    grid-column: 3;
  }

  /* Bottom nav becomes compact app toolbar */
  .wcfb-mobile-nav{
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    z-index: 9999 !important;
    min-height: 58px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 18px 48px rgba(0,0,0,.34) !important;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 4px !important;
    padding: 6px !important;
    backdrop-filter: blur(18px);
  }

  .wcfb-mobile-nav button{
    border: 0 !important;
    border-radius: 16px !important;
    background: transparent !important;
    color: var(--wcfb-primary) !important;
    font-weight: 950 !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    padding: 4px 2px !important;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
  }

  .wcfb-mobile-nav button:before{
    display:block;
    font-size:17px;
    line-height:1;
  }

  .wcfb-mobile-nav button[data-action="cover"]:before{content:"⌂";}
  .wcfb-mobile-nav button[data-action="index"]:before{content:"☰";}
  .wcfb-mobile-nav button[data-action="cats"]:before{content:"▦";}
  .wcfb-mobile-nav button[data-action="search"]:before{content:"⌕";}
  .wcfb-mobile-nav button[data-action="print"]:before{content:"⇩";}

  .wcfb-mobile-nav button.is-active,
  .wcfb-mobile-nav button:active{
    background: var(--wcfb-accent) !important;
    color: var(--wcfb-primary) !important;
  }

  /* Mobile search panel */
  .wcfb-mobile-search-panel{
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 78px;
    z-index: 9998;
    display:none;
    padding: 14px;
    border-radius: 22px;
    background: rgba(8,13,22,.96);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 22px 70px rgba(0,0,0,.48);
    backdrop-filter: blur(18px);
  }

  .wcfb-wrap.is-search-open .wcfb-mobile-search-panel{
    display:block;
  }

  .wcfb-mobile-search-panel label{
    display:block;
    color:#fff;
    font-size:12px;
    font-weight:950;
    letter-spacing:.1em;
    text-transform:uppercase;
    margin-bottom:10px;
  }

  .wcfb-mobile-search-panel input{
    width:100%;
    min-height:48px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.08);
    color:#fff;
    padding:0 14px;
    outline:none;
    font-size:16px;
  }

  .wcfb-stage{
    min-height: auto !important;
  }

  .wcfb-page{
    border-radius: 24px !important;
    padding: 18px !important;
    min-height: auto !important;
  }

  .wcfb-cover-inner,
  .wcfb-divider-inner,
  .wcfb-back-inner{
    min-height: calc(100vh - 168px) !important;
    padding: 34px 22px !important;
    border-radius: 22px;
  }

  .wcfb-logo{
    max-width: 86% !important;
    height:auto !important;
  }

  .wcfb-cover h1{
    font-size: clamp(44px, 14vw, 70px) !important;
    line-height: .92 !important;
  }

  .wcfb-cover h2{
    font-size: clamp(22px, 6vw, 34px) !important;
  }

  .wcfb-cover p,
  .wcfb-category-divider p,
  .wcfb-back-cover p{
    font-size: 17px !important;
    line-height: 1.55 !important;
  }
}


/* V6.3 fullscreen + ad builder polish */
.wcfb-fullscreen{background:rgba(255,255,255,.09)!important}
.wcfb-wrap.is-fullscreen{position:fixed!important;inset:0!important;z-index:999999!important;overflow:auto!important;border-radius:0!important;padding-top:24px!important}
body.wcfb-fullscreen-active{overflow:hidden!important}
.wcfb-wrap.is-fullscreen .wcfb-stage{max-width:1280px}

@media(max-width:780px){
  .wcfb-topbar .wcfb-fullscreen{display:none!important}
}

.wcfb-ad-builder-panel{margin-top:16px}
.wcfb-placement-preview{max-width:430px;display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px;padding:14px;border:1px dashed #b8c0cc;border-radius:16px;background:#f6f7f7}
.wcfb-preview-slot{min-height:86px;border-radius:12px;background:#fff;border:1px solid #dcdcde;display:flex;align-items:center;justify-content:center;font-weight:900;color:#1d2327}
.wcfb-preview-slot.is-selected{background:#071426;color:#fff;border-color:#071426;box-shadow:0 8px 22px rgba(7,20,38,.18)}
.wcfb-preview-slot.is-half{grid-column:span 2;background:#d4a63f;color:#071426;border-color:#d4a63f}
.wcfb-preview-slot.is-muted{opacity:.28}


/* V6.4 fixes */

/* Remove desktop/bottom raw search display issue */
.wcfb-wrap > .wcfb-search,
.wcfb-stage + .wcfb-search,
.wcfb-wrap > label.wcfb-search{
  display:none !important;
}

/* Better fullscreen layout: sidebar no longer covers catalogue */
.wcfb-wrap.is-fullscreen{
  padding-left: 300px !important;
  padding-right: 28px !important;
  padding-bottom: 40px !important;
}

.wcfb-wrap.is-fullscreen .wcfb-side-tabs{
  position: fixed !important;
  left: 24px !important;
  top: 96px !important;
  margin-left: 0 !important;
  float: none !important;
  z-index: 999999 !important;
}

.wcfb-wrap.is-fullscreen .wcfb-topbar{
  position: sticky !important;
  top: 0 !important;
  z-index: 999998 !important;
  margin-left: 0 !important;
}

.wcfb-wrap.is-fullscreen .wcfb-stage{
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Desktop search stays inside topbar only */
.wcfb-topbar .wcfb-search{
  display:flex !important;
}

/* Mobile keeps the clean app navigation */
@media(max-width:780px){
  .wcfb-wrap.is-fullscreen{
    padding: 0 10px 86px !important;
  }

  .wcfb-wrap.is-fullscreen .wcfb-side-tabs{
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: 78px !important;
    width: auto !important;
  }

  .wcfb-topbar .wcfb-search{
    display:none !important;
  }
}


/* V6.5 - Remove duplicate/bottom search */
.wcfb-wrap > .wcfb-search,
.wcfb-stage ~ .wcfb-search,
.wcfb-wrap label.wcfb-search,
.wcfb-mobile-nav button[data-action="search"],
.wcfb-mobile-search-panel{
  display:none !important;
}

/* Mobile nav now has 4 items */
@media(max-width:780px){
  .wcfb-mobile-nav{
    grid-template-columns:repeat(4,1fr) !important;
  }
}

/* V6.5 featured section */
.wcfb-featured-divider .wcfb-divider-inner{
  background:
    radial-gradient(circle at 80% 20%, rgba(212,166,63,.34), transparent 32%),
    linear-gradient(135deg, var(--wcfb-primary), #111827);
}

.wcfb-featured-count{
  color: var(--wcfb-accent) !important;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:14px!important;
}

.wcfb-cover-cta{
  margin-top: 26px;
}

.wcfb-featured-toc{
  border-color: rgba(212,166,63,.38)!important;
  box-shadow: 0 18px 48px rgba(212,166,63,.14)!important;
}

.wcfb-product h3{
  min-height: 2.1em;
}

.wcfb-product-copy p{
  min-height: 3.1em;
}


/* V6.6 PDF / Print Design Fix
   This keeps the catalogue design instead of browser default white pages. */
@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html,
  body {
    width: 210mm !important;
    min-height: 297mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #071426 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body * {
    visibility: hidden !important;
  }

  .wcfb-wrap,
  .wcfb-wrap * {
    visibility: visible !important;
  }

  .wcfb-wrap {
    position: static !important;
    width: 210mm !important;
    min-height: 297mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #071426 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    color: var(--ink) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .wcfb-topbar,
  .wcfb-side-tabs,
  .wcfb-mobile-nav,
  .wcfb-mobile-search-panel,
  .wcfb-no-results {
    display: none !important;
    visibility: hidden !important;
  }

  .wcfb-stage {
    width: 210mm !important;
    max-width: 210mm !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    perspective: none !important;
    background: #071426 !important;
  }

  .wcfb-page {
    display: block !important;
    width: 210mm !important;
    min-height: 297mm !important;
    height: 297mm !important;
    margin: 0 !important;
    padding: 16mm !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    page-break-after: always !important;
    break-after: page !important;
    overflow: hidden !important;
    animation: none !important;
    background: var(--book-paper) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .wcfb-cover,
  .wcfb-category-divider,
  .wcfb-back-cover {
    padding: 0 !important;
    background: var(--wcfb-primary) !important;
    color: #fff !important;
  }

  .wcfb-cover-inner,
  .wcfb-divider-inner,
  .wcfb-back-inner {
    width: 100% !important;
    height: 297mm !important;
    min-height: 297mm !important;
    margin: -16mm !important;
    padding: 28mm 24mm !important;
    border-radius: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .wcfb-cover h1,
  .wcfb-divider-inner h2,
  .wcfb-back-inner h2 {
    color: #fff !important;
    font-size: 50pt !important;
    line-height: .92 !important;
    letter-spacing: -0.06em !important;
  }

  .wcfb-cover h2 {
    color: var(--wcfb-accent) !important;
    font-size: 24pt !important;
    line-height: 1.1 !important;
  }

  .wcfb-cover p,
  .wcfb-category-divider p,
  .wcfb-back-cover p {
    color: rgba(255,255,255,.82) !important;
    font-size: 14pt !important;
    line-height: 1.55 !important;
  }

  .wcfb-kicker,
  .wcfb-edition {
    color: var(--wcfb-accent) !important;
    letter-spacing: .22em !important;
  }

  .wcfb-logo {
    max-width: 110mm !important;
    max-height: 42mm !important;
    object-fit: contain !important;
  }

  .wcfb-light-btn,
  .wcfb-cover-cta {
    display: none !important;
  }

  .wcfb-products {
    gap: 8mm !important;
  }

  .wcfb-grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .wcfb-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .wcfb-product {
    border-radius: 8mm !important;
    box-shadow: none !important;
    border: 1px solid rgba(7,20,38,.12) !important;
    grid-template-rows: 72mm 1fr !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .wcfb-grid-4 .wcfb-product {
    grid-template-rows: 46mm 1fr !important;
  }

  .wcfb-product-img img {
    object-fit: contain !important;
  }

  .wcfb-square-ad .wcfb-product-img img,
  .wcfb-ad-inner img {
    object-fit: cover !important;
  }

  .wcfb-product-copy {
    padding: 7mm !important;
  }

  .wcfb-product h3 {
    font-size: 15pt !important;
    line-height: 1.05 !important;
    color: var(--wcfb-primary) !important;
  }

  .wcfb-product p {
    font-size: 9.5pt !important;
    line-height: 1.45 !important;
    color: #2c3b51 !important;
  }

  .wcfb-actions {
    display: none !important;
  }

  .wcfb-page-head {
    margin-bottom: 8mm !important;
    padding-bottom: 5mm !important;
    color: var(--wcfb-primary) !important;
  }

  .wcfb-page-head strong {
    color: var(--wcfb-accent) !important;
  }

  .wcfb-toc a {
    box-shadow: none !important;
    border: 1px solid rgba(7,20,38,.12) !important;
    background: #fff !important;
    color: var(--wcfb-primary) !important;
  }

  .wcfb-ad-page {
    padding: 0 !important;
    background: #fff !important;
  }

  .wcfb-ad-inner {
    min-height: 297mm !important;
    height: 297mm !important;
    grid-template-columns: 1.2fr .8fr !important;
  }

  .wcfb-ad-inner img {
    height: 297mm !important;
  }

  .wcfb-ad-copy {
    background: var(--wcfb-primary) !important;
    color: #fff !important;
    padding: 20mm !important;
  }

  .wcfb-ad-copy h2 {
    color: #fff !important;
  }

  .wcfb-qr {
    background: #fff !important;
    color: var(--wcfb-primary) !important;
  }

  .wcfb-qr img {
    width: 38mm !important;
    height: 38mm !important;
  }
}


/* V6.7.3 desktop cleanup */
.wcfb-mobile-cats-toggle{
  display:none !important;
}

/* Desktop already has the left sidebar, so no categories pill in top navigation */
@media(min-width:781px){
  .wcfb-topbar .wcfb-mobile-cats-toggle{
    display:none !important;
  }
}


/* V6.7.4 Landscape PDF Export */
@media print {
  @page {
    size: A4 landscape !important;
    margin: 0 !important;
  }

  html,
  body {
    width: 297mm !important;
    min-height: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #071426 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .wcfb-wrap {
    width: 297mm !important;
    min-height: 210mm !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #071426 !important;
  }

  .wcfb-stage {
    width: 297mm !important;
    max-width: 297mm !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #071426 !important;
  }

  .wcfb-page {
    width: 297mm !important;
    height: 210mm !important;
    min-height: 210mm !important;
    padding: 14mm !important;
    margin: 0 !important;
    page-break-after: always !important;
    break-after: page !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .wcfb-cover,
  .wcfb-category-divider,
  .wcfb-back-cover {
    padding: 0 !important;
    background: var(--wcfb-primary) !important;
  }

  .wcfb-cover-inner,
  .wcfb-divider-inner,
  .wcfb-back-inner {
    width: 297mm !important;
    height: 210mm !important;
    min-height: 210mm !important;
    margin: -14mm !important;
    padding: 22mm 28mm !important;
    border-radius: 0 !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .wcfb-logo {
    max-width: 95mm !important;
    max-height: 34mm !important;
    margin-bottom: 14mm !important;
  }

  .wcfb-cover h1 {
    max-width: 185mm !important;
    font-size: 46pt !important;
    line-height: .9 !important;
  }

  .wcfb-cover h2 {
    max-width: 180mm !important;
    font-size: 22pt !important;
    line-height: 1.08 !important;
  }

  .wcfb-cover p,
  .wcfb-category-divider p,
  .wcfb-back-cover p {
    max-width: 170mm !important;
    font-size: 12pt !important;
    line-height: 1.45 !important;
  }

  .wcfb-edition {
    margin-top: 12mm !important;
  }

  .wcfb-products {
    height: calc(210mm - 42mm) !important;
    gap: 8mm !important;
  }

  .wcfb-grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .wcfb-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .wcfb-product {
    grid-template-rows: 62mm 1fr !important;
    border-radius: 6mm !important;
  }

  .wcfb-grid-4 .wcfb-product {
    grid-template-rows: 42mm 1fr !important;
  }

  .wcfb-product-copy {
    padding: 5mm !important;
  }

  .wcfb-product h3 {
    font-size: 13pt !important;
  }

  .wcfb-product p {
    font-size: 8.5pt !important;
    line-height: 1.35 !important;
  }

  .wcfb-ad-inner {
    width: 297mm !important;
    height: 210mm !important;
    min-height: 210mm !important;
  }

  .wcfb-ad-inner img {
    height: 210mm !important;
  }

  .wcfb-ad-copy {
    padding: 18mm !important;
  }

  .wcfb-back-grid {
    grid-template-columns: 1fr auto !important;
  }
}


/* V6.7.5 PDF link/button and index fixes */
@media print {

  /* Stop browsers/themes from printing URLs after links */
  .wcfb-wrap a[href]::after,
  .wcfb-wrap a[href^="mailto:"]::after,
  .wcfb-wrap a[href^="http"]::after,
  .wcfb-contact a::after,
  .wcfb-actions a::after {
    content: "" !important;
    display: none !important;
  }

  /* Back cover contact buttons must print like buttons, not raw URLs */
  .wcfb-contact {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5mm !important;
    margin-top: 10mm !important;
  }

  .wcfb-contact a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 12mm !important;
    max-width: 92mm !important;
    padding: 0 8mm !important;
    border-radius: 999px !important;
    background: var(--wcfb-accent) !important;
    color: var(--wcfb-primary) !important;
    font-weight: 950 !important;
    font-size: 10pt !important;
    text-decoration: none !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Back cover layout: text on left, QR on right */
  .wcfb-back-grid {
    display: grid !important;
    grid-template-columns: 1fr 52mm !important;
    gap: 14mm !important;
    align-items: end !important;
    width: 100% !important;
  }

  .wcfb-qr {
    width: 46mm !important;
    padding: 4mm !important;
    border-radius: 6mm !important;
    background: #fff !important;
    color: var(--wcfb-primary) !important;
    justify-self: end !important;
    text-align: center !important;
  }

  .wcfb-qr img {
    width: 34mm !important;
    height: 34mm !important;
    margin: 0 auto 2mm !important;
  }

  .wcfb-qr span {
    display: block !important;
    font-size: 9pt !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
  }

  /* Index page should not cut; use two clean columns */
  .wcfb-toc-page {
    padding: 12mm !important;
  }

  .wcfb-toc-page .wcfb-page-head {
    margin-bottom: 6mm !important;
    padding-bottom: 4mm !important;
  }

  .wcfb-toc {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4mm !important;
    align-items: start !important;
  }

  .wcfb-toc a {
    min-height: 16mm !important;
    display: grid !important;
    grid-template-columns: 14mm 1fr auto !important;
    gap: 4mm !important;
    align-items: center !important;
    padding: 4mm 5mm !important;
    border-radius: 5mm !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .wcfb-toc span {
    font-size: 14pt !important;
    line-height: 1 !important;
  }

  .wcfb-toc strong {
    font-size: 12pt !important;
    line-height: 1.1 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .wcfb-toc em {
    font-size: 8pt !important;
    white-space: nowrap !important;
  }

  /* Category pages and long text should scale better in landscape PDF */
  .wcfb-divider-inner h2,
  .wcfb-back-inner h2 {
    font-size: 44pt !important;
    max-width: 190mm !important;
  }

  .wcfb-back-inner p {
    max-width: 175mm !important;
  }

  /* Product pages: avoid overflow/cut */
  .wcfb-product-copy {
    overflow: hidden !important;
  }

  .wcfb-product h3 {
    max-height: 2.2em !important;
    overflow: hidden !important;
  }

  .wcfb-product p {
    max-height: 4.2em !important;
    overflow: hidden !important;
  }
}


/* V6.8 Cover Builder */
.wcfb-cover-inner{
  font-family: var(--cover-font, Inter, Arial, Helvetica, sans-serif);
}

.wcfb-cover-content{
  width: 100%;
  max-width: var(--cover-content-width, 760px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wcfb-cover-layout-left{
  align-items: flex-start !important;
  text-align: left;
}

.wcfb-cover-layout-center{
  align-items: center !important;
  text-align: center;
}

.wcfb-cover-layout-center .wcfb-cover-content{
  align-items: center;
}

.wcfb-cover-layout-right{
  align-items: flex-end !important;
  text-align: right;
}

.wcfb-cover-layout-right .wcfb-cover-content{
  align-items: flex-end;
}

.wcfb-cover .wcfb-logo{
  width: var(--cover-logo-width, 360px) !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin-bottom: var(--cover-logo-margin, 34px) !important;
}

.wcfb-logo-position-left .wcfb-cover-content,
.wcfb-logo-position-right .wcfb-cover-content{
  max-width: none;
  display: grid;
  grid-template-columns: minmax(120px, var(--cover-logo-width, 360px)) minmax(320px, var(--cover-content-width, 760px));
  gap: 42px;
  align-items: start;
}

.wcfb-logo-position-right .wcfb-cover-content{
  grid-template-columns: minmax(320px, var(--cover-content-width, 760px)) minmax(120px, var(--cover-logo-width, 360px));
}

.wcfb-logo-position-left .wcfb-logo,
.wcfb-logo-position-right .wcfb-logo{
  margin-bottom: 0 !important;
}

.wcfb-cover .wcfb-kicker{
  color: var(--cover-kicker-color, var(--wcfb-accent)) !important;
  font-size: var(--cover-kicker-size, 12px) !important;
}

.wcfb-cover h1{
  color: var(--cover-title-color, #fff) !important;
  font-size: clamp(36px, 8vw, var(--cover-title-size, 96px)) !important;
}

.wcfb-cover h2{
  color: var(--cover-subtitle-color, var(--wcfb-accent)) !important;
  font-size: clamp(18px, 3vw, var(--cover-subtitle-size, 42px)) !important;
}

.wcfb-cover p:not(.wcfb-kicker){
  color: var(--cover-text-color, rgba(255,255,255,.76)) !important;
  font-size: var(--cover-text-size, 20px) !important;
}

.wcfb-cover .wcfb-edition{
  color: var(--cover-edition-color, var(--wcfb-accent)) !important;
  font-size: var(--cover-edition-size, 16px) !important;
}

/* Admin cover builder */
.wcfb-cover-builder-admin{
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dcdcde;
  background: #f6f7f7;
  border-radius: 14px;
}
.wcfb-cover-builder-admin h4{
  margin: 12px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media(max-width:780px){
  .wcfb-logo-position-left .wcfb-cover-content,
  .wcfb-logo-position-right .wcfb-cover-content{
    display:flex;
    max-width: var(--cover-content-width, 760px);
    gap:0;
  }

  .wcfb-cover h1{
    font-size: clamp(38px, 13vw, var(--cover-title-size, 70px)) !important;
  }

  .wcfb-cover .wcfb-logo{
    width: min(var(--cover-logo-width, 360px), 86vw) !important;
  }
}

@media print{
  .wcfb-cover .wcfb-logo{
    width: min(var(--cover-logo-width, 360px), 95mm) !important;
  }
  .wcfb-cover h1{
    font-size: min(var(--cover-title-size, 96px), 54pt) !important;
  }
  .wcfb-cover h2{
    font-size: min(var(--cover-subtitle-size, 42px), 26pt) !important;
  }
}


/* V6.9 Product layout controls */
.wcfb-price-under-title{
  color: var(--wcfb-primary);
  font-weight: 950;
  font-size: 17px;
  margin: -4px 0 14px;
}

.wcfb-product-layout-left .wcfb-product,
.wcfb-product-layout-right .wcfb-product{
  grid-template-rows: none;
  grid-template-columns: 42% 1fr;
  min-height: 300px;
}

.wcfb-product-layout-right .wcfb-product{
  grid-template-columns: 1fr 42%;
}

.wcfb-product-layout-right .wcfb-product-img{
  order: 2;
}

.wcfb-product-layout-right .wcfb-product-copy{
  order: 1;
}

.wcfb-product-layout-left .wcfb-grid-4 .wcfb-product,
.wcfb-product-layout-right .wcfb-grid-4 .wcfb-product{
  min-height: 235px;
}

.wcfb-product-layout-left .wcfb-product-img,
.wcfb-product-layout-right .wcfb-product-img{
  height: 100%;
  min-height: 100%;
}

.wcfb-product-layout-left .wcfb-product-img img,
.wcfb-product-layout-right .wcfb-product-img img{
  object-fit: contain;
}

/* V6.9 Mobile cover fix */
@media(max-width:780px){
  .wcfb-cover-inner{
    justify-content: flex-start !important;
    padding-top: 34px !important;
  }

  .wcfb-cover-content{
    min-height: auto !important;
    width: 100%;
  }

  .wcfb-logo-position-right .wcfb-cover-content,
  .wcfb-logo-position-left .wcfb-cover-content{
    display: flex !important;
    flex-direction: column !important;
  }

  .wcfb-logo-position-right .wcfb-logo,
  .wcfb-logo-position-left .wcfb-logo,
  .wcfb-cover .wcfb-logo{
    order: -1 !important;
    margin: 0 auto 28px !important;
    display: block !important;
    width: min(var(--cover-logo-width, 280px), 72vw) !important;
    max-width: 72vw !important;
  }

  .wcfb-cover-layout-left .wcfb-cover-content,
  .wcfb-cover-layout-right .wcfb-cover-content,
  .wcfb-cover-layout-center .wcfb-cover-content{
    align-items: flex-start !important;
    text-align: left !important;
  }

  .wcfb-cover h1{
    font-size: clamp(40px, 12vw, 58px) !important;
    line-height: .94 !important;
  }

  .wcfb-cover h2{
    font-size: clamp(20px, 6vw, 30px) !important;
    line-height: 1.15 !important;
  }

  .wcfb-cover p:not(.wcfb-kicker){
    font-size: clamp(16px, 4.8vw, 22px) !important;
    line-height: 1.48 !important;
  }

  .wcfb-edition{
    margin-top: 22px !important;
  }

  .wcfb-cover-cta{
    margin-top: 18px !important;
  }

  .wcfb-product-layout-left .wcfb-product,
  .wcfb-product-layout-right .wcfb-product{
    grid-template-columns: 1fr !important;
    grid-template-rows: 220px 1fr !important;
  }

  .wcfb-product-layout-right .wcfb-product-img,
  .wcfb-product-layout-right .wcfb-product-copy{
    order: initial !important;
  }

  .wcfb-price-under-title{
    font-size: 16px;
    margin-bottom: 12px;
  }
}

/* Print keeps selected product layout where possible */
@media print{
  .wcfb-price-under-title{
    font-size: 10pt !important;
    margin: 0 0 3mm !important;
  }

  .wcfb-product-layout-left .wcfb-product,
  .wcfb-product-layout-right .wcfb-product{
    grid-template-rows: none !important;
    grid-template-columns: 40% 1fr !important;
  }

  .wcfb-product-layout-right .wcfb-product{
    grid-template-columns: 1fr 40% !important;
  }
}


/* V6.9.2 Category Icons + Custom Catalogue Pages */
@media(min-width:981px){.wcfb-side-tabs{margin-top:96px!important}.wcfb-wrap.is-fullscreen .wcfb-side-tabs{top:124px!important;margin-top:0!important}}
.wcfb-side-tabs .wcfb-tab-icon{width:32px!important;height:32px!important;min-width:32px!important;font-size:14px!important}.wcfb-side-tabs .wcfb-tab-icon i{font-size:14px;line-height:1}.wcfb-side-tabs .wcfb-tab-icon-img{width:20px;height:20px;object-fit:contain;display:block}.wcfb-side-tabs a,.wcfb-side-tabs button{position:relative}.wcfb-side-tabs a.is-current:after,.wcfb-side-tabs button.is-current:after{content:"";position:absolute;left:0;top:10px;bottom:10px;width:4px;border-radius:999px;background:var(--tab-accent,var(--wcfb-accent));box-shadow:0 0 16px var(--tab-accent,var(--wcfb-accent))}.wcfb-icon-picker-grid small{display:block;margin-top:5px;color:#646970;font-weight:400}
.wcfb-custom-page{padding:0!important;background:var(--book-paper)}.wcfb-custom-page-inner{min-height:740px;padding:54px;display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}.wcfb-custom-layout-text_full{grid-template-columns:1fr}.wcfb-custom-layout-image_text .wcfb-custom-media{order:-1}.wcfb-custom-layout-image_full{padding:0;display:block}.wcfb-custom-layout-image_full .wcfb-custom-copy{position:absolute;z-index:2;max-width:560px;margin:54px;padding:28px;border-radius:24px;background:rgba(7,20,38,.72);color:#fff;backdrop-filter:blur(14px)}.wcfb-custom-layout-image_full .wcfb-custom-copy h2,.wcfb-custom-layout-image_full .wcfb-custom-copy p{color:#fff}.wcfb-custom-layout-image_full .wcfb-custom-media img{width:100%;height:740px;object-fit:cover;display:block}.wcfb-custom-copy h2{font-size:clamp(40px,5vw,76px);line-height:.95;letter-spacing:-.06em;color:var(--wcfb-primary);margin:0 0 22px}.wcfb-custom-content{font-size:18px;line-height:1.65;color:#33445c}.wcfb-custom-media img,.wcfb-custom-media video,.wcfb-custom-media iframe{width:100%;height:520px;object-fit:cover;border:0;border-radius:26px;box-shadow:0 20px 50px rgba(7,20,38,.16);display:block}.wcfb-custom-panorama iframe{height:620px}@media(max-width:780px){.wcfb-side-tabs{margin-top:0!important}.wcfb-custom-page-inner{min-height:auto;padding:28px;grid-template-columns:1fr;gap:24px}.wcfb-custom-media img,.wcfb-custom-media video,.wcfb-custom-media iframe{height:300px}.wcfb-custom-layout-image_full .wcfb-custom-copy{position:relative;margin:0;border-radius:0}.wcfb-custom-layout-image_full .wcfb-custom-media img{height:420px}}@media print{.wcfb-custom-page-inner{min-height:210mm!important;height:210mm!important;padding:18mm!important}.wcfb-custom-media iframe,.wcfb-custom-media video{display:none!important}.wcfb-custom-media img{height:150mm!important}}


/* V6.9.3 Custom Pages + Woo mode + icon sidebar polish */

/* Align sidebar with catalogue block */
@media(min-width:981px){
  .wcfb-side-tabs{
    margin-top:96px !important;
  }
  .wcfb-wrap.is-fullscreen .wcfb-side-tabs{
    top:124px !important;
    margin-top:0 !important;
  }
}

/* Icon rendering */
.wcfb-side-tabs .wcfb-tab-icon{
  width:32px !important;
  height:32px !important;
  min-width:32px !important;
  font-size:14px !important;
}
.wcfb-side-tabs .wcfb-tab-icon i{font-size:14px;line-height:1}
.wcfb-side-tabs .wcfb-tab-icon-img{width:20px;height:20px;object-fit:contain;display:block}

/* Custom pages */
.wcfb-custom-page{
  padding:0 !important;
  background:var(--book-paper);
}
.wcfb-custom-page-inner{
  min-height:740px;
  padding:54px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  align-items:center;
}
.wcfb-custom-page .wcfb-kicker{
  color:var(--wcfb-accent) !important;
}
.wcfb-custom-copy h2{
  font-size:clamp(40px,5vw,76px);
  line-height:.95;
  letter-spacing:-.06em;
  color:var(--wcfb-primary);
  margin:0 0 22px;
}
.wcfb-custom-content{
  font-size:18px;
  line-height:1.65;
  color:#33445c;
}
.wcfb-custom-media img,
.wcfb-custom-media video,
.wcfb-custom-media iframe{
  width:100%;
  height:520px;
  object-fit:cover;
  border:0;
  border-radius:26px;
  box-shadow:0 20px 50px rgba(7,20,38,.16);
  display:block;
}
.wcfb-custom-panorama iframe{height:620px}

/* Layouts */
.wcfb-custom-layout-text_full{grid-template-columns:1fr}
.wcfb-custom-layout-text_full .wcfb-custom-copy{max-width:900px}
.wcfb-custom-layout-image_full{
  display:block;
  padding:0;
  position:relative;
}
.wcfb-custom-layout-image_full .wcfb-custom-copy{
  position:absolute;
  z-index:2;
  max-width:560px;
  margin:54px;
  padding:28px;
  border-radius:24px;
  background:rgba(7,20,38,.72);
  color:#fff;
  backdrop-filter:blur(14px);
}
.wcfb-custom-layout-image_full .wcfb-custom-copy h2,
.wcfb-custom-layout-image_full .wcfb-custom-copy p,
.wcfb-custom-layout-image_full .wcfb-custom-content{color:#fff}
.wcfb-custom-layout-image_full .wcfb-custom-media img{
  width:100%;
  height:740px;
  border-radius:0;
  box-shadow:none;
}
.wcfb-media-left .wcfb-custom-media{order:-1}
.wcfb-media-top{grid-template-columns:1fr}
.wcfb-media-top .wcfb-custom-media{order:-1}
.wcfb-media-bottom{grid-template-columns:1fr}
.wcfb-media-bottom .wcfb-custom-media{order:2}

/* When only 1-2 product cards exist, keep the spread balanced instead of tiny/cut */
.wcfb-products.wcfb-count-1,
.wcfb-products.wcfb-count-2{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
.wcfb-grid-4.wcfb-count-1,
.wcfb-grid-4.wcfb-count-2{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
.wcfb-grid-4.wcfb-count-1 .wcfb-product,
.wcfb-grid-4.wcfb-count-2 .wcfb-product{
  grid-template-rows:300px 1fr !important;
}

/* Admin icon picker */
.wcfb-icon-picker-grid small{
  display:block;
  margin-top:5px;
  color:#646970;
  font-weight:400;
}

@media(max-width:780px){
  .wcfb-side-tabs{margin-top:0 !important}
  .wcfb-custom-page-inner{
    min-height:auto;
    padding:28px;
    grid-template-columns:1fr;
    gap:24px;
  }
  .wcfb-custom-media img,
  .wcfb-custom-media video,
  .wcfb-custom-media iframe{
    height:300px;
  }
  .wcfb-custom-layout-image_full .wcfb-custom-copy{
    position:relative;
    margin:0;
    border-radius:0;
  }
  .wcfb-custom-layout-image_full .wcfb-custom-media img{height:420px}
}

@media print{
  .wcfb-custom-page-inner{
    min-height:210mm !important;
    height:210mm !important;
    padding:18mm !important;
    grid-template-columns:1fr 1fr !important;
  }
  .wcfb-media-left .wcfb-custom-media{order:-1 !important}
  .wcfb-custom-media iframe,
  .wcfb-custom-media video{
    display:none !important;
  }
  .wcfb-custom-media img{
    height:150mm !important;
    object-fit:cover !important;
  }
}


/* V6.9.4 Stability & Layout Fixes */

/* Cover: use media-right layout properly on desktop */
@media(min-width:981px){
  .wcfb-logo-position-right .wcfb-cover-content{
    grid-template-columns:minmax(360px,var(--cover-content-width,760px)) minmax(220px,var(--cover-logo-width,360px)) !important;
    align-items:center !important;
    gap:64px !important;
  }
  .wcfb-logo-position-right .wcfb-logo{
    align-self:center !important;
    justify-self:center !important;
    margin:0 !important;
  }
}

/* Product cards: button must stay inside bottom border */
.wcfb-product{
  min-height:0 !important;
}
.wcfb-product-copy{
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
  overflow:hidden !important;
}
.wcfb-product-copy p{
  overflow:hidden !important;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
}
.wcfb-actions{
  margin-top:auto !important;
  padding-top:12px !important;
}
.wcfb-actions a{
  min-height:36px !important;
  font-size:12px !important;
  padding:0 14px !important;
}

/* Product card in PDF: border reaches bottom and content fits */
@media print{
  .wcfb-product{
    height:100% !important;
    border:1px solid rgba(7,20,38,.16) !important;
  }
  .wcfb-products{
    align-items:stretch !important;
  }
  .wcfb-product-copy p{
    -webkit-line-clamp:3 !important;
  }
  .wcfb-actions{
    display:flex !important;
  }
  .wcfb-actions a{
    min-height:8mm !important;
    font-size:8pt !important;
  }
}

/* Custom page video placeholder for web/pdf */
.wcfb-video-placeholder{
  position:relative;
  width:100%;
  min-height:520px;
  border-radius:26px;
  overflow:hidden;
  background:linear-gradient(135deg,var(--wcfb-primary),#111827);
  box-shadow:0 20px 50px rgba(7,20,38,.16);
  display:grid;
  place-items:center;
}
.wcfb-video-thumb{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.72;
  position:absolute;
  inset:0;
}
.wcfb-video-empty{
  background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.18),transparent 30%);
}
.wcfb-play-badge{
  width:86px;
  height:86px;
  border-radius:999px;
  background:var(--wcfb-accent);
  color:var(--wcfb-primary);
  display:grid;
  place-items:center;
  font-size:34px;
  font-weight:950;
  z-index:2;
  box-shadow:0 20px 48px rgba(0,0,0,.28);
}
.wcfb-video-meta{
  position:absolute;
  left:22px;
  right:22px;
  bottom:22px;
  z-index:3;
  display:grid;
  grid-template-columns:1fr 74px;
  gap:14px;
  align-items:end;
  background:rgba(7,20,38,.82);
  color:#fff;
  border-radius:18px;
  padding:16px;
  backdrop-filter:blur(14px);
}
.wcfb-video-meta strong,
.wcfb-video-meta span{
  grid-column:1;
  overflow:hidden;
  text-overflow:ellipsis;
}
.wcfb-video-meta span{
  font-size:12px;
  opacity:.82;
}
.wcfb-video-meta img{
  grid-column:2;
  grid-row:1 / span 2;
  width:74px !important;
  height:74px !important;
  object-fit:contain !important;
  background:#fff;
  border-radius:10px;
}

/* Custom pages: text should shrink/fit better */
.wcfb-custom-content{
  max-height:420px;
  overflow:hidden;
}
.wcfb-custom-content p{
  margin-top:0;
}
@media print{
  .wcfb-custom-content{
    max-height:130mm !important;
    overflow:hidden !important;
    font-size:10pt !important;
    line-height:1.45 !important;
  }
  .wcfb-video-placeholder{
    min-height:145mm !important;
    box-shadow:none !important;
  }
  .wcfb-video-meta{
    print-color-adjust:exact !important;
    -webkit-print-color-adjust:exact !important;
  }
  .wcfb-custom-page .wcfb-kicker{
    color:var(--wcfb-accent) !important;
  }
}

/* Supplier page center on print and digital */
.wcfb-supplier-page{
  display:none;
  place-items:center !important;
  text-align:center !important;
}
.wcfb-supplier-page.is-active{
  display:grid !important;
}
.wcfb-supplier-inner{
  max-width:820px !important;
  margin:auto !important;
  text-align:center !important;
}
@media print{
  .wcfb-supplier-page{
    display:grid !important;
    place-items:center !important;
  }
  .wcfb-supplier-inner{
    margin:auto !important;
  }
}

/* Featured count translation/fit */
.wcfb-featured-count{
  text-transform:uppercase;
}

/* Index custom pages more visible in PDF */
@media print{
  .wcfb-toc{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .wcfb-toc a{
    break-inside:avoid !important;
  }
}

/* Mobile nav customization */
@media(max-width:780px){
  .wcfb-mobile-nav{
    min-height:var(--wcfb-mobile-nav-height,58px) !important;
    background:var(--wcfb-mobile-nav-bg,rgba(255,255,255,.92)) !important;
  }
  .wcfb-mobile-nav button{
    color:var(--wcfb-mobile-nav-color,var(--wcfb-primary)) !important;
    font-size:11px !important;
  }
  .wcfb-mobile-nav button:before{
    font-size:var(--wcfb-mobile-nav-icon-size,19px) !important;
  }
  .wcfb-mobile-nav button.is-active,
  .wcfb-mobile-nav button:active{
    background:var(--wcfb-mobile-nav-active,var(--wcfb-accent)) !important;
  }
  .wcfb-nav-style-icons .wcfb-mobile-nav button{
    font-size:0 !important;
  }
  .wcfb-nav-style-icons .wcfb-mobile-nav button:before{
    margin:0 !important;
  }
  .wcfb-nav-style-text .wcfb-mobile-nav button:before{
    display:none !important;
  }
  .wcfb-mobile-nav button[data-action="cover"]:before{content:"⌂" !important;}
  .wcfb-mobile-nav button[data-action="index"]:before{content:"☰" !important;}
  .wcfb-mobile-nav button[data-action="cats"]:before{content:"▦" !important;}
  .wcfb-mobile-nav button[data-action="print"]:before{content:"⇩" !important;}
}

/* Prevent duplicate visual icons in older mobile nav JS */
.wcfb-mobile-nav button{
  overflow:hidden;
}


/* V6.9.5 Dashboard/Style/Ad fixes */
.wcfb-side-tabs a.is-current,
.wcfb-side-tabs button.is-current,
.wcfb-side-tabs a[aria-current="true"],
.wcfb-side-tabs button[aria-current="true"]{
  background: var(--wcfb-sidebar-active, var(--wcfb-accent)) !important;
  color: var(--wcfb-primary) !important;
}

.wcfb-page{
  background: var(--wcfb-page-bg, var(--book-paper)) !important;
  border-radius: var(--wcfb-page-radius, 28px) !important;
  padding: var(--wcfb-page-padding, 42px) !important;
}

/* Keep special full-bleed pages working */
.wcfb-cover,
.wcfb-category-divider,
.wcfb-back-cover,
.wcfb-custom-page,
.wcfb-ad-page{
  padding: 0 !important;
}

/* Ad button fix: do not stretch across the whole card */
.wcfb-ad .wcfb-light-btn,
.wcfb-square-ad .wcfb-light-btn,
.wcfb-ad-copy .wcfb-light-btn,
.wcfb-ad-inner .wcfb-light-btn{
  width: auto !important;
  max-width: max-content !important;
  min-width: 150px !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--wcfb-ad-button-bg, var(--wcfb-accent)) !important;
  color: var(--wcfb-ad-button-color, var(--wcfb-primary)) !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
}

/* Half/quarter ad layout must not force button full width */
.wcfb-square-ad .wcfb-product-copy,
.wcfb-ad-copy{
  align-items: flex-start !important;
}

/* Admin analytics cards */
.wcfb-analytics-grid{
  margin: 20px 0;
}
.wcfb-admin .wcfb-admin-card h2{
  margin-top: 0;
}

@media(print){
  .wcfb-page{
    border-radius: 0 !important;
    padding: 14mm !important;
  }
}


/* V7.0 Style Studio Frontend */
.wcfb-page{
  background: var(--wcfb-page-bg, #F5F2EA) !important;
  color: var(--wcfb-page-text-color, #071426) !important;
}

.wcfb-cover,
.wcfb-cover-inner{
  background-color: var(--wcfb-cover-bg, #071426) !important;
}

.wcfb-page-head{
  background: var(--wcfb-page-head-bg, transparent) !important;
  color: var(--wcfb-page-head-color, #071426) !important;
  border-bottom-color: var(--wcfb-page-head-border, rgba(7,20,38,.15)) !important;
  font-size: var(--wcfb-page-head-font-size, 13px) !important;
  padding-bottom: var(--wcfb-page-head-padding, 16px) !important;
}

.wcfb-page-head span,
.wcfb-page-head strong{
  color: var(--wcfb-page-head-color, #071426) !important;
}

.wcfb-page-head strong{
  color: var(--wcfb-page-head-accent, #D4A63F) !important;
}

.wcfb-product{
  background: var(--wcfb-product-card-bg, #FFFFFF) !important;
}

.wcfb-product h3{
  color: var(--wcfb-product-title-color, #071426) !important;
}

.wcfb-product p{
  color: var(--wcfb-product-text-color, #2C3B51) !important;
}

.wcfb-price-under-title,
.wcfb-row strong{
  color: var(--wcfb-product-price-color, #071426) !important;
}

.wcfb-actions a:first-child{
  background: var(--wcfb-product-button-bg, #071426) !important;
  color: var(--wcfb-product-button-color, #FFFFFF) !important;
}

.wcfb-side-tabs{
  background: var(--wcfb-sidebar-bg, transparent) !important;
}

.wcfb-side-tabs button,
.wcfb-side-tabs a{
  background: var(--wcfb-sidebar-item-bg, #242B34) !important;
  color: var(--wcfb-sidebar-text-color, #FFFFFF) !important;
  border-radius: var(--wcfb-sidebar-radius, 12px) !important;
}

.wcfb-side-tabs .wcfb-tab-icon{
  color: var(--wcfb-sidebar-icon-color, #FFFFFF) !important;
}

.wcfb-featured-divider .wcfb-divider-inner{
  background: var(--wcfb-featured-bg, #071426) !important;
  color: var(--wcfb-featured-text, #FFFFFF) !important;
}

.wcfb-featured-divider h2,
.wcfb-featured-divider p{
  color: var(--wcfb-featured-text, #FFFFFF) !important;
}

.wcfb-featured-count{
  color: var(--wcfb-featured-accent, #D4A63F) !important;
}

.wcfb-square-ad,
.wcfb-ad-copy{
  background: var(--wcfb-ad-card-bg, #071426) !important;
  color: var(--wcfb-ad-text-color, #FFFFFF) !important;
}

.wcfb-square-ad h3,
.wcfb-square-ad p,
.wcfb-ad-copy h2,
.wcfb-ad-copy p{
  color: var(--wcfb-ad-text-color, #FFFFFF) !important;
}


/* V7.1 Supplier Studio */
.wcfb-supplier-page{
  background: var(--wcfb-supplier-bg, #F5F2EA) !important;
  color: var(--wcfb-supplier-text, #071426) !important;
}

.wcfb-supplier-page.is-active{
  display:grid !important;
  place-items:center !important;
}

.wcfb-supplier-inner{
  width:100%;
  min-height:100%;
  padding:var(--wcfb-supplier-padding,54px);
  border-radius:var(--wcfb-supplier-radius,28px);
  background:var(--wcfb-supplier-card-bg,#FFFFFF);
  color:var(--wcfb-supplier-text,#071426);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  align-items:center;
  background-size:cover;
  background-position:center;
  overflow:hidden;
}

.wcfb-supplier-copy{
  max-width:720px;
}

.wcfb-supplier-copy .wcfb-kicker{
  color:var(--wcfb-supplier-accent,#D4A63F) !important;
}

.wcfb-supplier-copy h2{
  font-size:clamp(44px,5vw,82px);
  line-height:.95;
  letter-spacing:-.06em;
  color:var(--wcfb-supplier-text,#071426);
  margin:0 0 18px;
}

.wcfb-supplier-copy h3{
  font-size:clamp(22px,2.4vw,36px);
  line-height:1.15;
  color:var(--wcfb-supplier-accent,#D4A63F);
  margin:0 0 20px;
}

.wcfb-supplier-content{
  font-size:18px;
  line-height:1.55;
  color:var(--wcfb-supplier-text,#071426);
}

.wcfb-supplier-media img,
.wcfb-supplier-media video,
.wcfb-supplier-media iframe{
  width:100%;
  height:520px;
  object-fit:contain;
  border:0;
  border-radius:24px;
  background:#fff;
  box-shadow:0 20px 50px rgba(7,20,38,.18);
  display:block;
}

.wcfb-supplier-layout-centered{
  grid-template-columns:1fr;
  text-align:center;
  place-items:center;
}

.wcfb-supplier-layout-centered .wcfb-supplier-copy{
  margin:0 auto;
}

.wcfb-supplier-layout-centered .wcfb-supplier-media img{
  max-width:340px;
  height:auto;
  margin:0 auto;
}

.wcfb-supplier-layout-image_left .wcfb-supplier-media{
  order:-1;
}

.wcfb-supplier-layout-hero_bg{
  grid-template-columns:1fr;
  background-size:cover !important;
  background-position:center !important;
  color:#fff;
}

.wcfb-supplier-layout-hero_bg .wcfb-supplier-copy,
.wcfb-supplier-layout-hero_bg .wcfb-supplier-copy h2,
.wcfb-supplier-layout-hero_bg .wcfb-supplier-content{
  color:#fff !important;
}

.wcfb-supplier-layout-video,
.wcfb-supplier-layout-panorama{
  grid-template-columns:.85fr 1.15fr;
}

.wcfb-supplier-cta{
  margin-top:22px;
  display:inline-flex;
  width:auto;
}

.wcfb-sponsor-gold,
.wcfb-sponsor-platinum,
.wcfb-sponsor-diamond{
  box-shadow:0 0 0 2px var(--wcfb-supplier-accent,#D4A63F), 0 24px 60px rgba(7,20,38,.16);
}

@media(max-width:780px){
  .wcfb-supplier-inner,
  .wcfb-supplier-layout-video,
  .wcfb-supplier-layout-panorama{
    grid-template-columns:1fr;
    padding:28px;
    gap:24px;
  }
  .wcfb-supplier-media img,
  .wcfb-supplier-media video,
  .wcfb-supplier-media iframe{
    height:300px;
  }
}

@media print{
  .wcfb-supplier-page{
    display:grid !important;
    place-items:center !important;
  }
  .wcfb-supplier-inner{
    min-height:210mm !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }
  .wcfb-supplier-media iframe,
  .wcfb-supplier-media video{
    display:none !important;
  }
}


/* V7.1.1 PDF Rendering Fix */
@media print {
  @page { size: A4 landscape; margin: 0; }

  html, body {
    width: 297mm !important;
    min-height: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #071426 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .wcfb-topbar,
  .wcfb-side-tabs,
  .wcfb-mobile-nav,
  .wcfb-progress,
  .wcfb-search,
  .wcfb-stage-controls {
    display: none !important;
  }

  .wcfb-wrap,
  .wcfb-stage {
    width: 297mm !important;
    max-width: 297mm !important;
    min-height: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #071426 !important;
    overflow: visible !important;
  }

  .wcfb-page {
    display: block !important;
    width: 297mm !important;
    height: 210mm !important;
    min-height: 210mm !important;
    max-height: 210mm !important;
    margin: 0 !important;
    padding: 14mm !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    page-break-after: always !important;
    break-after: page !important;
    overflow: hidden !important;
    background: var(--wcfb-page-bg, #F5F2EA) !important;
    color: var(--wcfb-page-text-color, #071426) !important;
  }

  /* Cover: text left / logo right */
  .wcfb-cover {
    background: var(--wcfb-cover-bg, #071426) !important;
    padding: 0 !important;
  }

  .wcfb-cover-inner {
    width: 297mm !important;
    height: 210mm !important;
    min-height: 210mm !important;
    margin: 0 !important;
    padding: 24mm 28mm !important;
    border-radius: 0 !important;
    background-color: var(--wcfb-cover-bg, #071426) !important;
    background-size: cover !important;
    background-position: center !important;
    display: grid !important;
    place-items: center !important;
  }

  .wcfb-cover-content,
  .wcfb-logo-position-right .wcfb-cover-content,
  .wcfb-logo-position-left .wcfb-cover-content {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: 1.15fr .85fr !important;
    gap: 18mm !important;
    align-items: center !important;
  }

  .wcfb-cover-text-block {
    grid-column: 1 !important;
    max-width: 160mm !important;
    text-align: left !important;
  }

  .wcfb-cover .wcfb-logo {
    grid-column: 2 !important;
    width: min(var(--cover-logo-width, 360px), 78mm) !important;
    max-width: 78mm !important;
    max-height: 78mm !important;
    height: auto !important;
    object-fit: contain !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 !important;
    display: block !important;
  }

  .wcfb-cover .wcfb-kicker {
    font-size: 11pt !important;
    letter-spacing: .42em !important;
    color: var(--cover-kicker-color, var(--wcfb-accent, #D4A63F)) !important;
    margin: 0 0 8mm !important;
  }

  .wcfb-cover h1 {
    font-size: 42pt !important;
    line-height: .92 !important;
    letter-spacing: -0.06em !important;
    color: var(--cover-title-color, #FFFFFF) !important;
    margin: 0 0 7mm !important;
  }

  .wcfb-cover h2 {
    font-size: 22pt !important;
    line-height: 1.08 !important;
    color: var(--cover-subtitle-color, var(--wcfb-accent, #D4A63F)) !important;
    margin: 0 0 8mm !important;
  }

  .wcfb-cover p:not(.wcfb-kicker) {
    max-width: 150mm !important;
    font-size: 12pt !important;
    line-height: 1.45 !important;
    color: var(--cover-text-color, rgba(255,255,255,.82)) !important;
  }

  .wcfb-cover .wcfb-edition {
    color: var(--cover-edition-color, var(--wcfb-accent, #D4A63F)) !important;
    font-size: 11pt !important;
    margin-top: 8mm !important;
  }

  .wcfb-cover-cta { display: none !important; }

  /* Editorial pages: readable, layout-aware */
  .wcfb-custom-page {
    background: var(--wcfb-page-bg, #F5F2EA) !important;
    color: var(--wcfb-page-text-color, #071426) !important;
    padding: 0 !important;
  }

  .wcfb-custom-page-inner {
    width: 297mm !important;
    height: 210mm !important;
    min-height: 210mm !important;
    padding: 18mm !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14mm !important;
    align-items: center !important;
    background: var(--wcfb-page-bg, #F5F2EA) !important;
    color: var(--wcfb-page-text-color, #071426) !important;
  }

  .wcfb-custom-layout-text_full { grid-template-columns: 1fr !important; }

  .wcfb-custom-layout-image_text .wcfb-custom-media,
  .wcfb-media-left .wcfb-custom-media { order: -1 !important; }

  .wcfb-custom-layout-image_full {
    display: block !important;
    padding: 0 !important;
    position: relative !important;
  }

  .wcfb-custom-layout-image_full .wcfb-custom-media img {
    width: 297mm !important;
    height: 210mm !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  .wcfb-custom-layout-image_full .wcfb-custom-copy {
    position: absolute !important;
    left: 18mm !important;
    top: 18mm !important;
    max-width: 120mm !important;
    padding: 10mm !important;
    border-radius: 8mm !important;
    background: rgba(7,20,38,.78) !important;
    color: #fff !important;
  }

  .wcfb-custom-copy h2 {
    font-size: 30pt !important;
    line-height: 1 !important;
    color: var(--wcfb-page-text-color, #071426) !important;
    margin: 0 0 6mm !important;
  }

  .wcfb-custom-page .wcfb-kicker {
    font-size: 9pt !important;
    letter-spacing: .36em !important;
    color: var(--wcfb-accent, #D4A63F) !important;
    margin: 0 0 5mm !important;
  }

  .wcfb-custom-content {
    max-height: 125mm !important;
    overflow: hidden !important;
    font-size: 10.5pt !important;
    line-height: 1.45 !important;
    color: var(--wcfb-page-text-color, #071426) !important;
  }

  .wcfb-custom-content p,
  .wcfb-custom-content li,
  .wcfb-custom-content div {
    color: var(--wcfb-page-text-color, #071426) !important;
  }

  .wcfb-custom-media img,
  .wcfb-custom-media video,
  .wcfb-custom-media iframe {
    width: 100% !important;
    height: 150mm !important;
    object-fit: cover !important;
    border: 0 !important;
    border-radius: 8mm !important;
    box-shadow: none !important;
    display: block !important;
    background: #fff !important;
  }

  /* Video/360 printable placeholders */
  .wcfb-custom-video video,
  .wcfb-custom-video iframe,
  .wcfb-custom-panorama iframe,
  .wcfb-supplier-media iframe,
  .wcfb-supplier-media video { display: none !important; }

  .wcfb-custom-video::before,
  .wcfb-custom-panorama::before,
  .wcfb-supplier-layout-video .wcfb-supplier-media::before,
  .wcfb-supplier-layout-panorama .wcfb-supplier-media::before {
    content: "Video / 360 content available in the digital catalogue";
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 150mm !important;
    border-radius: 8mm !important;
    background: linear-gradient(135deg, #071426, #10294f) !important;
    color: #fff !important;
    font-weight: 900 !important;
    text-align: center !important;
    padding: 12mm !important;
  }

  .wcfb-page-head {
    background: var(--wcfb-page-head-bg, transparent) !important;
    color: var(--wcfb-page-head-color, #071426) !important;
    border-bottom: 1px solid var(--wcfb-page-head-border, rgba(7,20,38,.15)) !important;
    padding-bottom: var(--wcfb-page-head-padding, 16px) !important;
    margin-bottom: 8mm !important;
  }

  .wcfb-page-head span,
  .wcfb-page-head strong {
    color: var(--wcfb-page-head-color, #071426) !important;
    font-size: var(--wcfb-page-head-font-size, 13px) !important;
  }

  .wcfb-page-head strong { color: var(--wcfb-page-head-accent, #D4A63F) !important; }

  /* Product cards */
  .wcfb-products {
    height: calc(210mm - 46mm) !important;
    align-items: stretch !important;
    gap: 8mm !important;
  }

  .wcfb-product {
    height: 100% !important;
    min-height: 0 !important;
    border: 1px solid rgba(7,20,38,.14) !important;
    border-radius: 8mm !important;
    overflow: hidden !important;
    background: var(--wcfb-product-card-bg, #fff) !important;
    display: grid !important;
  }

  .wcfb-product-copy {
    display: flex !important;
    flex-direction: column !important;
    padding: 7mm !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .wcfb-product h3 {
    font-size: 13pt !important;
    line-height: 1.08 !important;
    max-height: 30mm !important;
    overflow: hidden !important;
    color: var(--wcfb-product-title-color, #071426) !important;
  }

  .wcfb-product p {
    font-size: 9pt !important;
    line-height: 1.35 !important;
    max-height: 30mm !important;
    overflow: hidden !important;
    color: var(--wcfb-product-text-color, #2C3B51) !important;
  }

  .wcfb-actions {
    margin-top: auto !important;
    display: flex !important;
    gap: 4mm !important;
  }

  .wcfb-actions a {
    min-height: 8mm !important;
    font-size: 8pt !important;
    padding: 0 5mm !important;
    border-radius: 999px !important;
  }

  /* Supplier PDF */
  .wcfb-supplier-page {
    display: grid !important;
    place-items: center !important;
    background: var(--wcfb-supplier-bg, #F5F2EA) !important;
    padding: 0 !important;
  }

  .wcfb-supplier-inner {
    width: 297mm !important;
    height: 210mm !important;
    min-height: 210mm !important;
    padding: 18mm !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14mm !important;
    align-items: center !important;
    background: var(--wcfb-supplier-card-bg, #fff) !important;
    color: var(--wcfb-supplier-text, #071426) !important;
  }

  .wcfb-supplier-layout-centered {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .wcfb-supplier-copy h2 {
    font-size: 32pt !important;
    color: var(--wcfb-supplier-text, #071426) !important;
  }

  .wcfb-supplier-content {
    max-height: 80mm !important;
    overflow: hidden !important;
    color: var(--wcfb-supplier-text, #071426) !important;
  }

  .wcfb-supplier-media img {
    height: 130mm !important;
    object-fit: contain !important;
    background: #fff !important;
    box-shadow: none !important;
  }
}

@media print {
  .wcfb-pdf-portrait .wcfb-page,
  .wcfb-pdf-portrait .wcfb-cover-inner,
  .wcfb-pdf-portrait .wcfb-custom-page-inner,
  .wcfb-pdf-portrait .wcfb-supplier-inner {
    width: 210mm !important;
    height: 297mm !important;
    min-height: 297mm !important;
  }
}

.wcfb-upgrade-notice{padding:18px 22px;border-radius:18px;background:#fff8e5;border:1px solid #d4a63f;color:#071426;font-weight:700}

/* V8.1 Plan Gates */
.wcfb-upgrade-notice{padding:18px 22px;border-radius:18px;background:#fff8e5;border:1px solid #d4a63f;color:#071426;font-weight:700;margin:14px 0;}
