/*
Theme Name:   Custom Boxes Peak
Theme URI:    https://customboxespeak.co.uk/
Author:       Custom Boxes Peak
Description:  Sky blue and gold theme for a custom packaging business: full-width header with mega menu, product pages with quote sidebar, built-in quote form, blog and locations. No page builder or extra plugins needed.
Version:      1.4.0
Requires at least: 6.4
Requires PHP: 7.4
License:      GPLv2 or later
Text Domain:  custom-boxes-peak
*/

:root {
	--blue: #0870AF;
	--deep: #064F7D;
	--navy: #0B2A3D;
	--line: #3A8FC6;
	--sky: #DDF0FB;
	--bg: #F2F9FD;
	--border: #CFE6F5;
	--muted: #52687A;
	--text: #2E4A5C;
	--gold: #C9A24A;
	--gold-dark: #A8862F;
	--gold-text: #8A6A1F;
	--pale: #FFEDB8;
	--radius: 16px;
	--head: 'Bricolage Grotesque', system-ui, sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wrap: 1280px;
	--gutter: clamp(16px, 3vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #5A4512; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-weight: 800; font-size: clamp(32px, 4.6vw, 56px); }
h2 { font-weight: 700; font-size: clamp(26px, 3vw, 38px); }
h3 { font-weight: 700; font-size: 20px; }
p { margin: 0 0 1em; }
::selection { background: var(--pale); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100000; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.cbp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.cbp-gold-text { color: var(--pale); }

/* ---------- Buttons ---------- */
.cbp-btn, .wp-block-button__link, .entry-content .wp-element-button {
	white-space: nowrap;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--body); font-weight: 700; font-size: 15px; line-height: 1.2;
	padding: 15px 26px; border-radius: 10px; text-decoration: none; border: 0; cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.cbp-btn-gold, .wp-block-button__link, .entry-content .wp-element-button { background: var(--gold); color: var(--navy) !important; }
.cbp-btn-gold:hover, .wp-block-button__link:hover, .entry-content .wp-element-button:hover { background: var(--pale); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(169, 134, 47, .38); color: var(--navy) !important; }
.cbp-btn-ghost { background: #fff; color: var(--navy); border: 1px solid #A9D2EC; }
.cbp-btn-ghost:hover { color: var(--navy); border-color: var(--gold); transform: translateY(-2px); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--navy) !important; box-shadow: inset 0 0 0 2px var(--gold); }
.cbp-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cbp-link-arrow { font-weight: 700; text-decoration: none; }
.cbp-link-arrow:hover { text-decoration: underline; }

/* ---------- Top bar ---------- */
.cbp-topbar { background: var(--deep); color: var(--bg); font-size: 13px; }
.cbp-topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding: 9px var(--gutter); }
.cbp-topbar-group { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.cbp-topbar a { color: var(--bg); text-decoration: none; }
.cbp-topbar a:hover { color: var(--pale); }

/* ---------- Header (full width) ---------- */
.cbp-header { position: sticky; top: 0; z-index: 1000; background: var(--blue); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.admin-bar .cbp-header { top: 32px; }
.cbp-scrolled .cbp-header { box-shadow: 0 8px 24px rgba(11, 42, 61, .22); }
.cbp-header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 14px var(--gutter); position: relative; }
.cbp-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex: 0 0 auto; }
.cbp-logo svg { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cbp-logo:hover svg { transform: rotate(-12deg) scale(1.08); }
.cbp-logo-text { font-family: var(--head); font-weight: 800; font-size: 23px; letter-spacing: -0.5px; color: #fff; white-space: nowrap; }
.cbp-logo-text span { color: var(--pale); }
.cbp-logo-img { max-height: 52px; width: auto; }
.cbp-nav { display: flex; align-items: center; gap: 20px; }
.cbp-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 2px 20px; }
.cbp-menu > li { position: static; display: flex; align-items: center; }
.cbp-navlink {
	color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 14px 0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	background: linear-gradient(currentColor, currentColor) left calc(100% - 8px) / 0 2px no-repeat; transition: background-size .3s ease, color .2s ease;
}
.cbp-navlink:hover, .cbp-menu > li.current-menu-item > .cbp-navlink, .cbp-menu > li.current-menu-ancestor > .cbp-navlink, .cbp-menu > li.current-page-ancestor > .cbp-navlink { color: var(--pale); background-size: 100% 2px; }
.cbp-sub-toggle { display: none; }

/* Mega panel */
.cbp-mega {
	position: absolute; left: 0; right: 0; top: 100%; background: var(--blue); border-top: 1px solid var(--line);
	box-shadow: 0 24px 48px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .2s ease .25s, transform .2s ease .25s, visibility 0s linear .45s;
}
/* Invisible bridge over the gap between the menu link and the panel, so hover is not lost */
.cbp-mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 18px; }
.cbp-has-mega:hover > .cbp-mega, .cbp-has-mega:focus-within > .cbp-mega, .cbp-has-mega.is-open > .cbp-mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s; }
/* When another menu item is hovered, close the previous panel right away */
.cbp-menu:hover > .cbp-has-mega:not(:hover) > .cbp-mega { transition-delay: 0s; }
.cbp-mega-inner { max-width: var(--wrap); margin: 0 auto; padding: 34px var(--gutter) 38px; display: flex; flex-wrap: wrap; gap: 28px 56px; max-height: calc(100vh - 140px); overflow-y: auto; }
.cbp-mega-intro { flex: 0 1 280px; display: flex; flex-direction: column; gap: 10px; }
.cbp-mega-count { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--pale); }
.cbp-mega-intro strong { font-family: var(--head); font-size: 28px; line-height: 1.1; color: #fff; }
.cbp-mega-desc { font-size: 14px; line-height: 1.55; color: #EAF6FD; }
.cbp-mega-all { color: var(--pale); font-weight: 700; text-decoration: none; margin-top: 6px; }
.cbp-mega-all:hover { color: #fff; }
.cbp-mega-links { flex: 999 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 30px; align-content: start; }
.cbp-mega-link { display: block; color: #fff; text-decoration: none; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); transition: color .2s ease, padding .2s ease; }
.cbp-mega-link:hover { color: var(--pale); padding-left: 6px; }

/* Burger */
.cbp-menu-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.4); border-radius: 10px; padding: 10px; cursor: pointer; }
.cbp-burger { display: grid; gap: 5px; }
.cbp-burger i { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.cbp-nav-open .cbp-burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cbp-nav-open .cbp-burger i:nth-child(2) { opacity: 0; }
.cbp-nav-open .cbp-burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) {
	.cbp-menu-toggle { display: inline-flex; }
	.cbp-nav {
		position: absolute; left: 0; right: 0; top: 100%; background: var(--deep); flex-direction: column; align-items: stretch;
		padding: 8px var(--gutter) 24px; max-height: calc(100vh - 120px); overflow-y: auto; display: none; gap: 14px;
		box-shadow: 0 24px 48px rgba(0,0,0,.35);
	}
	.cbp-nav-open .cbp-nav { display: flex; }
	.cbp-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.cbp-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.cbp-navlink { flex: 1; padding: 14px 0; background: none; }
	.cbp-navlink svg { display: none; }
	.cbp-sub-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; background: rgba(255,255,255,.08); color: #fff; border: 0; border-radius: 8px; font-size: 20px; cursor: pointer; }
	.cbp-has-mega.is-open .cbp-sub-toggle span { display: inline-block; transform: rotate(45deg); }
	.cbp-mega { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; pointer-events: auto; box-shadow: none; background: transparent; border: 0; }
	.cbp-has-mega:hover > .cbp-mega, .cbp-has-mega:focus-within > .cbp-mega { display: none; }
	.cbp-has-mega.is-open > .cbp-mega { display: block; }
	.cbp-mega-inner { padding: 0 0 14px; max-height: none; }
	.cbp-mega-intro { display: none; }
	.cbp-mega-links { grid-template-columns: 1fr 1fr; }
	.cbp-nav-quote { align-self: flex-start; }
}
@media (max-width: 560px) {
	.cbp-mega-links { grid-template-columns: 1fr; }
	.cbp-logo-text { font-size: 19px; }
	.cbp-logo svg { width: 32px; height: 32px; }
}

/* ---------- Sections ---------- */
.cbp-section { padding: clamp(48px, 7vw, 88px) 0; }
.cbp-section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.cbp-section-alt { background: var(--sky); }
.cbp-section-head { max-width: 760px; margin-bottom: 30px; }
.cbp-section-head p { color: var(--muted); font-size: 17px; }
.cbp-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.cbp-kicker { display: inline-block; color: var(--gold-text); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; margin-bottom: 8px; }

/* ---------- Home hero ---------- */
.cbp-hero { background: radial-gradient(900px 420px at 88% 18%, rgba(255, 237, 184, .16), transparent 60%), linear-gradient(135deg, var(--blue) 0%, var(--deep) 100%); color: #fff; overflow: hidden; }
.cbp-hero-in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 104px); }
.cbp-hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cbp-hero-text > * { margin: 0; animation: cbpUp .8s cubic-bezier(.2,.7,.2,1) both; }
.cbp-hero-text > *:nth-child(2) { animation-delay: .1s; }
.cbp-hero-text > *:nth-child(3) { animation-delay: .2s; }
.cbp-hero-text > *:nth-child(4) { animation-delay: .3s; }
.cbp-hero-text > *:nth-child(5) { animation-delay: .4s; }
.cbp-hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -1.5px; }
.cbp-hero p { font-size: 19px; color: #EAF6FD; max-width: 580px; }
.cbp-eyebrow { align-self: flex-start; background: rgba(255,237,184,.14); color: var(--pale); border: 1px solid rgba(255,237,184,.4); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; animation: cbpUp .8s both, cbpPulse 2.4s ease-in-out 1s infinite !important; }
.cbp-hero .cbp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,237,184,.6); }
.cbp-hero .cbp-btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--pale); }
.cbp-stats { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 18px; border-top: 1px solid rgba(207,230,245,.3); }
.cbp-stats strong { display: block; font-family: var(--head); font-size: 26px; color: var(--pale); line-height: 1.2; }
.cbp-stats span { font-size: 14px; color: #CFE6F5; }
.cbp-hero-art { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cbp-hero-tile { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,.25); animation: cbpPop .7s cubic-bezier(.2,.7,.2,1) both; }
.cbp-hero-tile img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; animation: cbpFloat 5s ease-in-out infinite; }
.cbp-hero-tile.t0 { animation-delay: .3s; } .cbp-hero-tile.t1 { animation-delay: .42s; transform: translateY(24px); }
.cbp-hero-tile.t2 { animation-delay: .54s; } .cbp-hero-tile.t3 { animation-delay: .66s; transform: translateY(24px); }
.cbp-hero-tile.t1 img { animation-delay: -1.3s; } .cbp-hero-tile.t2 img { animation-delay: -2.6s; } .cbp-hero-tile.t3 img { animation-delay: -3.9s; }

