/* ==========================================================================
   Just For Baby — main stylesheet
   One file, no framework. Sections:
   1 Tokens & fonts  2 Base  3 Layout & utilities  4 Header & nav  5 Search
   6 Hero  7 Sections & cards  8 Carousels & tabs  9 Article grid  10 Videos
   11 Milestones  12 Inner pages  13 Product  14 Article  15 Footer  16 Motion
   ========================================================================== */

/* 1 Tokens & fonts ------------------------------------------------------- */
@font-face {
	font-family: Inter;
	src: url(../fonts/Inter-latin.woff2) format("woff2");
	font-weight: 300 700;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Noto Sans Bengali";
	src: url(../fonts/NotoSansBengali-bengali.woff2) format("woff2");
	font-weight: 400 700;
	font-display: swap;
	unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}

:root {
	--navy: #2c2a4a;
	--royal: #1e3a8a;
	--sky: #81d1df;
	--mint: #dff4f7;
	--ice: #eff9fb;
	--card: rgba(129, 209, 223, .145);
	--green: #42bb91;
	--green-dark: #2fa57c;
	--text: #4d4d4d;
	--line: rgba(44, 42, 74, .1);
	--white: #fff;
	--font: Inter, "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1140px;
	--gutter: 15px;
	--radius: 10px;
	--header-h: 90px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--shadow: 0 10px 30px rgba(44, 42, 74, .08);
	--shadow-lg: 0 18px 40px rgba(44, 42, 74, .14);
}

/* 2 Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 14px;
	line-height: 1.7;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.lang-bn { font-size: 15px; line-height: 1.8; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green); }
h1, h2, h3, h4, h5, h6 { color: var(--navy); margin: 0 0 .6em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; background: #fff; }
[hidden] { display: none !important; }

/* 3 Layout & utilities --------------------------------------------------- */
.jfb-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.jfb-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 30px;
	border-radius: 25px; border: 0;
	background: var(--green); color: #fff;
	font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1;
	transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
	cursor: pointer;
}
.jfb-btn:hover, .wp-block-button__link:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(66, 187, 145, .35); }
.jfb-btn:active { transform: translateY(0); }
.jfb-btn--sm { min-height: 40px; padding: 0 22px; font-size: 13px; }
.jfb-btn--outline, .is-style-jfb-outline .wp-block-button__link {
	background: #fff; color: #000; border: 1px solid #000; border-bottom-width: 3px; border-radius: 0;
	font-size: 12px; letter-spacing: .12em; min-height: 46px; padding: 0 36px;
}
.jfb-btn--outline:hover, .is-style-jfb-outline .wp-block-button__link:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; }
.jfb-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

.jfb-prose { font-size: 14px; line-height: 1.85; }
.jfb-prose > * + * { margin-top: 1em; }
.jfb-prose h2 { font-size: 24px; margin-top: 1.6em; }
.jfb-prose h3 { font-size: 20px; margin-top: 1.4em; }
.jfb-prose a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.jfb-prose img { border-radius: var(--radius); }
.jfb-prose li + li { margin-top: .4em; }
.jfb-prose table { width: 100%; border-collapse: collapse; }
.jfb-prose td, .jfb-prose th { border: 1px solid var(--line); padding: 8px 12px; }
.page-prose { padding-block: 50px 80px; }

/* Core block helpers */
.is-style-jfb-rounded img { border-radius: var(--radius); }
.is-style-jfb-card { background: var(--card); border-radius: var(--radius); padding: 24px; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100%; }

/* 4 Header & nav ---------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	height: var(--header-h);
	background: var(--sky);
	transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.has-hero .site-header.is-stuck, .site-header.is-stuck { background: var(--sky); box-shadow: 0 4px 20px rgba(44, 42, 74, .08); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 22px; position: relative; }

.site-logo {
	position: absolute; left: var(--gutter); top: 0;
	width: 154px; z-index: 2;
	transition: transform .35s var(--ease), width .35s var(--ease);
	filter: drop-shadow(0 6px 10px rgba(44, 42, 74, .06));
	transform-origin: top left;
}
.site-logo img { width: 100%; height: auto; }
.site-header.is-stuck .site-logo { transform: scale(.62); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav .menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; height: var(--header-h); }
.site-nav .menu > li > a {
	font-size: 15px; font-weight: 700; color: var(--navy);
	position: relative; padding: 4px 0;
}
.site-nav .menu > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--navy);
	transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav .menu > li > a:hover::after,
.site-nav .menu > .current-menu-item > a::after,
.site-nav .menu > .current-menu-ancestor > a::after,
.site-nav .menu > .current-menu-parent > a::after { transform: scaleX(1); }
.site-nav .menu > li > a:hover { color: var(--navy); }
.submenu-toggle { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 3px; color: var(--navy); transition: transform .25s var(--ease); }
.submenu-toggle .jfb-icon { width: 11px; height: 11px; }
.menu-item-has-children > a[href="#"] { cursor: default; }

/* Mega dropdown with thumbnails */
.site-nav .sub-menu {
	position: absolute; top: calc(100% - 14px); left: 50%;
	display: flex; gap: 18px; list-style: none; margin: 0; padding: 20px;
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
	z-index: 10;
}
.site-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu,
.site-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-nav .menu > li:hover > .submenu-toggle, .site-nav .menu > li.is-open > .submenu-toggle { transform: rotate(180deg); }
.site-nav .sub-menu li { width: 150px; }
.site-nav .sub-menu a { display: block; font-size: 14px; font-weight: 600; color: var(--navy); text-align: center; line-height: 1.35; }
.site-nav .sub-menu a:hover { color: var(--green); }
.site-nav .sub-menu .mega-thumb { width: 150px; height: 150px; object-fit: cover; border-radius: 8px 8px 50px 8px; margin-bottom: 10px; transition: transform .35s var(--ease); }
.site-nav .sub-menu a:hover .mega-thumb { transform: scale(1.04); }
.site-nav .sub-menu li:not(:has(.mega-thumb)) { width: auto; white-space: nowrap; }