/* ---------- Cards ---------- */
.cbp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.cbp-cards-5 { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.cbp-cards-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cbp-pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.cbp-pcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,42,61,.12); border-color: var(--gold); color: inherit; }
.cbp-pcard-img { background: var(--sky); overflow: hidden; }
.cbp-pcard-img img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cbp-pcard:hover .cbp-pcard-img img { transform: scale(1.05) rotate(-1deg); }
.cbp-pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cbp-pcard-body strong { font-family: var(--head); font-size: 19px; color: var(--navy); line-height: 1.2; }
.cbp-pcard-text { font-size: 14px; color: var(--muted); line-height: 1.5; }
.cbp-pcard-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--gold-text); }

/* ---------- Page hero ---------- */
.cbp-page-hero { background: linear-gradient(135deg, var(--blue) 0%, var(--deep) 100%); color: #fff; }
.cbp-page-hero-in { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); }
.cbp-page-hero-text { flex: 1 1 520px; min-width: 0; }
.cbp-page-hero h1 { color: #fff; margin: 10px 0 14px; animation: cbpUp .7s cubic-bezier(.2,.7,.2,1) both; }
.cbp-page-hero .cbp-lead { color: #EAF6FD; font-size: 18px; max-width: 640px; animation: cbpUp .7s .1s cubic-bezier(.2,.7,.2,1) both; }
.cbp-page-hero .cbp-btns { margin-top: 22px; animation: cbpUp .7s .2s cubic-bezier(.2,.7,.2,1) both; }
.cbp-page-hero .cbp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,237,184,.6); }
.cbp-page-hero-img { flex: 0 1 440px; margin: 0; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 24px 48px rgba(0,0,0,.25); animation: cbpPop .7s .2s cubic-bezier(.2,.7,.2,1) both; }
.cbp-page-hero-img img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; }
.cbp-narrow-hero { max-width: 900px; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 60px); }
.cbp-crumbs { font-size: 13px; color: #CFE6F5; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.cbp-crumbs a { color: var(--pale); text-decoration: none; }
.cbp-crumbs a:hover { text-decoration: underline; }
.cbp-crumbs .sep { opacity: .5; }
.cbp-trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #EAF6FD; }
.cbp-trust li::before { content: "✓"; color: var(--pale); font-weight: 700; margin-right: 6px; }

/* ---------- Content ---------- */
.cbp-with-side { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
@media (max-width: 980px) { .cbp-with-side { grid-template-columns: 1fr; } }
.cbp-narrow { max-width: 860px; }
.entry-content { font-size: 17px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 1.6em 0 .6em; padding-left: 14px; border-left: 4px solid var(--gold); font-size: clamp(24px, 2.6vw, 32px); }
.entry-content h3 { margin: 1.3em 0 .4em; color: var(--deep); }
.entry-content a { font-weight: 600; }
.entry-content .wp-block-list, .entry-content ul:not([class]) { list-style: none; padding-left: 0; }
.entry-content .wp-block-list li, .entry-content ul:not([class]) li { position: relative; padding: 5px 0 5px 30px; }
.entry-content .wp-block-list li::before, .entry-content ul:not([class]) li::before {
	content: ""; position: absolute; left: 0; top: 10px; width: 19px; height: 19px; border-radius: 50%;
	background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%230B2A3D'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.entry-content ol { padding-left: 1.3em; }
.entry-content .wp-block-buttons { margin: 1.4em 0; }
.entry-content blockquote { border-left: 4px solid var(--gold); background: #fff; margin: 1.5em 0; padding: 16px 22px; border-radius: 0 12px 12px 0; }
.entry-content .wp-block-image img { border-radius: 14px; }

/* FAQ */
.wp-block-details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin: 0 0 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.wp-block-details:hover { border-color: var(--line); }
.wp-block-details[open] { box-shadow: 0 10px 24px rgba(8,112,175,.10); border-color: var(--line); }
.wp-block-details summary { list-style: none; cursor: pointer; font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; flex: 0 0 auto; font-size: 24px; line-height: 1; color: var(--gold-text); transition: transform .3s ease; }
.wp-block-details summary:hover { color: var(--gold-text); }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > p { margin: 10px 0 0; animation: cbpFade .3s ease both; }

/* Tables */
.wp-block-table { overflow-x: auto; margin: 1.4em 0; }
.wp-block-table table { border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; font-size: 15px; }
.wp-block-table thead { border: 0; }
.wp-block-table thead th { background: var(--blue); color: #fff; font-family: var(--head); text-align: left; padding: 12px 14px; border: 0; }
.wp-block-table td { padding: 11px 14px; border: 0; border-top: 1px solid var(--border); }
.wp-block-table tbody tr:nth-child(even) td { background: var(--bg); }

/* Home content blocks */
.cbp-home-content > .wp-block-group { margin: 0; }
.cbp-home-content .cbp-section > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.cbp-home-content .cbp-section > .cbp-grid { padding: 0 var(--gutter); }
.cbp-home-content h2 { border: 0; padding: 0; margin-top: 0; }
.cbp-grid > .wp-block-group__inner-container, .cbp-grid.is-layout-flow:not(:has(> .wp-block-group__inner-container)) { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.cbp-grid > .wp-block-group__inner-container > *, .cbp-card > .wp-block-group__inner-container > * { margin-top: 0; }
.cbp-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px !important; margin: 0 !important; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.cbp-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,42,61,.12); border-color: var(--gold); }
.cbp-card h3 { margin-top: 0; }
.cbp-card p { margin: 0; color: var(--muted); font-size: 15px; }
.cbp-step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin: 0 0 12px !important; background: var(--gold); color: var(--navy); font-family: var(--head); font-weight: 800; font-size: 18px; }
.cbp-cta { background: linear-gradient(135deg, var(--deep), var(--blue)); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px) !important; text-align: center; }
.cbp-cta h2 { color: #fff; }
.cbp-cta p { color: #EAF6FD; }
.cbp-cta .wp-block-buttons { justify-content: center; }

/* ---------- Sidebar ---------- */
.cbp-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
@media (max-width: 980px) { .cbp-side { position: static; } }
.cbp-side-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.cbp-side-title { font-size: 19px; margin: 0 0 14px; }
.cbp-side-quote { border-top: 4px solid var(--gold); }
.cbp-side-cta { background: linear-gradient(135deg, var(--blue), var(--deep)); border: 0; color: #EAF6FD; }
.cbp-side-cta .cbp-side-title { color: #fff; }
.cbp-side-links { list-style: none; margin: 0 0 12px; padding: 0; }
.cbp-side-links li + li { border-top: 1px solid var(--border); }
.cbp-side-links a { display: flex; align-items: center; gap: 12px; padding: 9px 0; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 14px; line-height: 1.35; }
.cbp-side-links a:hover { color: var(--gold-text); }
.cbp-side-links img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; background: var(--sky); }

/* ---------- Quote form ---------- */
.cbp-quote-form { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.cbp-side .cbp-quote-form { border: 0; padding: 0; }
.cbp-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.is-compact .cbp-fgrid { grid-template-columns: 1fr; }
.cbp-span2 { grid-column: 1 / -1; }
.cbp-quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.cbp-dims { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.is-compact .cbp-dims { grid-template-columns: repeat(2, 1fr); }
.cbp-quote-form input, .cbp-quote-form select, .cbp-quote-form textarea, .search-form input[type="search"] {
	width: 100%; font: inherit; font-size: 15px; font-weight: 400; color: var(--navy); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; transition: border-color .2s ease, background .2s ease;
}
.cbp-quote-form input:focus, .cbp-quote-form select:focus, .cbp-quote-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(8,112,175,.15); }
.cbp-quote-form input[type="file"] { padding: 8px; }
.cbp-quote-form .cbp-btn { width: 100%; font-size: 16px; }
.cbp-form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.cbp-form-error { background: #FDECEC; color: #8A1F1F; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.cbp-form-done { background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--gold); border-radius: 16px; padding: 22px 24px; }
.cbp-form-done strong { font-family: var(--head); font-size: 20px; color: var(--navy); }
.cbp-hp { position: absolute !important; left: -9999px; }
@media (max-width: 640px) { .cbp-fgrid { grid-template-columns: 1fr; } .cbp-dims { grid-template-columns: 1fr 1fr; } }

/* Search form */
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-submit { background: var(--gold); color: var(--navy); border: 0; border-radius: 10px; padding: 0 20px; font-weight: 700; cursor: pointer; }

/* ---------- Blog ---------- */
.cbp-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.cbp-post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.cbp-post-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,42,61,.12); }
.cbp-post-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.cbp-post-card:hover .cbp-post-img img { transform: scale(1.04); }
.cbp-post-img { overflow: hidden; background: var(--sky); }
.cbp-post-body { padding: 20px 22px 24px; }
.cbp-post-body h3 { font-size: 20px; margin: 10px 0 8px; }
.cbp-post-body h3 a { color: var(--navy); text-decoration: none; }
.cbp-post-body h3 a:hover { color: var(--gold-text); }
.cbp-post-body p { color: var(--muted); font-size: 15px; margin: 0; }
.cbp-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--muted); }
.cbp-page-hero .cbp-post-meta { color: #CFE6F5; margin: 14px 0 4px; }
.cbp-chip { display: inline-block; background: var(--sky); color: var(--deep); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; text-decoration: none; }
.cbp-page-hero .cbp-chip { background: rgba(255,237,184,.16); color: var(--pale); }
.cbp-cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cbp-cat-chips .cbp-chip { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); padding: 7px 14px; }
.cbp-cat-chips .cbp-chip:hover, .cbp-cat-chips .cbp-chip.is-active { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.cbp-post-feature { margin: 0 0 28px; border-radius: 18px; overflow: hidden; }
.cbp-post-feature { background: var(--sky); }
.cbp-post-feature img { width: 100%; max-height: 420px; object-fit: contain; }
.cbp-pagination { margin-top: 36px; }
.cbp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cbp-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid var(--border); color: var(--navy); text-decoration: none; font-weight: 600; }
.cbp-pagination .page-numbers.current, .cbp-pagination .page-numbers:hover { background: var(--gold); border-color: var(--gold); }

/* ---------- Footer ---------- */
.cbp-footer-cta { background: var(--sky); padding: 44px 0; }
.cbp-footer-cta-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cbp-footer-cta h2 { margin: 0 0 6px; }
.cbp-footer-cta p { margin: 0; color: var(--muted); }
.cbp-footer { background: var(--navy); color: #CFE6F5; font-size: 15px; padding: 56px 0 0; }
.cbp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 36px; padding-bottom: 40px; }
@media (max-width: 900px) { .cbp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cbp-footer-grid { grid-template-columns: 1fr; } }
.cbp-footer h3 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.cbp-footer ul { list-style: none; margin: 0; padding: 0; }
.cbp-footer li { margin: 0 0 9px; line-height: 1.4; }
.cbp-footer a { color: #CFE6F5; text-decoration: none; }
.cbp-footer a:hover { color: var(--pale); }
.cbp-footer-about p { margin: 14px 0; }
.cbp-footer-contact a { color: var(--pale); }
.cbp-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(207,230,245,.15); padding-top: 18px; padding-bottom: 22px; font-size: 13px; }
.cbp-float-quote { position: fixed; right: 18px; bottom: 18px; z-index: 900; background: var(--gold); color: var(--navy); font-weight: 700; text-decoration: none; padding: 13px 20px; border-radius: 999px; box-shadow: 0 12px 28px rgba(11,42,61,.28); opacity: 0; transform: translateY(20px); transition: opacity .3s ease, transform .3s ease; animation: cbpPulse 2.4s ease-in-out infinite; }
.cbp-scrolled-far .cbp-float-quote { opacity: 1; transform: none; }
.cbp-float-quote:hover { background: var(--pale); color: var(--navy); }

/* ---------- Reveal on scroll ---------- */
.cbp-js .cbp-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.cbp-js .cbp-reveal.is-visible { opacity: 1; transform: none; }

@keyframes cbpUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes cbpPop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; } }
@keyframes cbpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cbpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes cbpPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,74,.55); } 50% { box-shadow: 0 0 0 9px rgba(201,162,74,0); } }

@media (max-width: 782px) { .admin-bar .cbp-header { top: 46px; } }
@media (max-width: 700px) {
	.cbp-topbar-in { justify-content: center; text-align: center; }
	.cbp-hero-art { display: none; }
	.cbp-page-hero-img { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.cbp-js .cbp-reveal { opacity: 1; transform: none; }
}
@media (max-width: 560px) { .cbp-topbar .cbp-gold-text, .cbp-topbar a[href^="tel"] { display: none; } }

/* ======================================================
   Product page
   ====================================================== */
.cbp-pp-crumbs { background: #fff; border-bottom: 1px solid var(--border); }
.cbp-pp-crumbs .cbp-crumbs { color: var(--muted); padding: 12px 0; }
.cbp-pp-crumbs .cbp-crumbs a { color: var(--gold-text); }
.cbp-pp-top { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: clamp(24px, 4vw, 48px) 0 clamp(32px, 5vw, 56px); }
.cbp-pp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .cbp-pp-grid { grid-template-columns: 1fr; } }

/* Gallery */
.cbp-pp-gallery { position: sticky; top: 110px; }
@media (max-width: 960px) { .cbp-pp-gallery { position: static; } }
.cbp-pp-main { position: relative; margin: 0; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--sky) 100%); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 7; }
.cbp-pp-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.cbp-pp-main:hover img { transform: scale(1.04); }
.cbp-pp-main img.is-swapping { opacity: 0; }
.cbp-pp-badge { position: absolute; left: 16px; top: 16px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(169,134,47,.3); }
.cbp-pp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.cbp-pp-thumb { padding: 0; border: 2px solid var(--border); border-radius: 14px; background: var(--sky); overflow: hidden; cursor: pointer; aspect-ratio: 1; transition: border-color .2s ease, transform .2s ease; }
.cbp-pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cbp-pp-thumb:hover { transform: translateY(-2px); border-color: var(--line); }
.cbp-pp-thumb.is-active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,.25); }