.site-nav__head { display: none; }
.site-nav__extras { display: flex; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.site-nav__extras a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #000; }
.site-nav__extras .lang-item.is-current a { font-weight: 600; }
.site-nav__extras img { width: 18px; height: 12px; }
.site-header__tools { display: flex; align-items: center; gap: 14px; }
.search-toggle { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #000; transition: background-color .2s; }
.search-toggle:hover { background: rgba(255, 255, 255, .4); }
.nav-toggle, .lang-quick { display: none; }

/* 5 Search overlay -------------------------------------------------------- */
.site-search {
	width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
	background: rgba(44, 42, 74, .92); color: #fff;
	place-items: center;
}
.site-search[open] { display: grid; animation: fade .25s var(--ease); }
.site-search::backdrop { background: transparent; }
.site-search form { display: flex; width: min(720px, 88vw); border-bottom: 2px solid rgba(255, 255, 255, .6); }
.site-search input { flex: 1; font: inherit; font-size: clamp(22px, 4vw, 36px); color: #fff; background: none; border: 0; padding: 14px 0; outline: none; }
.site-search input::placeholder { color: rgba(255, 255, 255, .6); }
.site-search form button { color: #fff; padding: 0 6px; }
.site-search__close { position: absolute; top: 24px; right: 28px; color: #fff; }

/* 6 Hero ------------------------------------------------------------------ */
.jfb-hero {
	position: relative; overflow: hidden;
	min-height: 800px;
	padding-top: var(--header-h);
	background: var(--sky) url(../img/bg.png) center bottom / cover no-repeat;
}
.jfb-hero__track { display: grid; }
.jfb-hero__slide {
	grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 30px;
	max-width: var(--container); margin: 0 auto; width: 100%; padding: 60px var(--gutter) 230px;
	opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s;
}
.jfb-hero__slide.is-active { opacity: 1; visibility: visible; }
.jfb-hero__text { padding-left: 15px; max-width: 540px; position: relative; z-index: 2; }
.jfb-hero__title { font-size: 42px; font-weight: 700; color: var(--navy); margin-bottom: 18px; letter-spacing: .01em; }
.jfb-hero__lead { font-size: 16px; line-height: 1.6; letter-spacing: .04em; color: var(--navy); margin-bottom: 26px; }
.jfb-hero__slide .jfb-btn { min-height: 50px; padding: 0 32px; font-size: 15px; font-weight: 500; }
.jfb-hero__media img { width: 100%; max-width: 560px; margin-left: auto; }
.jfb-hero__slide.is-active .jfb-hero__text > * { animation: rise .8s var(--ease) both; }
.jfb-hero__slide.is-active .jfb-hero__text > :nth-child(2) { animation-delay: .1s; }
.jfb-hero__slide.is-active .jfb-hero__text > :nth-child(3) { animation-delay: .2s; }
.jfb-hero__slide.is-active .jfb-hero__media img { animation: float-in 1s var(--ease) both; }
.jfb-hero__clouds img { position: absolute; z-index: 1; pointer-events: none; }
.jfb-hero__clouds .c1 { width: 120px; left: 0; top: 520px; animation: drift 9s ease-in-out infinite; }
.jfb-hero__clouds .c2 { width: 85px; left: 130px; top: 500px; animation: drift 11s ease-in-out infinite reverse; }
.jfb-hero__clouds .c3 { width: 70px; left: 265px; top: 480px; animation: drift 13s ease-in-out infinite; }
.jfb-hero__giraffe { position: absolute; right: 7%; top: 520px; width: 100px; z-index: 3; pointer-events: none; animation: bob 5s ease-in-out infinite; }
.jfb-hero__wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 230px; z-index: 2; pointer-events: none; }
.jfb-hero .jfb-arrow { top: 50%; }
.jfb-hero .jfb-dots { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 4; }

.jfb-arrow {
	position: absolute; z-index: 5; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; color: var(--green); box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
	transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.jfb-arrow:hover { background: var(--green); color: #fff; transform: translateY(-50%) scale(1.08); }
.jfb-arrow--prev { left: 40px; }
.jfb-arrow--next { right: 40px; }
.jfb-arrow--ghost { background: transparent; color: #fff; box-shadow: none; }
.jfb-arrow--ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }

.jfb-dots { display: flex; justify-content: center; gap: 8px; }
.jfb-dots button { width: 12px; height: 12px; border-radius: 50%; background: #000; transition: transform .25s, background-color .25s, box-shadow .25s; }
.jfb-dots button[aria-current="true"] { background: var(--green); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #000; }

/* 7 Sections & cards ------------------------------------------------------ */
.jfb-section { position: relative; padding-block: 70px; }
.jfb-section__head { text-align: center; margin-bottom: 50px; }
.jfb-section__title { font-size: 30px; font-weight: 700; margin: 0; }
.jfb-section__sub { max-width: 720px; margin: 14px auto 0; color: var(--navy); text-transform: capitalize; }
.jfb-section--mint { background: var(--mint); }
.jfb-section--ice { background: var(--ice); }
.jfb-section--mint-curve { background: var(--mint); border-top-left-radius: 250px; border-bottom-right-radius: 420px; margin-top: 60px; padding-top: 110px; padding-bottom: 210px; }
.jfb-section--navy-curve { background: #19347a; color: #fff; border-top-left-radius: 250px; border-bottom-right-radius: 250px; }
.jfb-section--navy-curve .jfb-section__title { color: #fff; }
.jfb-section--sky-wave { background: var(--sky); }
.jfb-section .jfb-cloud { position: absolute; pointer-events: none; }
.jfb-section .jfb-cloud--a { width: 120px; left: 5%; top: -30px; }
.jfb-section .jfb-cloud--b { width: 70px; left: 22%; top: -10px; }
.jfb-deco { position: absolute; pointer-events: none; z-index: 2; }
.jfb-deco--lion { width: 154px; right: 6%; top: -125px; animation: peek 6s ease-in-out infinite; }
.jfb-deco--baby { width: 309px; right: 5%; bottom: -10px; }
.jfb-deco--giraffe { width: 110px; right: 6%; bottom: 20px; }
.jfb-section + .jfb-section--plain { padding-top: 40px; }
.entry-blocks > .jfb-section:last-child { padding-bottom: 120px; }

/* Card grid (stage cards / advice cards) */
.jfb-card-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 14px; }
.jfb-card-grid > * { flex: 0 1 calc(50% - 7px); }
.jfb-icard {
	position: relative; display: flex; align-items: center; gap: 30px;
	min-height: 249px; padding: 20px 20px 0; border-radius: var(--radius);
	background: var(--card);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s;
}
.jfb-icard:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: rgba(129, 209, 223, .22); }
.jfb-icard__img { align-self: flex-start; flex: 0 0 249px; height: 249px; margin-bottom: -20px; overflow: hidden; border-bottom-right-radius: 70px; }
.jfb-icard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.jfb-icard:hover .jfb-icard__img img { transform: scale(1.05); }
.jfb-icard__title { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--navy); margin-bottom: 20px; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* 8 Carousels & tabs ------------------------------------------------------ */
.jfb-products__range { display: block; max-width: 1024px; margin: 0 auto 60px; }
.jfb-products__range img { width: 100%; transition: transform .6s var(--ease); }
.jfb-products__range:hover img { transform: scale(1.02); }

.jfb-carousel { position: relative; padding-inline: 70px; }
.jfb-carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 30px) / 4); gap: 30px;
	list-style: none; margin: 0; padding: 6px 2px 12px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; overscroll-behavior-x: contain; contain: paint;
}
.jfb-carousel__track::-webkit-scrollbar { display: none; }
.jfb-carousel__track > li { scroll-snap-align: start; }
.jfb-carousel__btn {
	position: absolute; top: 40%; transform: translateY(-50%); z-index: 2;
	width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
	background: rgba(66, 187, 145, .12); color: var(--green);
	transition: background-color .25s, color .25s, opacity .25s, transform .25s var(--ease);
}
.jfb-carousel__btn:hover { background: var(--green); color: #fff; transform: translateY(-50%) scale(1.06); }
.jfb-carousel__btn:disabled { opacity: .35; pointer-events: none; }
.jfb-carousel__btn--prev { left: 0; }
.jfb-carousel__btn--next { right: 0; }

.jfb-pcard a { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--navy); }
.jfb-pcard__img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; padding: 10px; border-radius: 16px; transition: transform .4s var(--ease), background-color .4s; }
.jfb-pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.jfb-pcard a:hover .jfb-pcard__img { background: rgba(255, 255, 255, .6); }
.jfb-pcard a:hover .jfb-pcard__img img { transform: translateY(-8px) rotate(-2deg) scale(1.04); }
.jfb-pcard__title { margin-top: 14px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.jfb-pcard a:hover .jfb-pcard__title { color: var(--green-dark); }

.jfb-tabs__list {
	display: flex; max-width: 1020px; margin: 0 auto 30px;
	border: 1px solid var(--green); border-radius: 25px; overflow: hidden; background: #fff;
}
.jfb-tabs__list [role="tab"] {
	flex: 1; padding: 12px 16px; font-size: 15px; color: var(--navy); text-align: center;
	border-left: 1px solid var(--green); transition: background-color .25s, color .25s;
}
.jfb-tabs__list [role="tab"]:first-child { border-left: 0; }
.jfb-tabs__list [role="tab"]:hover { background: rgba(66, 187, 145, .1); }
.jfb-tabs__list [role="tab"][aria-selected="true"] { background: var(--green); color: #fff; }
.jfb-tabs__panel { animation: fade .4s var(--ease); }
.jfb-tabs .jfb-prose { max-width: 1020px; margin-inline: auto; }

.jfb-carousel--cards { padding-inline: 0; }
.jfb-carousel--cards .jfb-carousel__track { grid-auto-columns: calc((100% - 30px) / 2); gap: 30px; }
.jfb-carousel--cards .jfb-carousel__btn { top: 50%; }
.jfb-carousel--cards .jfb-carousel__btn--prev { left: -62px; }
.jfb-carousel--cards .jfb-carousel__btn--next { right: -62px; }
.jfb-hcard {
	display: flex; align-items: flex-start; gap: 24px;
	padding: 20px 20px 0; background: rgba(129, 209, 223, .25); border-radius: var(--radius);
	min-height: 220px; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.jfb-hcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.jfb-hcard__img { flex: 0 0 296px; max-width: 58%; height: 200px; overflow: hidden; border-bottom-right-radius: 60px; margin-bottom: -10px; }
.jfb-hcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.jfb-hcard:hover .jfb-hcard__img img { transform: scale(1.06); }
.jfb-hcard__body { padding-bottom: 16px; }
.jfb-hcard__title { font-size: 18px; font-weight: 500; color: #6b6b6b; line-height: 1.35; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 9 Article grid ---------------------------------------------------------- */
.jfb-agrid { display: grid; grid-template-columns: 275px 1fr; gap: 30px; align-items: start; }
.jfb-agrid:not(:has(.jfb-topics)) { grid-template-columns: 1fr; }
.jfb-topics { position: sticky; top: calc(var(--header-h) + 20px); }
.jfb-topics__title { margin: 0; padding: 10px 18px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; }
.jfb-topics ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-top: 0; }
.jfb-topics li + li { border-top: 1px solid var(--line); }
.jfb-topics button { display: block; width: 100%; padding: 9px 18px; text-align: left; font-size: 14px; color: var(--green); transition: background-color .2s, color .2s, padding .2s var(--ease); }
.jfb-topics button:hover { background: rgba(66, 187, 145, .08); padding-left: 24px; }
.jfb-topics button.is-active { background: var(--green); color: #fff; }

.jfb-agrid__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; transition: opacity .25s; }
.jfb-agrid__list.is-loading { opacity: .4; }
.jfb-agrid__list--full { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.jfb-agrid__list--four { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.jfb-agrid__more { text-align: center; margin-top: 30px; }
.jfb-empty { grid-column: 1 / -1; text-align: center; padding: 30px; }

.jfb-acard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); margin: -1px 0 0 -1px; transition: box-shadow .35s var(--ease), transform .35s var(--ease); position: relative; }
.jfb-agrid__list--full .jfb-acard, .jfb-agrid__list--four .jfb-acard { margin: 0; border-radius: var(--radius); overflow: hidden; }
.jfb-acard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); z-index: 1; }
.jfb-acard__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ice); }
.jfb-acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.jfb-acard:hover .jfb-acard__img img { transform: scale(1.06); }
.jfb-acard__body { display: flex; flex-direction: column; flex: 1; padding: 34px 15px 15px; }
.jfb-acard__date { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #000; }
.jfb-acard__title { font-size: 16px; font-weight: 400; line-height: 1.4; margin: 6px 0 12px; }
.jfb-acard__title a { color: var(--navy); }
.jfb-acard__title a:hover { color: var(--green-dark); }
.jfb-acard__excerpt { font-size: 13px; line-height: 1.75; margin-bottom: 14px; }
.jfb-acard__meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.jfb-like { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #000; }
.jfb-like .jfb-icon { color: #c9c9d1; transition: color .2s, transform .3s var(--ease); }
.jfb-like:hover .jfb-icon, .jfb-like.is-liked .jfb-icon { color: #e5536b; }
.jfb-like.is-liked .jfb-icon { animation: pop .45s var(--ease); }
.jfb-share { color: #000; padding: 4px; border-radius: 50%; transition: color .2s, background-color .2s; }
.jfb-share:hover { color: var(--green); background: rgba(66, 187, 145, .1); }
.jfb-toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 20px; font-size: 13px; z-index: 200; animation: rise .3s var(--ease); }

.pagination, .nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 20px; border: 1px solid var(--line); color: var(--navy); }
.page-numbers.current, .page-numbers:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* 10 Videos --------------------------------------------------------------- */
.jfb-videos { position: relative; padding-inline: 40px; }
.jfb-videos__track { display: grid; }
.jfb-videos__slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.jfb-videos__slide.is-active { opacity: 1; visibility: visible; }
.jfb-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.jfb-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .6s var(--ease), opacity .3s; }
.jfb-yt:hover img { transform: scale(1.04); opacity: 1; }
.jfb-yt__play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #f00; color: #fff; transition: transform .25s var(--ease); }
.jfb-yt:hover .jfb-yt__play { transform: scale(1.1); }
.jfb-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.jfb-videos__title { color: #fff; font-size: 22px; font-weight: 400; }
.jfb-videos .jfb-arrow { top: 50%; }
.jfb-videos .jfb-arrow--prev { left: -20px; }
.jfb-videos .jfb-arrow--next { right: -20px; }

/* 11 Milestones ----------------------------------------------------------- */
.jfb-milestones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.jfb-milestone { display: grid; grid-template-rows: 150px 130px 150px; justify-items: center; text-align: center; padding: 0 8px; position: relative; }
.jfb-milestone__circle {
	grid-row: 2; width: 130px; height: 130px; border-radius: 50%; border: 8px solid #1f3c88; background: #fff;
	display: grid; place-items: center; overflow: hidden; position: relative; z-index: 1;
	transition: transform .4s var(--ease), box-shadow .4s;
}
.jfb-milestone:hover .jfb-milestone__circle { transform: scale(1.08) rotate(-4deg); box-shadow: 0 10px 24px rgba(31, 60, 136, .25); }
.jfb-milestone__circle img { width: 82%; height: 82%; object-fit: contain; }
.jfb-milestone__copy { display: flex; flex-direction: column; gap: 4px; color: var(--navy); font-size: 14px; line-height: 1.5; position: relative; }
.jfb-milestone__label { font-weight: 600; font-size: 15px; }
.jfb-milestone.is-down .jfb-milestone__copy { grid-row: 3; align-self: start; padding-top: 34px; }
.jfb-milestone.is-up .jfb-milestone__copy { grid-row: 1; align-self: end; padding-bottom: 34px; }
.jfb-milestone__copy::before { content: ""; position: absolute; left: 50%; width: 3px; height: 24px; margin-left: -1.5px; background: #1f3c88; }
.jfb-milestone.is-down .jfb-milestone__copy::before { top: 0; }
.jfb-milestone.is-up .jfb-milestone__copy::before { bottom: 0; }

/* 12 Inner pages ---------------------------------------------------------- */
.page-top { position: relative; padding-top: 20px; }
.page-top::before {
	content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 230px; z-index: -1;
	background: var(--sky);
	--cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 230' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v170c-30 25-70 40-120 30-50-10-60-50-110-50H230c-50 0-70 50-130 55C50 210 20 190 0 170z'/%3E%3C/svg%3E");
	-webkit-mask: var(--cloud) top / 100% 100% no-repeat;
	mask: var(--cloud) top / 100% 100% no-repeat;
}
.page-top--short { height: 140px; padding: 0; }
.page-top--short::before { height: 140px; }
.page-banner { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--royal), #2f5bc4); display: flex; }
.page-banner--plain { min-height: 240px; }
.page-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner__overlay {
	position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; width: 100%;
	padding: 40px 65px 30px; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .25));
}
.page-banner__title { color: #fff; font-size: 46px; font-weight: 700; margin: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .15); animation: rise .7s var(--ease) both; }
.breadcrumb { color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; padding-bottom: 10px; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb span[aria-hidden] { margin: 0 4px; font-weight: 400; }
.jfb-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.jfb-chips a { padding: 8px 20px; border-radius: 20px; border: 1px solid var(--green); color: var(--navy); transition: background-color .2s, color .2s; }
.jfb-chips a:hover, .jfb-chips a[aria-current] { background: var(--green); color: #fff; }
.jfb-product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 30px; }
.inline-search { display: flex; gap: 10px; max-width: 600px; margin: 0 auto 40px; }
.inline-search input { flex: 1; font: inherit; padding: 0 20px; border: 1px solid var(--line); border-radius: 25px; min-height: 48px; }
.error-404 { text-align: center; }
.error-404 img { margin: 0 auto 20px; width: 220px; }

/* 13 Product -------------------------------------------------------------- */
.product { padding-top: 40px; }
.product__top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; margin-bottom: 50px; }
.product__gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.product__stage { border: 1px solid #e5e5e5; border-radius: var(--radius); aspect-ratio: 1.05; display: grid; place-items: center; padding: 30px; background: #fff; overflow: hidden; }
.product__stage img { max-height: 100%; width: auto; object-fit: contain; transition: transform .5s var(--ease), opacity .25s; }
.product__stage:hover img { transform: scale(1.06); }
.product__thumbs { display: flex; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.product__thumbs button { width: 72px; height: 72px; border: 1px solid #e5e5e5; border-radius: 8px; padding: 4px; transition: border-color .2s; }
.product__thumbs button[aria-pressed="true"], .product__thumbs button:hover { border-color: var(--green); }
.product__title { font-size: 26px; margin-bottom: 18px; }
.product__label { font-size: 16px; margin: 22px 0 12px; }
.product__sizes { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0; padding: 0; }
.product__sizes li { padding: 7px 16px; border-radius: 20px; background: #ececec; color: var(--navy); font-size: 14px; }
.product__desc p { font-size: 14px; }
.product__shops { display: grid; grid-template-columns: repeat(2, minmax(0, 225px)); gap: 12px 16px; list-style: none; margin: 0; padding: 0; }
.product__shops a { display: grid; place-items: center; height: 68px; padding: 10px; border: 1px solid #d8d8d8; font-weight: 600; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.product__shops a:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); }
.product__shops img { max-height: 44px; width: auto; }

.wp-block-details.is-style-jfb-accordion, .product__details .wp-block-details {
	background: #f2fafc; border-radius: 25px; margin: 0 0 14px; overflow: hidden;
	transition: background-color .25s;
}
.wp-block-details.is-style-jfb-accordion summary, .product__details .wp-block-details summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
	padding: 14px 24px; font-size: 16px; font-weight: 700; color: var(--navy);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.product__details .wp-block-details summary::after, .wp-block-details.is-style-jfb-accordion summary::after {
	content: ""; width: 14px; height: 14px; flex: none;
	background: linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 100% no-repeat;
	transition: transform .3s var(--ease);
}
.wp-block-details[open] summary::after { transform: rotate(135deg); }
.wp-block-details[open] { background: #e7f6f9; }
.wp-block-details > :not(summary) { padding: 0 24px; }
.wp-block-details > :last-child { padding-bottom: 18px; }

/* 14 Article -------------------------------------------------------------- */
.article { padding-bottom: 40px; position: relative; }
.article__media { margin: -100px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 13 / 5; background: var(--ice); position: relative; z-index: 1; }
.article__media img { width: 100%; height: 100%; object-fit: cover; }
.article__head { padding-top: 40px; }
.article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #000; margin-bottom: 10px; }
.article__meta a { color: #000; }
.article__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: #000; }
.article__title { font-size: 36px; font-weight: 400; line-height: 1.25; margin-bottom: 20px; }
.article__body { max-width: none; }
.article__foot { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.related .jfb-section__title { margin-bottom: 30px; font-size: 24px; text-align: left; }

/* 15 Footer --------------------------------------------------------------- */
.site-footer {
	position: relative; margin-top: 60px; padding-top: 190px;
	background: url(../img/footer-bg.svg) top center / 1920px auto no-repeat;
	color: var(--navy); text-align: center; overflow: hidden;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 160px; bottom: 0; background: var(--sky); z-index: -1; }
@media (min-width: 1921px) { .site-footer { background-size: 100% auto; } }
.site-footer__cloud { position: absolute; }
.site-footer__cloud--lg { width: 165px; left: 2.4%; top: 147px; animation: drift 12s ease-in-out infinite; }
.site-footer__cloud--md { width: 75px; left: 12%; top: 127px; animation: drift 9s ease-in-out infinite reverse; }
.site-footer__inner { position: relative; z-index: 1; max-width: 1000px; }
.site-footer__logo { display: inline-block; margin-bottom: 20px; }
.site-footer__logo img { width: 60px; }
.site-footer__intro { max-width: 980px; margin: 0 auto 20px; font-size: 14px; }
.site-footer__social { display: flex; justify-content: center; gap: 10px; list-style: none; margin: 0 0 10px; padding: 0; }
.site-footer__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.site-footer__social a:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(0, 0, 0, .12); }
.site-footer__social .is-facebook { color: #1877f2; }
.site-footer__social .is-youtube { color: #f00; }
.site-footer__social .is-instagram { color: #111; }
.site-footer__contact { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 0 0 18px; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 700; color: #1c3a83; }
.site-footer__contact a:hover { color: #fff; }
.site-footer__note { max-width: 980px; margin: 0 auto; font-size: 14px; line-height: 1.75; }

.site-footer__scene { position: relative; height: 290px; margin-top: 10px; pointer-events: none; }
.site-footer__scene img { position: absolute; }
.scene-hills { left: 0; bottom: 0; width: 100%; height: 250px; object-fit: cover; object-position: top; }
.scene-left { left: 0; bottom: 0; width: 313px; }
.scene-right { right: 0; bottom: 0; width: 352px; }
.scene-cloud { left: 63%; top: 0; width: 59px; animation: drift 10s ease-in-out infinite; }
.scene-lion { left: 25%; bottom: 70px; width: 115px; animation: peek 7s ease-in-out infinite; }
.scene-giraffe { left: 50%; bottom: 80px; width: 74px; animation: bob 6s ease-in-out infinite; }
.scene-hippo { left: 69%; bottom: 60px; width: 100px; animation: bob 7s ease-in-out infinite reverse; }
.site-footer__bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 0; z-index: 2; }
.site-footer__bar .jfb-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1340px; }
.footer-links { display: flex; list-style: none; margin: 0; padding: 0; font-size: 12px; }
.footer-links li + li::before { content: "|"; margin: 0 6px; color: #000; }
.footer-links a { color: #000; }
.footer-links a:hover { color: #fff; }
.site-footer__copy { margin: 0; font-size: 12px; color: #1f5f3f; }

.to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 90;
	width: 40px; height: 40px; display: grid; place-items: center;
	background: #fff; border: 1px solid #000; border-bottom-width: 3px; color: #000;
	transition: transform .25s var(--ease), background-color .25s;
}
.to-top:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }

/* 16 Motion --------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes float-in { from { opacity: 0; transform: translateX(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes peek { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-2deg); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1200px) {
	.site-nav .menu { gap: 20px; }
	.site-nav .menu > li > a { font-size: 14px; }
	.site-nav__extras { gap: 10px; }
	.jfb-carousel--cards .jfb-carousel__btn--prev { left: -8px; }
	.jfb-carousel--cards .jfb-carousel__btn--next { right: -8px; }
}

@media (max-width: 1024px) {
	:root { --header-h: 64px; }
	.site-header, .has-hero .site-header { position: sticky; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
	.has-hero .site-header.is-stuck, .site-header.is-stuck { background: #fff; }
	.site-header__inner { justify-content: space-between; }
	.nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; color: var(--navy); }
	.site-logo { position: absolute; left: 50%; top: 0; width: 82px; transform: translateX(-50%); }
	.site-header.is-stuck .site-logo { transform: translateX(-50%) scale(.8); }
	.lang-quick { display: block; }
	.site-nav {
		position: fixed; inset: 0 auto 0 0; width: min(340px, 86vw); z-index: 120;
		flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
		background: #fff; padding: 0 0 30px;
		transform: translateX(-102%); transition: transform .35s var(--ease); visibility: hidden;
	}
	.site-nav.is-open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
	.site-nav__head { display: flex; justify-content: flex-end; padding: 12px; background: var(--sky); }
	.nav-close { color: var(--navy); width: 40px; height: 40px; display: grid; place-items: center; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { height: auto; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.site-nav .menu > li > a { flex: 1; padding: 14px 20px; font-size: 16px; }
	.site-nav .menu > li > a::after { display: none; }
	.submenu-toggle { width: 52px; height: 52px; margin: 0; }
	.submenu-toggle .jfb-icon { width: 14px; height: 14px; }
	.site-nav .sub-menu {
		position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border-radius: 0;
		flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px;
		max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s var(--ease);
		background: var(--ice);
	}
	.site-nav .menu > li:hover > .sub-menu { transform: none; }
	.site-nav .menu > li.is-open > .sub-menu { max-height: 900px; padding: 16px 20px; transform: none; }
	.site-nav .menu > li:hover > .submenu-toggle { transform: none; }
	.site-nav .menu > li.is-open > .submenu-toggle { transform: rotate(180deg); }
	.site-nav .sub-menu li { width: auto; }
	.site-nav .sub-menu .mega-thumb { width: 100%; height: auto; aspect-ratio: 1; }
	.site-nav .sub-menu::before { display: none; }
	.site-nav__extras { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__extras li { border-bottom: 1px solid var(--line); }
	.site-nav__extras a { padding: 14px 20px; font-size: 15px; }
	.nav-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(44, 42, 74, .45); animation: fade .3s; }
	.nav-backdrop[hidden] { display: none !important; }

	.jfb-hero { min-height: 0; padding-top: 0; }
	.jfb-hero__slide { grid-template-columns: 1fr 1fr; padding: 50px 60px 170px; }
	.jfb-hero__title { font-size: 34px; }
	.jfb-hero__giraffe { top: auto; bottom: 90px; width: 70px; }
	.jfb-hero__clouds .c1, .jfb-hero__clouds .c2, .jfb-hero__clouds .c3 { top: auto; bottom: 120px; }
	.jfb-hero__wave { height: 140px; }
	.jfb-arrow--prev { left: 12px; }
	.jfb-arrow--next { right: 12px; }

	.jfb-icard__img { flex-basis: 200px; height: 200px; }
	.jfb-icard { min-height: 200px; gap: 20px; }
	.jfb-carousel__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; }
	.jfb-carousel--cards .jfb-carousel__track { grid-auto-columns: 75%; }
	.jfb-agrid { grid-template-columns: 1fr; }
	.jfb-topics { position: static; }
	.jfb-topics ul { display: flex; overflow-x: auto; border: 0; gap: 8px; padding: 12px 0; scrollbar-width: none; }
	.jfb-topics li + li { border: 0; }
	.jfb-topics button { white-space: nowrap; border: 1px solid var(--green); border-radius: 20px; padding: 7px 16px; }
	.jfb-topics button:hover { padding-left: 16px; }
	.jfb-topics__title { display: none; }
	.jfb-agrid__list--full, .jfb-agrid__list--four, .jfb-product-grid { grid-template-columns: repeat(3, 1fr); }
	.jfb-milestones { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.jfb-milestone { grid-template-rows: auto auto; }
	.jfb-milestone .jfb-milestone__circle { grid-row: 1; }
	.jfb-milestone.is-up .jfb-milestone__copy, .jfb-milestone.is-down .jfb-milestone__copy { grid-row: 2; align-self: start; padding: 16px 0 0; }
	.jfb-milestone__copy::before { display: none; }
	.jfb-section--mint-curve { border-top-left-radius: 140px; border-bottom-right-radius: 220px; }
	.jfb-section--navy-curve { border-top-left-radius: 140px; border-bottom-right-radius: 140px; }
	.page-banner { min-height: 320px; }
	.page-banner__title { font-size: 36px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.jfb-section { padding-block: 50px; }
	.jfb-section__title { font-size: 24px; }
	.jfb-section__head { margin-bottom: 30px; }
	.jfb-hero__slide { grid-template-columns: 1fr; text-align: center; padding: 30px 20px 150px; gap: 10px; }
	.jfb-hero__text { padding: 0; margin: 0 auto; order: 2; }
	.jfb-hero__media { order: 1; }
	.jfb-hero__media img { max-width: 340px; margin: 0 auto; }
	.jfb-hero__title { font-size: 28px; margin-bottom: 10px; }
	.jfb-hero__lead { font-size: 14px; letter-spacing: .02em; }
	.jfb-hero .jfb-arrow { top: 200px; width: 36px; height: 36px; }
	.jfb-hero__clouds { display: none; }
	.jfb-hero .jfb-dots { bottom: 24px; }
	.jfb-card-grid > * { flex-basis: 100%; }
	.jfb-icard__img { flex-basis: 150px; height: 150px; border-bottom-right-radius: 50px; }
	.jfb-icard { min-height: 150px; gap: 16px; padding: 14px 14px 0; }
	.jfb-icard__title { font-size: 16px; margin-bottom: 12px; }
	.jfb-icard__img { margin-bottom: -14px; }
	.jfb-carousel { padding-inline: 0; }
	.jfb-carousel__track { grid-auto-columns: 62%; gap: 16px; scroll-padding-inline: 20px; }
	.jfb-carousel--cards .jfb-carousel__track { grid-auto-columns: 88%; }
	.jfb-carousel__btn { display: none; }
	.jfb-tabs__list { overflow-x: auto; border-radius: 22px; scrollbar-width: none; }
	.jfb-tabs__list [role="tab"] { flex: 1 0 auto; padding: 10px 16px; font-size: 14px; white-space: nowrap; }
	.jfb-hcard__img { flex-basis: 130px; height: 110px; border-bottom-right-radius: 36px; }
	.jfb-hcard { min-height: 130px; padding: 14px 14px 0; gap: 14px; }
	.jfb-hcard__title { font-size: 15px; }
	.jfb-agrid__list { grid-template-columns: repeat(2, 1fr); }
	.jfb-agrid__list--full, .jfb-agrid__list--four, .jfb-product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.jfb-acard__body { padding: 18px 12px 12px; }
	.jfb-acard__excerpt { display: none; }
	.jfb-videos { padding: 0; }
	.jfb-videos__slide { grid-template-columns: 1fr; gap: 14px; }
	.jfb-videos .jfb-arrow { top: 28%; }
	.jfb-videos .jfb-arrow--prev { left: 4px; }
	.jfb-videos .jfb-arrow--next { right: 4px; }
	.jfb-milestones { grid-template-columns: repeat(2, 1fr); }
	.jfb-milestone__circle { width: 110px; height: 110px; border-width: 6px; }
	.jfb-section--mint-curve { border-top-left-radius: 80px; border-bottom-right-radius: 120px; padding-top: 70px; padding-bottom: 150px; }
	.jfb-section--navy-curve { border-top-left-radius: 80px; border-bottom-right-radius: 80px; }
	.jfb-deco--lion { width: 100px; top: -80px; }
	.jfb-deco--baby { width: 180px; }
	.page-banner { min-height: 220px; }
	.page-banner__overlay { flex-direction: column; align-items: flex-start; padding: 20px; gap: 4px; }
	.page-banner__title { font-size: 28px; }
	.breadcrumb { font-size: 13px; padding: 0; white-space: normal; }
	.product__top { grid-template-columns: 1fr; }
	.product__gallery { position: static; }
	.product__shops { grid-template-columns: 1fr 1fr; }
	.article__media { margin-top: -80px; aspect-ratio: 16 / 9; }
	.article__title { font-size: 26px; }
	.site-footer { padding-top: 120px; background-size: 1100px auto; }
	.site-footer::before { top: 90px; }
	.site-footer__cloud--lg { width: 90px; top: 70px; }
	.site-footer__cloud--md { display: none; }
	.site-footer__scene { height: 200px; }
	.scene-hills { height: 170px; }
	.scene-left { width: 150px; }
	.scene-right { width: 170px; }
	.scene-lion { width: 70px; left: 18%; bottom: 50px; }
	.scene-giraffe { width: 46px; bottom: 56px; }
	.scene-hippo { width: 64px; left: 70%; bottom: 46px; }
	.site-footer__bar .jfb-container { flex-direction: column; gap: 2px; }
	.site-footer__bar { padding: 8px 0; }
}

@media (max-width: 480px) {
	.jfb-icard { flex-direction: row; }
	.jfb-icard__img { flex-basis: 120px; height: 120px; border-bottom-right-radius: 40px; }
	.jfb-agrid__list, .jfb-agrid__list--full, .jfb-agrid__list--four { grid-template-columns: 1fr; }
	.jfb-product-grid { grid-template-columns: repeat(2, 1fr); }
	.jfb-milestones { grid-template-columns: 1fr 1fr; }
}

/* Homepage specifics */
.jfb-subsection-title { margin: 90px 0 40px; }
.home-products .jfb-section__head { margin-bottom: 40px; }
.jfb-card-grid.is-advice .jfb-icard__body { display: flex; align-items: center; }
.jfb-embed .jfb-yt { border-radius: var(--radius); }
.jfb-prose .wp-block-embed { margin-block: 1.5em; }

.jfb-divider { display: flex; align-items: center; gap: 0; margin: 50px 0 0; }
.jfb-divider img { width: 171px; flex: none; }
.jfb-divider::after { content: ""; flex: 1; height: 1px; background: rgba(44, 42, 74, .35); margin-top: 40px; }
.jfb-deco--lion + .jfb-deco--baby, .has-deco--lion-baby .jfb-deco--baby { right: 5%; bottom: 0; }
.jfb-section--mint-curve .jfb-subsection-title { margin-top: 60px; }
@media (max-width: 782px) { .jfb-divider img { width: 110px; } .jfb-divider { margin-top: 30px; } }

/* Multi-column groups carried over from the old page builder */
.jfb-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-block: 24px; }
.jfb-col > :first-child { margin-top: 0; }
.jfb-col img { margin-inline: auto; }
.jfb-tabs .jfb-cols { text-align: center; }
.jfb-tabs .jfb-cols { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: 0 4px 16px rgba(44, 42, 74, .05); align-items: center; transition: transform .3s var(--ease), box-shadow .3s; }
.jfb-tabs .jfb-cols:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.jfb-tabs .jfb-cols:has(> .jfb-col:nth-child(2):last-child) { grid-template-columns: 220px 1fr; text-align: left; }
@media (max-width: 600px) { .jfb-tabs .jfb-cols:has(> .jfb-col:nth-child(2):last-child) { grid-template-columns: 1fr; text-align: center; } }
.jfb-tabs .jfb-col img { max-width: 180px; border-radius: 12px; }
/* English pages: render the "বাংলা" switcher label with the system font so the 100 KB Bengali webfont only loads on Bangla pages. */
body:not(.lang-bn) [lang="bn"] { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }

.jfb-acard__actions { display: inline-flex; align-items: center; gap: 2px; }
.article__foot { display: flex; gap: 12px; flex-wrap: wrap; }
.page-community > p:first-child { max-width: 760px; margin: 0 auto 30px; text-align: center; font-size: 15px; }

/* ==========================================================================
   17 Modern refresh (2026): light glass header, rounded display type,
      floating baby icons, softer cards, playful motion.
   ========================================================================== */
@font-face {
	font-family: Fredoka;
	src: url(../fonts/Fredoka-latin.woff2) format("woff2");
	font-weight: 500 700;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
:root {
	--display: Fredoka, "Noto Sans Bengali", var(--font);
	--blue: #1c4a9c;
	--blue-2: #2f6fd6;
	--sun: #ffc533;
	--sun-2: #ffb000;
	--pink: #ff8fab;
	--bg-soft: #f5fbff;
	--glass: rgba(255, 255, 255, .78);
	--r-lg: 24px;
	--r-xl: 32px;
	--shadow-soft: 0 10px 30px rgba(28, 74, 156, .08);
	--shadow-pop: 0 22px 50px rgba(28, 74, 156, .16);
	--spring: cubic-bezier(.34, 1.56, .64, 1);
}
body { background: var(--bg-soft); }
.display, .jfb-section__title, .page-banner__title, .jfb-hero__title, .article__title, .product__title {
	font-family: var(--display); font-weight: 600; letter-spacing: 0; color: var(--blue);
}
.jfb-section__title { font-size: clamp(26px, 3vw, 36px); }
.jfb-section--navy-curve .jfb-section__title, .page-banner__title { color: #fff; }

/* Section heading ornament: line – heart – line */
.jfb-section__head::before, .heart-divider {
	content: ""; display: block; width: 150px; height: 18px; margin: 0 auto 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 18'%3E%3Cpath d='M0 9h58M92 9h58' stroke='%23ffb4c6' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M75 16s-7-4.3-8.6-8.7C65.3 4.1 67.3 1 70.5 1c1.9 0 3.4 1 4.5 2.5C76.1 2 77.6 1 79.5 1c3.2 0 5.2 3.1 4.1 6.3C82 11.7 75 16 75 16z' fill='%23ff8fab'/%3E%3C/svg%3E") center / contain no-repeat;
	animation: heartbeat 2.4s ease-in-out infinite;
}
.heart-divider { display: flex; align-items: center; justify-content: center; gap: 10px; width: auto; height: auto; background: none; color: var(--pink); }
.heart-divider span { width: 60px; height: 2px; border-radius: 2px; background: #ffc4d3; }
.jfb-section--navy-curve .jfb-section__head::before { filter: brightness(1.3); }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } }

/* Scroll progress bar (no JS) */
@supports (animation-timeline: scroll()) {
	body::before {
		content: ""; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 300; transform-origin: 0 50%;
		background: linear-gradient(90deg, var(--green), var(--sky), var(--sun));
		animation: scroll-progress linear both; animation-timeline: scroll(root);
	}
	@keyframes scroll-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Header: frosted glass */
.site-header, .site-header.is-stuck { background: var(--glass); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(28, 74, 156, .06); }
.has-hero .site-header:not(.is-stuck) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.site-header.is-stuck { box-shadow: 0 8px 30px rgba(28, 74, 156, .1); }
.site-logo { filter: drop-shadow(0 8px 14px rgba(28, 74, 156, .12)); }
.site-logo:hover { animation: wiggle .6s var(--spring); }
.site-nav .menu > li > a { color: var(--blue); padding: 8px 12px; border-radius: 20px; transition: background-color .25s, color .25s; }
.site-nav .menu { gap: 6px; }
.site-nav .menu > li > a:hover { background: rgba(129, 209, 223, .25); color: var(--blue); }
.site-nav .menu > li > a::after { left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green), var(--sky)); }
.submenu-toggle { color: var(--blue); }
.site-nav .sub-menu { border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-pop); border: 1px solid rgba(129, 209, 223, .35); }
.site-nav .sub-menu .mega-thumb { border-radius: 16px 16px 50px 16px; }
.site-nav__mobile-extras, .site-nav__extras { display: none; }
.site-header__tools { gap: 10px; }

.icon-btn {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: #fff; color: var(--blue); box-shadow: 0 4px 14px rgba(28, 74, 156, .1);
	transition: transform .3s var(--spring), background-color .25s, color .25s;
}
.icon-btn:hover { transform: translateY(-2px) scale(1.06); background: var(--blue); color: #fff; }
.account-btn.is-in { position: relative; }
.account-btn.is-in::after { content: ""; position: absolute; right: 1px; top: 1px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid #fff; }

.lang-switch {
	position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center;
	width: 92px; height: 38px; padding: 3px; border-radius: 20px; background: #fff;
	box-shadow: inset 0 0 0 1px rgba(28, 74, 156, .12), 0 4px 14px rgba(28, 74, 156, .08);
	font-size: 13px; font-weight: 700; color: var(--blue); isolation: isolate;
}
.lang-switch__opt { position: relative; z-index: 1; text-align: center; line-height: 32px; transition: color .3s; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.lang-switch__opt[lang="bn"] { font-family: "Noto Sans Bengali", system-ui, sans-serif; font-size: 13px; }
.lang-switch__knob {
	position: absolute; z-index: 0; top: 3px; left: 3px; width: calc(50% - 3px); height: 32px; border-radius: 16px;
	background: linear-gradient(135deg, var(--green), #2fa57c); box-shadow: 0 4px 10px rgba(66, 187, 145, .35);
	transition: transform .45s var(--spring);
}
.lang-switch.is-bn .lang-switch__knob { transform: translateX(100%); }
.lang-switch.is-en .lang-switch__opt[lang="en"], .lang-switch.is-bn .lang-switch__opt[lang="bn"] { color: #fff; }
.lang-switch:hover .lang-switch__knob { transform: translateX(12%); }
.lang-switch.is-bn:hover .lang-switch__knob { transform: translateX(88%); }
.lang-switch:hover, .lang-switch:focus-visible { color: var(--blue); }
body:not(.lang-bn) .lang-switch__opt[lang="bn"] { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }

/* Buttons: soft gradient + shine sweep */
.jfb-btn, .wp-block-button__link { position: relative; overflow: hidden; background: linear-gradient(135deg, #4fc89d, var(--green) 55%, #2fa57c); border-radius: 30px; box-shadow: 0 8px 20px rgba(66, 187, 145, .28); }
.jfb-btn::after, .wp-block-button__link::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); transition: left .7s ease;
}
.jfb-btn:hover::after, .wp-block-button__link:hover::after { left: 130%; }
.jfb-btn .jfb-icon { transition: transform .3s var(--spring); }
.jfb-btn:hover .jfb-icon { transform: translateX(4px); }
.jfb-btn--sun { background: linear-gradient(135deg, #ffd35a, var(--sun) 50%, var(--sun-2)); color: var(--blue); box-shadow: 0 10px 24px rgba(255, 176, 0, .35); text-transform: none; font-size: 16px; font-weight: 700; }
.jfb-btn--sun:hover { background: linear-gradient(135deg, #ffdc73, var(--sun-2)); color: var(--blue); box-shadow: 0 14px 30px rgba(255, 176, 0, .45); }
.jfb-btn--navy { background: linear-gradient(135deg, #2557b3, var(--blue)); color: #fff; box-shadow: 0 10px 24px rgba(28, 74, 156, .3); text-transform: none; font-size: 15px; }
.jfb-btn--navy:hover { background: var(--blue); }
.jfb-btn--outline { background: #fff; box-shadow: none; border-radius: 30px; border: 2px solid var(--blue); color: var(--blue); }
.jfb-btn--outline::after { display: none; }
.jfb-btn--outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Floating baby icons + bubbles */
.floaters { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.floater {
	position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); opacity: .85;
	animation: floaty var(--d) ease-in-out var(--dl) infinite alternate;
	translate: calc(var(--px, 0) * var(--depth) * 1px) calc(var(--py, 0) * var(--depth) * 1px);
	transition: translate .6s ease-out;
	filter: drop-shadow(0 6px 8px rgba(28, 74, 156, .12));
}
.floater.f-star, .floater.f-moon { animation-name: twinkle; }
.floater.f-heart { animation-name: floaty-heart; }
@keyframes floaty { 0% { transform: translateY(0) rotate(-8deg); } 100% { transform: translateY(-18px) rotate(8deg); } }
@keyframes floaty-heart { 0% { transform: translateY(0) scale(.9); } 100% { transform: translateY(-14px) scale(1.1); } }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0); opacity: .45; } 50% { transform: scale(1.15) rotate(20deg); opacity: 1; } }
.bubble {
	position: absolute; bottom: -40px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .25) 40%, rgba(129, 209, 223, .25) 70%, rgba(255, 255, 255, .6));
	box-shadow: inset 0 0 6px rgba(255, 255, 255, .8); animation: bubble-rise var(--d) linear var(--dl) infinite;
}
@keyframes bubble-rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translate(18px, -50vh); } 100% { transform: translate(-10px, -100vh); opacity: 0; } }
.floaters--soft .floater { opacity: .55; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 50% { transform: rotate(3deg); } 75% { transform: rotate(-2deg); } }

/* Home hero refresh */
.jfb-hero { background: radial-gradient(1200px 500px at 80% 20%, rgba(255, 255, 255, .45), transparent 60%), var(--sky) url(../img/bg.png) center bottom / cover no-repeat; }
.jfb-hero__slide { position: relative; z-index: 2; }
.jfb-hero__title { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; }
.jfb-hero__lead { color: #23406f; }
.jfb-hero__media img { filter: drop-shadow(0 24px 30px rgba(28, 74, 156, .18)); }
.jfb-hero__slide.is-active .jfb-hero__media img { animation: float-in 1s var(--ease) both, bob 6s ease-in-out 1s infinite; }
.jfb-dots button { width: 10px; height: 10px; background: rgba(28, 74, 156, .35); }
.jfb-dots button[aria-current="true"] { width: 30px; border-radius: 6px; background: var(--blue); box-shadow: none; }

/* Cards: softer, rounder, livelier */
.jfb-icard { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.jfb-icard:hover { background: #fff; box-shadow: var(--shadow-pop); transform: translateY(-6px) rotate(-.4deg); }
.jfb-icard__img { border-radius: 18px 18px 70px 18px; }
.jfb-icard__title { font-family: var(--display); font-weight: 600; color: var(--blue); font-size: 20px; }
.jfb-acard, .jfb-agrid__list--full .jfb-acard, .jfb-agrid__list--four .jfb-acard { border-radius: 20px; border: 0; margin: 0; box-shadow: var(--shadow-soft); overflow: hidden; }
.jfb-agrid__list { gap: 22px; }
.jfb-acard:hover { box-shadow: var(--shadow-pop); transform: translateY(-6px); }
.jfb-acard__title a { color: var(--blue); }
.jfb-hcard { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.jfb-hcard__img { border-radius: 16px 16px 60px 16px; }
.jfb-hcard__title { color: var(--blue); font-family: var(--display); font-weight: 600; }
.jfb-pcard__img { background: #fff; border-radius: 26px; box-shadow: var(--shadow-soft); }
.jfb-pcard a:hover .jfb-pcard__img { background: #fff; box-shadow: var(--shadow-pop); }
.jfb-pcard__title { color: var(--blue); }
.jfb-tabs__list { border: 0; background: #fff; box-shadow: var(--shadow-soft); padding: 5px; border-radius: 30px; gap: 4px; }
.jfb-tabs__list [role="tab"] { border: 0; border-radius: 26px; font-weight: 600; color: var(--blue); }
.jfb-tabs__list [role="tab"][aria-selected="true"] { background: linear-gradient(135deg, #4fc89d, var(--green)); box-shadow: 0 6px 16px rgba(66, 187, 145, .3); }
.jfb-topics { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); background: #fff; }
.jfb-topics__title { background: linear-gradient(135deg, var(--blue-2), var(--blue)); }
.jfb-topics ul { border: 0; }
.jfb-section--mint, .jfb-section--mint-curve { background: linear-gradient(180deg, #e3f5fa, #eef9fc); }
.jfb-section--ice { background: linear-gradient(180deg, #f2fafe, #e9f6fb); }
.jfb-section--navy-curve { background: radial-gradient(800px 400px at 15% 10%, #2d63c4, transparent 60%), linear-gradient(135deg, #1c4a9c, #173a7c); }
.jfb-milestone__circle { border-color: var(--blue); box-shadow: 0 10px 24px rgba(28, 74, 156, .15); }
.jfb-milestone__copy::before { background: var(--blue); }
.jfb-carousel__btn { background: #fff; box-shadow: var(--shadow-soft); }

/* Inner page banner */
.page-top::before { background: linear-gradient(180deg, var(--sky), #a9e0ea); }
.page-banner { border-radius: var(--r-xl); box-shadow: var(--shadow-pop); }
.page-banner__img { transition: transform 8s ease; }
.page-banner:hover .page-banner__img { transform: scale(1.05); }
.page-banner .floaters { z-index: 1; }
.page-banner__overlay { z-index: 2; background: linear-gradient(180deg, transparent 40%, rgba(16, 40, 92, .45)); }

/* Footer: lighter sky, twinkles */
.site-footer::before { background: linear-gradient(180deg, var(--sky), #b9e6ef 70%, #d5f0f5); }
.site-footer__social a { width: 40px; height: 40px; border-radius: 50%; box-shadow: var(--shadow-soft); }
.site-footer__social a:hover { transform: translateY(-4px) rotate(-8deg); }
.site-footer__contact a { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--blue); }
.site-footer .floaters { z-index: 0; }
.site-footer__copy { color: #174a33; }
.site-footer__credit { display: inline-block; margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(23, 74, 51, .35); }
.site-footer__credit a { color: #0f3d8a; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__credit a:hover { color: #fff; }

/* ---- Products page --------------------------------------------------- */
.phero {
	position: relative; overflow: hidden; margin: calc(var(--header-h) * -1) 12px 0; padding: calc(var(--header-h) + 30px) 0 90px;
	border-radius: 0 0 var(--r-xl) var(--r-xl);
	background: radial-gradient(600px 300px at 75% 30%, rgba(255, 255, 255, .9), transparent 70%), radial-gradient(500px 400px at 10% 80%, #d9f1f8, transparent 70%), linear-gradient(135deg, #e9f6fd 0%, #d4ecf8 55%, #e6f4fb 100%);
}
.post-type-archive-jfb_product .site-header:not(.is-stuck), .tax-jfb_product_cat .site-header:not(.is-stuck) { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.phero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 30px; min-height: 420px; }
.phero__text { padding-left: 30px; }
.phero__title { font-size: clamp(42px, 5.6vw, 72px); line-height: 1; margin: 0 0 10px; color: var(--blue); text-shadow: 0 3px 0 rgba(255, 255, 255, .9); animation: rise .8s var(--ease) both; }
.phero__sub { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 26px); color: #2a5bb8; margin: 0; animation: rise .8s .1s var(--ease) both; }
.phero__swoosh { display: block; width: 220px; margin: 6px 0 28px; stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 1.2s .4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.phero__text .jfb-btn { animation: rise .8s .25s var(--ease) both; }
.phero__art { position: relative; height: 380px; }
.phero__baby {
	position: absolute; right: 0; top: -10px; width: 62%; aspect-ratio: 1; overflow: hidden;
	border-radius: 58% 42% 46% 54% / 52% 48% 52% 48%; box-shadow: 0 0 0 10px rgba(255, 255, 255, .6), var(--shadow-pop);
	animation: blob 12s ease-in-out infinite, float-in 1s var(--ease) both;
}
.phero__baby img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blob { 0%, 100% { border-radius: 58% 42% 46% 54% / 52% 48% 52% 48%; } 50% { border-radius: 44% 56% 58% 42% / 46% 58% 42% 54%; } }
.phero__range { position: absolute; left: 0; bottom: -10px; width: 74%; z-index: 2; animation: float-in 1s .2s var(--ease) both; }
.phero__range img { width: 100%; filter: drop-shadow(0 26px 24px rgba(28, 74, 156, .22)); animation: bob 6s ease-in-out 1.2s infinite; }
.phero__heart { position: absolute; left: 38%; top: 0; color: var(--pink); z-index: 3; animation: heartbeat 2s ease-in-out infinite; }
.phero__heart .jfb-icon { width: 34px; height: 34px; }
.phero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; z-index: 2; }

.pwelcome { text-align: center; padding: 40px 0 30px; }
.pwelcome__title { font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 14px; }
.pwelcome__text { max-width: 820px; margin: 0 auto; color: #3d4f6e; font-size: 15px; line-height: 1.8; }

.pcatalog { padding: 30px 0 70px; }
.pcatalog__inner { display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start; }
.pside { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); overflow: hidden; }
.pside__head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 20px; color: #fff; font-family: var(--display); font-weight: 600; font-size: 20px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 0; }
.pside__head .jfb-icon { color: var(--sun); animation: twinkle 3s ease-in-out infinite; }
.pside__list { list-style: none; margin: 0; padding: 8px 14px; }
.pside__list li + li { border-top: 1px solid #eef3f8; }
.pside__list a { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-radius: 14px; color: var(--blue); font-weight: 600; font-size: 14px; transition: background-color .25s, padding-left .3s var(--spring); }
.pside__list a:hover, .pside__list a:focus-visible { background: #eef8fc; padding-left: 12px; color: var(--blue); }
.pside__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #e8f6fb, #fdf1f5); overflow: hidden; transition: transform .4s var(--spring); }
.pside__icon img { width: 30px; height: 30px; object-fit: contain; }
.pside__list a:hover .pside__icon { transform: rotate(-12deg) scale(1.12); }
.pside__baby { position: relative; margin: 10px 14px 14px; height: 150px; border-radius: 20px 20px 60px 20px; background: radial-gradient(160px 60px at 50% 100%, #f8e3b3, transparent 70%), linear-gradient(180deg, #e9f7fc, #fdf6e8); overflow: hidden; }
.pside__baby img { position: absolute; left: 50%; bottom: 8px; width: 82%; translate: -50% 0; animation: bob 4s ease-in-out infinite; }
.pside__block { position: absolute; bottom: 10px; width: 22px; height: 22px; border-radius: 5px; animation: bob 3s ease-in-out infinite; }
.pside__block.b1 { right: 14px; background: #ffc533; }
.pside__block.b2 { right: 38px; background: #7ec8e3; animation-delay: -1s; }
.pside__block.b3 { right: 26px; bottom: 32px; background: #ff8fab; animation-delay: -2s; }

.pgrid-wrap { background: rgba(255, 255, 255, .7); border: 1px solid rgba(129, 209, 223, .35); border-radius: var(--r-xl); padding: 26px 22px 30px; box-shadow: var(--shadow-soft); }
.pgrid-wrap__title { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: clamp(26px, 2.6vw, 34px); margin: 0 0 24px; }
.spark { display: inline-block; width: 18px; height: 22px; background: linear-gradient(var(--sun), var(--sun)) 50% 0 / 4px 9px no-repeat, linear-gradient(var(--sun), var(--sun)) 0 100% / 4px 8px no-repeat, linear-gradient(var(--sun), var(--sun)) 100% 100% / 4px 8px no-repeat; transform: rotate(-20deg); animation: twinkle 2.4s ease-in-out infinite; border-radius: 2px; }
.spark.is-right { transform: scaleX(-1) rotate(-20deg); animation-delay: -1.2s; }
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pgrid__item a { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; padding: 18px 14px 16px; background: #fff; border-radius: 22px; box-shadow: 0 4px 14px rgba(28, 74, 156, .06); color: var(--blue); text-align: center; transition: transform .45s var(--spring), box-shadow .35s; }
.pgrid__item a::before { content: ""; position: absolute; inset: 10px 10px auto; height: 58%; border-radius: 18px; background: radial-gradient(circle at 50% 60%, #e6f5fb, transparent 70%); opacity: 0; transition: opacity .35s; }
.pgrid__item a:hover, .pgrid__item.is-hl a { transform: translateY(-8px); box-shadow: var(--shadow-pop); }
.pgrid__item a:hover::before, .pgrid__item.is-hl a::before { opacity: 1; }
.pgrid__img { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; }
.pgrid__img img { width: 88%; height: 88%; object-fit: contain; transition: transform .6s var(--spring); }
.pgrid__item a:hover .pgrid__img img, .pgrid__item.is-hl .pgrid__img img { transform: scale(1.08) rotate(-4deg); }
.pgrid__name { margin-top: 10px; font-weight: 700; font-size: 15px; line-height: 1.3; padding-right: 34px; text-align: left; align-self: stretch; }
.pgrid__go { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e4f0ff; color: var(--blue-2); transition: background-color .25s, color .25s, transform .35s var(--spring); }
.pgrid__item a:hover .pgrid__go { background: var(--blue-2); color: #fff; transform: translateX(3px); }
.js .pgrid__item { opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--spring); transition-delay: calc(var(--i, 0) * 70ms); }
.js .pgrid-wrap.is-visible .pgrid__item { opacity: 1; transform: none; }

.pvideo { padding: 10px 0 40px; }
.pvideo__card {
	position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.2fr; align-items: center; gap: 30px;
	padding: 40px 44px 90px; border-radius: var(--r-xl);
	background: radial-gradient(500px 300px at 20% 10%, #fff, transparent 70%), linear-gradient(135deg, #e4f3fb, #d1ebf7);
	box-shadow: var(--shadow-soft);
}
.pvideo__text, .pvideo__media { position: relative; z-index: 2; }
.pvideo__kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--blue); line-height: 1.3; }
.pvideo__play { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; animation: pulse-ring 2.4s ease-out infinite; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(28, 74, 156, .45); } 70% { box-shadow: 0 0 0 16px rgba(28, 74, 156, 0); } 100% { box-shadow: 0 0 0 0 rgba(28, 74, 156, 0); } }
.pvideo__brand { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 26px; font-size: clamp(44px, 5vw, 66px); line-height: 1; color: var(--blue); }
.pvideo__media .jfb-yt { border-radius: 22px; border: 6px solid #fff; box-shadow: var(--shadow-pop); }
.pvideo__hills { position: absolute; left: 0; right: 0; bottom: -40px; width: 100%; height: 150px; object-fit: cover; object-position: top; z-index: 1; opacity: .9; }

/* ---- Our Philosophy -------------------------------------------------- */
.philo-lead { max-width: 820px; margin: 0 auto 36px !important; text-align: center; font-size: 16px; line-height: 1.85; color: #3d4f6e; }
.philo-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.philo-badges .wp-block-image { margin: 0; width: 170px; padding: 22px; background: #fff; border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; box-shadow: var(--shadow-soft); transition: transform .5s var(--spring), box-shadow .3s; animation: bob 5s ease-in-out infinite; }
.philo-badges .wp-block-image:nth-child(2) { animation-delay: -1.6s; }
.philo-badges .wp-block-image:nth-child(3) { animation-delay: -3.2s; }
.philo-badges .wp-block-image:hover { transform: scale(1.08) rotate(-6deg); box-shadow: var(--shadow-pop); }
.philo-badges img { width: 100%; height: auto; }
.philo-cards, .philo-ingredients, .philo-accolade-cards { gap: 26px !important; margin: 0; }
.philo-card, .philo-accolade { position: relative; background: #fff; border-radius: var(--r-lg); padding: 30px 26px 26px; box-shadow: var(--shadow-soft); text-align: center; transition: transform .45s var(--spring), box-shadow .35s; }
.philo-card:hover, .philo-accolade:hover { transform: translateY(-8px); box-shadow: var(--shadow-pop); }
.philo-card p, .philo-accolade p { font-size: 14px; line-height: 1.8; color: #4a5872; text-align: left; margin: 0; }
.philo-icon, .philo-seal { margin: 0 auto 18px !important; width: 110px; }
.philo-icon img, .philo-seal img { width: 100%; height: auto; transition: transform .6s var(--spring); }
.philo-card:hover .philo-icon img, .philo-accolade:hover .philo-seal img { transform: rotate(-10deg) scale(1.08); }
.philo-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--green), var(--sky), var(--sun)); }
.philo-ingredient { background: #fff; border-radius: var(--r-lg); padding: 0 0 24px; box-shadow: var(--shadow-soft); overflow: hidden; transition: transform .45s var(--spring), box-shadow .35s; }
.philo-ingredient:hover { transform: translateY(-8px); box-shadow: var(--shadow-pop); }
.philo-photo { margin: 0 0 18px !important; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 0 50% 50% / 0 0 18% 18%; }
.philo-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.philo-ingredient:hover .philo-photo img { transform: scale(1.08); }
.philo-ingredient h3 { font-family: var(--display); font-weight: 600; color: var(--blue); font-size: 24px; margin: 0 24px 10px; }
.philo-ingredient p { margin: 0 24px 10px !important; font-size: 14px; line-height: 1.75; color: #4a5872; }
.philo-accolade-cards .philo-accolade { border: 2px dashed rgba(66, 187, 145, .35); }

@media (max-width: 1024px) {
	.lang-switch { width: 78px; height: 34px; font-size: 12px; }
	.lang-switch__opt { line-height: 28px; }
	.lang-switch__knob { height: 28px; }
	.icon-btn { width: 36px; height: 36px; }
	.site-header, .has-hero .site-header, .site-header.is-stuck { background: rgba(255, 255, 255, .92); }
	.site-header__tools { gap: 6px; }
	.phero { margin: 0; padding-top: 30px; border-radius: 0 0 var(--r-lg) var(--r-lg); }
	.phero__inner { grid-template-columns: 1fr; text-align: center; }
	.phero__text { padding: 0; }
	.phero__swoosh { margin-inline: auto; }
	.phero__art { height: 320px; max-width: 520px; margin: 0 auto; width: 100%; }
	.pcatalog__inner { grid-template-columns: 1fr; }
	.pside { position: static; }
	.pside__list { display: flex; overflow-x: auto; gap: 8px; padding: 12px; scrollbar-width: none; }
	.pside__list li + li { border: 0; }
	.pside__list a { white-space: nowrap; background: #f3f9fd; }
	.pside__baby { display: none; }
	.pgrid { grid-template-columns: repeat(3, 1fr); }
	.pvideo__card { grid-template-columns: 1fr; padding: 30px 24px 80px; text-align: center; }
	.pvideo__kicker, .pvideo__brand { justify-content: center; }
}
@media (max-width: 782px) {
	.lang-switch { display: none; }
	.site-nav__mobile-extras { display: block; padding: 18px 20px; }
	.site-nav__mobile-extras .lang-switch { display: inline-grid; }
	.pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.pgrid-wrap { padding: 18px 12px; }
	.pgrid__name { font-size: 13px; }
	.phero__art { height: 260px; }
	.philo-badges .wp-block-image { width: 120px; padding: 14px; }
	.floater { --s: 22px !important; }
	.floaters--hero .floater:nth-child(n+7) { display: none; }
	.site-footer__credit { display: block; margin: 2px 0 0; padding: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.floaters { display: none; }
	.js .pgrid__item { opacity: 1; transform: none; }
}

.jfb-section > .jfb-container, .site-footer__inner, .page-banner__overlay { position: relative; z-index: 2; }
.site-footer .floaters { inset: 120px 0 auto 0; height: 60%; }

.site-nav .menu > .menu-item-has-children > a { padding-right: 2px; }
.site-nav .submenu-toggle { margin-left: 0; }
.phero__range { width: 82%; left: -4%; bottom: -24px; }
.phero__baby { width: 60%; }
.page-banner__overlay { background: linear-gradient(0deg, rgba(16, 40, 92, .62), rgba(16, 40, 92, .15) 45%, transparent 70%); }
.page-banner__title { text-shadow: 0 2px 18px rgba(10, 30, 70, .45); }
.philo-badges .wp-block-image { width: 250px; aspect-ratio: auto; border-radius: 40px; padding: 16px 22px; }
@media (max-width: 782px) { .philo-badges .wp-block-image { width: 200px; } }
.has-hero .site-header.is-stuck { background: var(--glass); }
@media (max-width: 1024px) { .has-hero .site-header.is-stuck, .has-hero .site-header { background: rgba(255, 255, 255, .92); } }

/* ---- Product detail (v1.2) ------------------------------------------- */
.pd-top { position: relative; overflow: hidden; padding: 24px 0 60px; background: radial-gradient(700px 360px at 20% 30%, #fff, transparent 70%), linear-gradient(180deg, #e7f5fc, var(--bg-soft)); }
.pd-top > .jfb-container { position: relative; z-index: 2; }
.pd-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #6b7a96; margin-bottom: 22px; }
.pd-crumb a { color: var(--blue-2); font-weight: 600; }
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-pop); cursor: zoom-in; }
.pd-stage__glow { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, #e2f3fa 0%, #fff 70%); animation: blob 12s ease-in-out infinite; }
.pd-stage__img { position: relative; width: 82%; height: 82%; object-fit: contain; transition: transform .35s ease, opacity .16s ease; }
.pd-stage__img.is-swapping { opacity: 0; transform: scale(.96); }
.pd-stage.is-magnify .pd-stage__img { transform: scale(1.9); }
.pd-stage__zoom { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow-soft); transition: transform .3s var(--spring); }
.pd-stage:hover .pd-stage__zoom { transform: scale(1.1); }
.pd-thumbs { display: flex; gap: 12px; margin-top: 16px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.pd-thumb { flex: none; width: 82px; height: 82px; padding: 6px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); border: 2px solid transparent; transition: border-color .2s, transform .3s var(--spring); }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.pd-thumb:hover { transform: translateY(-3px); }
.pd-thumb[aria-pressed="true"] { border-color: var(--green); }
.pd-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 6px 14px; border-radius: 20px; background: #fff; color: var(--blue-2); font-size: 12px; font-weight: 700; letter-spacing: .04em; box-shadow: var(--shadow-soft); }
.pd-kicker .jfb-icon { color: var(--sun); }
.pd-title { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.05; margin: 0 0 16px; }
.pd-desc p { font-size: 15px; line-height: 1.85; color: #3d4f6e; }
.pd-block { margin: 22px 0; }
.pd-label { font-size: 15px; margin: 0 0 12px; color: var(--blue); }
.pd-size-current { color: var(--green-dark); }
.pd-sizes { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.pd-size { min-width: 84px; padding: 10px 18px; border-radius: 16px; background: #fff; border: 2px solid #dbe9f3; color: var(--blue); font-weight: 700; font-size: 14px; transition: border-color .2s, background-color .2s, color .2s, transform .3s var(--spring); }
.pd-size:hover { transform: translateY(-2px); border-color: var(--sky); }
.pd-size[aria-checked="true"], .pd-size.is-single { border-color: var(--green); background: linear-gradient(135deg, #e9f9f2, #fff); color: #1f7a59; box-shadow: 0 6px 14px rgba(66, 187, 145, .18); }
.pd-trust { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0 26px; }
.pd-trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 14px; background: #fff; color: #3d4f6e; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-soft); }
.pd-trust .jfb-icon { color: var(--pink); }
.pd-trust li + li .jfb-icon { color: var(--sun); }

.pd-tabs-wrap { padding: 20px 0 60px; }
.pd-tabs { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-soft); padding: 26px; }
.pd-tabs .jfb-tabs__list { max-width: 640px; }
.pd-panel { padding: 10px 6px 0; }
.pd-panel:focus-visible { outline-offset: 6px; }
.pd-panel .jfb-prose { max-width: 900px; margin: 0 auto; font-size: 15px; color: #3d4f6e; }
.pd-panel .jfb-prose img { max-width: min(100%, 560px); margin: 0 auto 18px; border-radius: 20px; }
.pd-panel .jfb-prose ul { padding-left: 0; list-style: none; }
.pd-panel .jfb-prose li { position: relative; padding-left: 26px; }
.pd-panel .jfb-prose li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #e3f6ee; }

.pd-shops { padding: 30px 0 60px; }
.shop-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.shop-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; padding: 22px 16px 18px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); border: 2px solid transparent; text-align: center; color: var(--blue); transition: transform .45s var(--spring), box-shadow .3s, border-color .3s; }
.shop-card:hover, .shop-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-pop); border-color: rgba(66, 187, 145, .45); color: var(--blue); }
.shop-card__logo { display: grid; place-items: center; width: 100%; height: 70px; }
.shop-card__logo img { max-width: 150px; max-height: 56px; width: auto; height: auto; object-fit: contain; transition: transform .4s var(--spring); }
.shop-card:hover .shop-card__logo img { transform: scale(1.06); }
.shop-card__name { font-weight: 700; font-size: 15px; }
.shop-card__btn { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 20px; background: #eaf7f1; color: #1f7a59; font-size: 13px; font-weight: 700; transition: background-color .25s, color .25s; }
.shop-card__btn .jfb-icon { transition: transform .3s var(--spring); }
.shop-card:hover .shop-card__btn { background: var(--green); color: #fff; }
.shop-card:hover .shop-card__btn .jfb-icon { transform: translateX(4px); }
.pd-more { padding: 10px 0 30px; }

/* Shared lightbox */
.jfb-lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 24, 56, .92); color: #fff; overflow: hidden; }
.jfb-lb[open] { display: grid; grid-template-rows: 1fr auto; animation: fade .25s ease; }
.jfb-lb::backdrop { background: transparent; }
.jfb-lb__stage { display: grid; place-items: center; overflow: hidden; padding: 60px 70px 10px; }
.jfb-lb__img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); cursor: zoom-in; transition: transform .35s ease, opacity .25s; background: #fff; }
.jfb-lb__img.is-loading { opacity: .3; }
.jfb-lb__stage.is-zoom .jfb-lb__img { transform: scale(2.2); cursor: zoom-out; border-radius: 0; }
.jfb-lb__cap { margin: 0; padding: 12px 20px 22px; text-align: center; font-weight: 600; }
.jfb-lb__count { opacity: .7; font-weight: 400; margin-left: 8px; }
.jfb-lb__btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 34px; line-height: 1; transition: background-color .2s, transform .3s var(--spring); }
.jfb-lb__btn:hover { background: rgba(255, 255, 255, .3); transform: scale(1.08); }
.jfb-lb__close { top: 16px; right: 18px; font-size: 30px; }
.jfb-lb__prev { left: 16px; top: 50%; translate: 0 -50%; }
.jfb-lb__next { right: 16px; top: 50%; translate: 0 -50%; }

@media (max-width: 1024px) {
	.pd { grid-template-columns: 1fr; gap: 30px; }
	.pd-gallery { position: static; max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 782px) {
	.pd-tabs { padding: 16px 12px; border-radius: var(--r-lg); }
	.pd-thumb { width: 66px; height: 66px; }
	.shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.shop-card { padding: 16px 10px 14px; }
	.shop-card__logo { height: 54px; }
	.shop-card__logo img { max-width: 120px; max-height: 44px; }
	.jfb-lb__stage { padding: 56px 10px 10px; }
	.jfb-lb__prev, .jfb-lb__next { top: auto; bottom: 14px; translate: none; width: 44px; height: 44px; }
}
.pd-crumb { justify-content: flex-end; }
.pd-shops .jfb-section__sub { text-transform: none; }
.shop-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.shop-grid > li { flex: 0 1 200px; }
@media (max-width: 1024px) { .pd-crumb { justify-content: center; padding-top: 6px; } }
@media (max-width: 782px) { .shop-grid > li { flex: 0 1 calc(50% - 6px); } }

.shop-mark { display: grid; place-items: center; min-width: 64px; height: 54px; padding: 0 14px; border-radius: 16px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .06em; box-shadow: 0 8px 18px rgba(28, 74, 156, .25); }

/* ==========================================================================
   Shared product carousel (v1.3) — home block, product pages, content pages
   ========================================================================== */
.pcar { position: relative; }
.pcar__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.pcar__title { margin: 0; font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); color: var(--blue); line-height: 1.15; }
.pcar__sub { margin: 6px 0 0; color: var(--text); }
.pcar__controls { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.pcar__all { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; font-weight: 600; color: var(--blue); }
.pcar__all svg { transition: transform .3s var(--ease); }
.pcar__all:hover { color: var(--green-dark); }
.pcar__all:hover svg { transform: translateX(4px); }
.pcar__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow-soft); cursor: pointer; transition: transform .3s var(--spring), background-color .25s, color .25s, opacity .25s; }
.pcar__btn:hover { background: var(--blue); color: #fff; transform: scale(1.08); }
.pcar__btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.pcar__btn:disabled { opacity: .35; pointer-events: none; }
.pcar__btn[hidden] { display: none; }
.pcar__ico-pause { width: 12px; height: 14px; border-inline: 4px solid currentColor; }
.pcar__btn.is-paused .pcar__ico-pause { width: 0; height: 0; border: 0; border-left: 13px solid currentColor; border-block: 8px solid transparent; margin-left: 4px; }
.pcar.is-static .pcar__btn { display: none; }

.pcar__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px;
	list-style: none; margin: -14px -8px -26px; padding: 14px 8px 44px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
	scrollbar-width: none; cursor: grab; scroll-padding-inline: 8px;
}
.pcar__track::-webkit-scrollbar { display: none; }
.pcar__track:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; border-radius: var(--r-lg); }
.pcar.is-dragging .pcar__track { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.pcar.is-dragging .pcar__card { pointer-events: none; }
.pcar__item { scroll-snap-align: start; }
.js .reveal .pcar__item { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(min(var(--i, 0), 6) * 70ms + 150ms); }
.js .reveal.is-visible .pcar__item { opacity: 1; transform: none; }

.pcar__card { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; padding: 18px 16px 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-soft); text-align: center; color: var(--navy); transition: transform .45s var(--spring), box-shadow .35s var(--ease); }
.pcar__card:hover, .pcar__card:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow-pop); }
.pcar__card:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.pcar__img { position: relative; display: block; width: 100%; aspect-ratio: 1; }
.pcar__blob { position: absolute; inset: 12%; background: linear-gradient(140deg, var(--mint), #fff3d1); border-radius: 58% 42% 46% 54% / 52% 48% 52% 48%; transition: transform .6s var(--spring), inset .5s var(--ease); }
.pcar__item:nth-child(3n+2) .pcar__blob { background: linear-gradient(140deg, #ffe3ea, var(--ice)); }
.pcar__item:nth-child(3n) .pcar__blob { background: linear-gradient(140deg, #e3f7ee, #fff3d1); }
.pcar__card:hover .pcar__blob { transform: rotate(18deg) scale(1.08); animation: blob 6s ease-in-out infinite; }
.pcar__img img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; transition: transform .55s var(--spring); -webkit-user-drag: none; }
.pcar__card:hover .pcar__img img { transform: translateY(-6px) rotate(-3deg) scale(1.05); }
.pcar__name { margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--blue); }
.pcar__size { margin-top: 4px; font-size: 13px; color: var(--text); opacity: .8; }
.pcar__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--green-dark); }
.pcar__cta svg { transition: transform .3s var(--ease); }
.pcar__card:hover .pcar__cta svg { transform: translateX(4px); }

.pcar__progress { position: relative; height: 6px; max-width: 260px; margin: 6px auto 0; border-radius: 6px; background: rgba(28, 74, 156, .1); overflow: hidden; }
.pcar__progress span { position: absolute; inset: 0 auto 0 0; width: 30%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--blue)); transition: transform .25s var(--ease), width .25s; }
.pcar.is-static .pcar__progress { display: none; }

/* Home block: range image above, no heading text. */
.jfb-products .pcar__head { justify-content: flex-end; margin-bottom: 14px; }

/* Automatic band above the footer. */
.pcar-band { position: relative; overflow: hidden; padding: 70px 0 30px; background: linear-gradient(180deg, transparent, var(--bg-soft) 35%); }
.pcar-band .jfb-container { position: relative; z-index: 1; }

@media (max-width: 1024px) {
	.pcar__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; }
}
@media (max-width: 767px) {
	.pcar__head { align-items: center; margin-bottom: 18px; }
	.pcar__controls { width: 100%; justify-content: space-between; }
	.pcar__controls .pcar__btn[data-prev], .pcar__controls .pcar__btn[data-next] { display: none; }
	.pcar__track { grid-auto-columns: 58%; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
	.pcar__progress { margin-top: 2px; }
	.pcar__name { font-size: 15px; }
	.pcar-band { padding: 50px 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.pcar__card, .pcar__blob, .pcar__img img { transition: none; }
	.pcar__card:hover .pcar__blob { animation: none; }
	.js .reveal .pcar__item { opacity: 1; transform: none; transition: none; }
}