/* Info */
.cbp-pp-cat { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); text-decoration: none; margin-bottom: 8px; }
.cbp-pp-info h1 { font-size: clamp(30px, 3.6vw, 46px); margin: 0 0 12px; }
.cbp-pp-lead { font-size: 17px; color: var(--muted); margin: 0 0 18px; }
.cbp-pp-highlights { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
@media (max-width: 560px) { .cbp-pp-highlights { grid-template-columns: 1fr; } }
.cbp-pp-highlights li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 500; color: var(--navy); line-height: 1.45; }
.cbp-pp-highlights li::before { content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%230B2A3D'/%3E%3C/svg%3E") center / 13px no-repeat; }
.cbp-pp-quote { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: 20px; padding: 22px; box-shadow: 0 18px 40px rgba(11,42,61,.08); }
.cbp-pp-quote-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; margin-bottom: 14px; }
.cbp-pp-quote-head strong { font-family: var(--head); font-size: 20px; color: var(--navy); }
.cbp-pp-quote-head span { font-size: 13px; color: var(--muted); }
.cbp-pp-quote .cbp-quote-form { border: 0; padding: 0; background: transparent; }
.cbp-pp-quote .is-compact .cbp-fgrid { grid-template-columns: 1fr 1fr; }
.cbp-pp-quote .is-compact .cbp-fgrid > label:first-child { grid-column: 1 / -1; }
.cbp-pp-quote .is-compact .cbp-dims { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 560px) { .cbp-pp-quote .is-compact .cbp-fgrid { grid-template-columns: 1fr; } .cbp-pp-quote .is-compact .cbp-dims { grid-template-columns: 1fr 1fr; } }

/* Trust strip */
.cbp-pp-trust { background: var(--navy); color: #CFE6F5; }
.cbp-pp-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 22px; }
@media (max-width: 900px) { .cbp-pp-trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cbp-pp-trust-grid { grid-template-columns: 1fr; } }
.cbp-pp-trust-item { display: flex; align-items: center; gap: 12px; }
.cbp-pp-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,237,184,.12); color: var(--pale); }
.cbp-pp-trust-item strong { display: block; color: #fff; font-size: 15px; }
.cbp-pp-trust-item small { display: block; font-size: 13px; color: #A9C6DA; line-height: 1.35; }

/* Tabs */
.cbp-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--border); margin-bottom: 28px; }
.cbp-tab { font: inherit; font-weight: 700; font-size: 16px; color: var(--muted); background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 14px 20px; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.cbp-tab:hover { color: var(--navy); }
.cbp-tab.is-active { color: var(--navy); border-bottom-color: var(--gold); }
.cbp-tabpanel { display: none; max-width: 900px; }
.cbp-tabpanel.is-active { display: block; animation: cbpFade .3s ease both; }
.cbp-js .cbp-tabpanel .cbp-reveal { opacity: 1; transform: none; }
.cbp-specs { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; font-size: 15px; }
.cbp-specs th, .cbp-specs td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--border); vertical-align: top; }
.cbp-specs tr:first-child th, .cbp-specs tr:first-child td { border-top: 0; }
.cbp-specs th { width: 30%; background: var(--bg); color: var(--navy); font-family: var(--head); font-weight: 700; }
.cbp-specs-note { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* Steps */
.cbp-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .cbp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cbp-steps { grid-template-columns: 1fr; } }
.cbp-steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 60px 20px 22px; }
.cbp-steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--head); font-weight: 800; display: grid; place-items: center; }
.cbp-steps strong { display: block; font-family: var(--head); font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.cbp-steps span { color: var(--muted); font-size: 15px; }
.cbp-pp-quote .is-compact label.cbp-span2 { grid-column: auto; }
.cbp-pp-quote .is-compact .cbp-fgrid > label:first-child { grid-column: 1 / -1; }

/* ---------- Home content v2 ---------- */
.cbp-home-content .cbp-section > .cbp-lead { color: var(--muted); font-size: 17px; margin-top: -6px; margin-bottom: 28px; }
.cbp-home-content .cbp-split { gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.cbp-home-content .cbp-split > .wp-block-column > *:first-child { margin-top: 0; }
.cbp-home-content .cbp-split h3 { margin-top: 0; color: var(--navy); font-size: 22px; }
.cbp-home-content .cbp-split > .wp-block-column:last-child { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px 28px; }
.cbp-home-content .cbp-section-alt .cbp-split > .wp-block-column:first-child { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px 28px; }
.cbp-card-link h3 a { color: var(--navy); text-decoration: none; }
.cbp-card-link h3 a::after { content: " \2192"; color: var(--gold-text); transition: margin .2s ease; }
.cbp-card-link { position: relative; }
.cbp-card-link h3 a::before { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.cbp-card-link:hover h3 a { color: var(--deep); }
.cbp-home-content .wp-block-table { margin-top: 0; }
.cbp-home-content .wp-block-table td:first-child { font-weight: 600; color: var(--navy); }
.cbp-cta .is-style-outline .wp-block-button__link { color: #fff !important; }
.cbp-cta .is-style-outline .wp-block-button__link:hover { color: var(--navy) !important; }
.cbp-home-content .cbp-section > .wp-block-details { max-width: calc(var(--wrap) - 2 * var(--gutter)); padding-left: 20px; padding-right: 20px; }
@media (max-width: 781px) { .cbp-home-content .cbp-split > .wp-block-column { flex-basis: 100% !important; } }

.cbp-grid-3.is-layout-flow:not(:has(> .wp-block-group__inner-container)), .cbp-grid-3 > .wp-block-group__inner-container { grid-template-columns: repeat(3, 1fr); }
.cbp-grid-4.is-layout-flow:not(:has(> .wp-block-group__inner-container)), .cbp-grid-4 > .wp-block-group__inner-container { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
	.cbp-grid-3.is-layout-flow:not(:has(> .wp-block-group__inner-container)), .cbp-grid-3 > .wp-block-group__inner-container,
	.cbp-grid-4.is-layout-flow:not(:has(> .wp-block-group__inner-container)), .cbp-grid-4 > .wp-block-group__inner-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.cbp-grid-3.is-layout-flow:not(:has(> .wp-block-group__inner-container)), .cbp-grid-3 > .wp-block-group__inner-container,
	.cbp-grid-4.is-layout-flow:not(:has(> .wp-block-group__inner-container)), .cbp-grid-4 > .wp-block-group__inner-container { grid-template-columns: 1fr; }
}

/* ---------- Search ---------- */
.cbp-search-toggle {
	display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; cursor: pointer;
	background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
	padding: 10px 18px 10px 14px; font: inherit; font-size: 14px; transition: background .2s ease, border-color .2s ease;
}
.cbp-search-toggle:hover, .cbp-search-toggle[aria-expanded="true"] { background: rgba(255,255,255,.2); border-color: var(--gold); }
.cbp-search-toggle-text { color: #EAF6FD; white-space: nowrap; }
@media (max-width: 1440px) { .cbp-search-toggle { padding: 10px; border-radius: 10px; } .cbp-search-toggle-text { display: none; } }
@media (max-width: 1240px) { .cbp-header-in { flex-wrap: nowrap; } .cbp-search-toggle { margin-left: auto; } }

.cbp-search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--deep); border-top: 1px solid var(--line); box-shadow: 0 24px 48px rgba(0,0,0,.35); z-index: 5; animation: cbpFade .2s ease both; }
.cbp-search-panel[hidden] { display: none; }
.cbp-search-panel-in { max-width: 900px; margin: 0 auto; padding: 22px var(--gutter) 26px; }
.cbp-search-form { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 6px 6px 6px 16px; color: var(--muted); }
.cbp-search-form svg { flex: 0 0 auto; color: var(--deep); }
.cbp-search-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 17px; padding: 12px 4px; color: var(--navy); background: transparent; }
.cbp-search-form input::-webkit-search-cancel-button { display: none; }
.cbp-search-form .cbp-btn { padding: 12px 22px; }
.cbp-search-close { background: transparent; border: 0; color: var(--muted); font-size: 28px; line-height: 1; width: 40px; height: 40px; cursor: pointer; border-radius: 10px; }
.cbp-search-close:hover { background: var(--sky); color: var(--navy); }
.cbp-search-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: #CFE7F6; }
.cbp-search-popular a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 12px; transition: border-color .2s ease, color .2s ease; }
.cbp-search-popular a:hover { border-color: var(--gold); color: var(--pale); }
.cbp-search-list { list-style: none; margin: 14px 0 0; padding: 0; background: #fff; border-radius: 14px; overflow: hidden; }
.cbp-search-list:empty { display: none; }
.cbp-search-list a { display: flex; align-items: center; gap: 14px; padding: 10px 14px; color: var(--navy); text-decoration: none; border-top: 1px solid var(--border); }
.cbp-search-list li:first-child a { border-top: 0; }
.cbp-search-list a:hover, .cbp-search-list a.is-active { background: var(--bg); }
.cbp-search-list img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--sky); flex: 0 0 auto; }
.cbp-search-list strong { display: block; font-size: 15px; }
.cbp-search-list small { display: block; color: var(--muted); font-size: 12px; }
.cbp-search-list mark { background: var(--pale); color: inherit; border-radius: 3px; padding: 0 1px; }
.cbp-search-list .cbp-search-all a { justify-content: center; font-weight: 700; color: var(--gold-text); background: var(--bg); }
.cbp-search-list .cbp-search-none { padding: 16px; color: var(--muted); font-size: 15px; }
.cbp-search-list .cbp-search-none a { display: inline; padding: 0; border: 0; color: var(--gold-text); font-weight: 700; background: none; }
@media (max-width: 560px) {
	.cbp-search-panel-in { padding: 14px var(--gutter) 18px; }
	.cbp-search-form { padding-left: 12px; }
	.cbp-search-form input { font-size: 16px; }
	.cbp-search-form .cbp-btn { display: none; }
	.cbp-search-popular a:nth-child(n+6) { display: none; }
}

/* Search results page */
.cbp-search-inline { display: flex; gap: 10px; max-width: 620px; margin: 18px 0 6px; }
.cbp-search-inline input { flex: 1; min-width: 0; border: 0; border-radius: 12px; padding: 14px 16px; font: inherit; font-size: 16px; }
.cbp-search-empty { text-align: center; max-width: 560px; margin: 0 auto; }
.cbp-search-empty p { color: var(--muted); }
.cbp-header-in > .cbp-logo { order: 1; }
.cbp-header-in > .cbp-nav { order: 2; }
.cbp-header-in > .cbp-search-toggle { order: 3; }
.cbp-header-in > .cbp-menu-toggle { order: 4; }
@media (min-width: 1241px) and (max-width: 1380px) {
	.cbp-menu { gap: 2px 12px; }
	.cbp-nav { gap: 14px; }
	.cbp-navlink { font-size: 14px; }
	.cbp-header-in { gap: 16px 18px; }
	.cbp-nav-quote { padding-left: 18px; padding-right: 18px; }
}
@media (min-width: 1241px) { .cbp-header-in > .cbp-nav { margin-left: auto; } .cbp-header-in > .cbp-search-toggle { margin-left: 4px; } }
