/* v4.8.2: the one site footer (includes/site_footer.php) — store and website pages alike, with or without Tailwind. */
.bbf, .bbf-trust {
    --f-ink: var(--ink, #26323f);
    --f-muted: #5d6b7a;
    --f-line: #e4eaf0;
    --f-rose: var(--brand-600, var(--primary, #c2526a));
    --f-rose-soft: var(--brand-50, var(--soft, #fdf2f4));
    --f-blue: var(--accent-600, var(--second, #4b86af));
    --f-blue-soft: var(--accent-50, var(--second-soft, #f2f6f9));
    --f-sun: var(--sun-600, var(--sun, #dc7d12));
    --f-sun-soft: var(--sun-50, #fff6ec);
    --f-btn: var(--btn, var(--primary, #d2586c));
    --f-btn-ink: var(--btn-ink, var(--primary-ink, #fff));
    font-family: var(--font-body, 'Poppins', system-ui, sans-serif);
    color: var(--f-muted);
    line-height: 1.5;
}
.bbf *, .bbf-trust * { box-sizing: border-box; }
.bbf a { color: inherit; text-decoration: none; }
.bbf-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* promises */
.bbf-trust { margin-top: clamp(32px, 4vw, 56px); background: #fff; border-top: 1px solid var(--f-line); }
.bbf-trust-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-top: 24px; padding-bottom: 24px; }
.bbf-trust-in > div { display: flex; align-items: center; gap: 12px; font-size: .84rem; min-width: 0; }
.bbf-trust-in b { display: block; color: var(--f-ink); font-size: .93rem; font-weight: 600; }
.bbf-ti { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; }
.bbf-ti-rose { background: var(--f-rose-soft); color: var(--f-rose); }
.bbf-ti-blue { background: var(--f-blue-soft); color: var(--f-blue); }
.bbf-ti-sun { background: var(--f-sun-soft); color: var(--f-sun); }
@media (min-width: 900px) { .bbf-trust-in { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; } }

/* footer */
.bbf { position: relative; background: linear-gradient(180deg, var(--f-blue-soft), #fff 72%); font-size: .92rem; }
.bbf::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--brand-light, var(--brand-300, #d85b73)), var(--second-light, var(--accent-300, #5f9ab7)), var(--sun-light, var(--sun-400, #f98a3e))); }
.bbf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-top: 44px; padding-bottom: 36px; }
.bbf-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.bbf-logo { display: inline-flex; }
.bbf-logo .bb-logo-footer { max-height: 112px; width: auto; }
.bbf-tag { margin: 0; max-width: 320px; font-size: .88rem; }
.bbf-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--f-btn); color: var(--f-btn-ink) !important; font-weight: 600; font-size: .88rem; box-shadow: 0 8px 18px -10px rgba(38, 50, 63, .55); transition: transform .15s, filter .15s; }
.bbf-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.bbf-social-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
.bbf-social-wrap > div { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.bbf-mini { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: #8b98a6; }
.bbf-round { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.bbf-round a, .bbf-round button { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; font-size: 1.05rem; background: #fff; border: 1px solid var(--f-line); color: var(--f-ink); cursor: pointer; transition: all .15s; padding: 0; }
.bbf-round a:hover, .bbf-round button:hover { color: var(--f-rose); border-color: var(--f-rose); transform: translateY(-1px); }

.bbf-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bbf-col b { font-family: var(--font-display, 'Montserrat', system-ui, sans-serif); color: var(--f-ink); font-size: .95rem; font-weight: 600; margin-bottom: 2px; }
.bbf-col a { width: fit-content; max-width: 100%; transition: color .15s; }
.bbf-col a:hover { color: var(--f-rose); }
.bbf-col i { font-size: 1rem; }
.bbf-contact a { display: inline-flex; align-items: center; gap: 9px; }
.bbf-contact i { color: #8b98a6; flex: none; }
.bbf-mail { overflow-wrap: anywhere; }

/* ways to pay */
.bbf-pay { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--f-line); }
.bbf-secure { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--f-ink); }
.bbf-secure i { color: #2f9e6a; font-size: 1.1rem; }
.bbf-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bbf-card { width: 48px; height: 30px; border-radius: 6px; border: 1px solid #dfe5ec; background: #fff; display: inline-grid; place-items: center; overflow: hidden; box-shadow: 0 1px 2px rgba(38, 50, 63, .06); }
.bbf-card svg { width: 100%; height: 100%; display: block; }
.bbf-card-bank { display: inline-flex; gap: 2px; color: var(--f-ink); font-size: .95rem; }
.bbf-card-bank small { font-size: .5rem; font-weight: 700; letter-spacing: .04em; }

/* bottom bar */
.bbf-bottom { border-top: 1px solid var(--f-line); background: #fff; font-size: .8rem; color: #7a8796; }
.bbf-bottom-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.bbf-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.bbf-legal a:hover, .bbf-mkt:hover { color: var(--f-rose); }
.bbf-mkts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.bbf-mkt { padding: 3px 10px; border-radius: 999px; }
.bbf-mkt.is-on { background: var(--f-rose-soft); color: var(--f-rose); font-weight: 600; }
.bbf-cur { display: flex; align-items: center; gap: 6px; margin: 0; }
.bbf-cur select { background: #fff; border: 1px solid var(--f-line); border-radius: 999px; padding: 3px 8px; font: inherit; color: var(--f-ink); }
.bbf-company { margin: 0 auto; padding-bottom: 16px; font-size: .7rem; line-height: 1.6; color: #93a0ad; text-align: center; }

/* tablet: logo on the left of its row, links in four columns */
@media (min-width: 640px) {
    .bbf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bbf-grid-shop { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bbf-brand { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; }
    .bbf-social-wrap > div { align-items: flex-start; }
}
/* desktop: brand column + link columns in one row */
@media (min-width: 1024px) {
    .bbf-grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 44px; }
    .bbf-grid-shop { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); }
    .bbf-brand { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding-right: 12px; }
    .bbf-social-wrap { justify-content: flex-start; }
    .bbf-round { justify-content: flex-start; }
    .bbf-pay { flex-direction: row; justify-content: space-between; }
    .bbf-bottom-in { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; }
    .bbf-company { text-align: left; }
}
@media (max-width: 639px) {
    .bbf-trust-in > div { flex-direction: column; align-items: flex-start; gap: 8px; font-size: .78rem; }
    .bbf-ti { width: 38px; height: 38px; border-radius: 12px; font-size: 1.15rem; }
}
@media (max-width: 320px) { .bbf-trust-in { grid-template-columns: 1fr; } }

/* ---------- v4.9.0: link groups (fold on phones) ---------- */
.bbf-col > summary { list-style: none; cursor: default; }
.bbf-col > summary::-webkit-details-marker { display: none; }
.bbf-links { display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 639px) {
    /* promises: one swipeable row instead of a tall grid */
    .bbf-trust { margin-top: 28px; }
    .bbf-trust-in { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
    .bbf-trust-in::-webkit-scrollbar { display: none; }
    .bbf-trust-in > div { flex: 0 0 auto; flex-direction: row; align-items: center; scroll-snap-align: start; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--f-blue-soft); font-size: .74rem; gap: 8px; max-width: 78vw; }
    .bbf-trust-in > div > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .bbf-trust-in b { font-size: .8rem; }
    .bbf-ti { width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; }

    .bbf-grid { display: block; padding-top: 28px; padding-bottom: 8px; }
    .bbf-brand { gap: 14px; margin-bottom: 18px; }
    .bbf-logo .bb-logo-footer { max-height: 84px; }
    .bbf-share { display: none !important; }

    .bbf-col { gap: 0; border-top: 1px solid var(--f-line); }
    .bbf-col:last-child { border-bottom: 1px solid var(--f-line); }
    .bbf-col > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; }
    .bbf-col > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid #8b98a6; border-bottom: 2px solid #8b98a6; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
    .bbf-col[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
    .bbf-col b { margin: 0; }
    .bbf-links { padding: 0 2px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
    .bbf-contact .bbf-links { grid-template-columns: 1fr; }

    .bbf-pay { padding-top: 16px; padding-bottom: 16px; border-top: 0; }
    .bbf-bottom-in { gap: 8px; padding-top: 14px; padding-bottom: 14px; font-size: .75rem; }
}

/* ---------- v4.9.0: the app-style bottom bar on phones ---------- */
.bbt { display: none; }
@media (max-width: 767px) {
    .bbt {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
        display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
        height: calc(62px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
        background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
        border-top: 1px solid #e4eaf0; box-shadow: 0 -10px 30px -18px rgba(38, 50, 63, .35);
        font-family: var(--font-body, 'Poppins', system-ui, sans-serif);
    }
    .bbt-i { height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: 0; padding: 0; margin: 0; color: #7a8796; font: inherit; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .bbt-i i { font-size: 23px; line-height: 1; }
    .bbt-i.is-on { color: var(--brand-600, var(--primary, #c2526a)); }
    .bbt-i:active { transform: scale(.94); }
    .bbt-design { justify-content: flex-end; padding-bottom: 7px; color: var(--ink, #26323f); }
    .bbt-fab { width: 50px; height: 50px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; color: var(--btn-ink, var(--primary-ink, #fff)); background: linear-gradient(140deg, var(--brand-light, var(--brand-300, #d85b73)), var(--btn, var(--primary, #d2586c)) 55%, var(--sun-light, var(--sun-400, #f98a3e)) 140%); box-shadow: 0 10px 22px -8px rgba(210, 88, 108, .7), 0 0 0 4px #fff; }
    .bbt-fab i { font-size: 22px; }
    .bbt-cart { position: relative; display: inline-flex; }
    .bbt-badge { position: absolute; top: -5px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--brand-600, var(--primary, #c2526a)); color: #fff; font-size: 10px; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px #fff; }
    .bbt-badge[hidden] { display: none; }

    /* room for the bar: page end, the chat bubble, the product page's sticky "Add to cart" */
    body:has(.bbt) { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
    body:has(.bbt) .sc-root { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
    body:has(.bbt) .st-sticky { bottom: calc(62px + env(safe-area-inset-bottom)); }
    body:has(.bbt) .mkt-banner.fixed:not(.modal):not(.mkt-bar) { bottom: calc(76px + env(safe-area-inset-bottom)); }
    body:has(.bbt) .st-consent { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- v5.3.0: the richer footer in the brand guide's style ---------- */
.bbf, .bbf-trust {
    --f-ink: var(--ink, #263238);
    --f-muted: #56656c;
    --f-line: #eedfdc;
    --f-pink: #d85b73; --f-blue: #5f9ab7; --f-orange: #f98a3e; --f-peach: #fdc7a2; --f-blush: #fcb3bb;
}
.bbf { background: transparent; font-size: .93rem; }
.bbf::before { display: none; }
.bbf-wave { line-height: 0; margin-bottom: -1px; }
.bbf-wave svg { display: block; width: 100%; height: clamp(26px, 4vw, 56px); }
.bbf-wave .w1 { fill: #d9eaf3; }
.bbf-wave .w2 { fill: #fbe4e6; }
.bbf-main {
    position: relative; overflow: hidden;
    background:
        radial-gradient(520px 260px at 100% 100%, rgba(95, 154, 183, .16), transparent 70%),
        radial-gradient(420px 240px at 0% 0%, rgba(252, 179, 187, .28), transparent 70%),
        linear-gradient(180deg, #fbe4e6, #fdf0ee 45%, #fff6f2);
}
.bbf-main::after {   /* a soft blue wave in the corner, like the brand pages */
    content: ""; position: absolute; right: -120px; bottom: -150px; width: 520px; height: 300px; border-radius: 50%;
    background: linear-gradient(160deg, #d9eaf3, #c9e0ec); opacity: .75; pointer-events: none;
}
.bbf-grid { position: relative; z-index: 1; }
.bbf-col b { display: flex; align-items: center; gap: 10px; font-family: var(--font-display, 'Montserrat', system-ui, sans-serif); font-size: 1.02rem; font-weight: 700; color: var(--f-ink); margin-bottom: 6px; position: relative; padding-bottom: 12px; }
.bbf-col b::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--f-pink); }
.bbf-hi { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 6px 14px -10px rgba(38, 50, 56, .5); }
.bbf-hi i { font-size: 1.1rem; }
.bbf-hi-rose { background: #fff; color: var(--f-pink); }
.bbf-hi-blue { background: #fff; color: var(--f-blue); }
.bbf-hi-sun { background: #fff; color: var(--f-orange); }
.bbf-links { gap: 11px; }
.bbf-links a { color: #3c4a51; text-decoration: underline; text-decoration-color: rgba(38, 50, 56, .22); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bbf-links a:hover { color: var(--f-pink); text-decoration-color: currentColor; }
.bbf-contact .bbf-links a { text-decoration: none; }
.bbf-contact .bbf-links a:hover { text-decoration: underline; }
.bbf-contact i { color: var(--f-blue); }
.bbf-cta { background: var(--f-pink); color: #fff !important; padding: 11px 22px; box-shadow: 0 12px 22px -12px rgba(216, 91, 115, .9); }
.bbf-essence { display: flex; flex-wrap: wrap; gap: 8px; }
.bbf-essence span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; font: 600 .76rem var(--font-display, 'Montserrat', sans-serif); box-shadow: 0 4px 12px -8px rgba(38, 50, 56, .35); }
.bbf-essence .e1 { color: #c2455e; } .bbf-essence .e2 { color: #3f7896; } .bbf-essence .e3 { color: #d0661f; }
.bbf-essence i { font-size: .95rem; }

/* the band: ways to pay · follow / share · region */
.bbf-band { background: #fff; border-top: 1px solid var(--f-line); }
.bbf-band-in { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 30px; padding-bottom: 30px; }
.bbf-blk { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
.bbf-h { margin: 0; font: 700 1rem var(--font-display, 'Montserrat', system-ui, sans-serif); color: var(--f-ink); }
.bbf-h-2 { margin-top: 6px; }
.bbf-band .bbf-cards { justify-content: flex-start; gap: 10px; }
.bbf-band .bbf-card { width: 62px; height: 40px; border-radius: 8px; border-color: #e6e0de; box-shadow: 0 2px 6px -2px rgba(38, 50, 56, .12); }
.bbf-band .bbf-card-bank { font-size: 1.15rem; }
.bbf-band .bbf-card-bank small { font-size: .55rem; }
.bbf-band .bbf-secure { font-size: .8rem; color: var(--f-muted); }
.bbf-social { display: flex; flex-wrap: wrap; gap: 10px; }
.bbf-social a, .bbf-social button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; color: #fff; font-size: 1.25rem; background: var(--f-ink); transition: transform .15s, box-shadow .15s; box-shadow: 0 8px 16px -10px rgba(38, 50, 56, .7); }
.bbf-social a:hover, .bbf-social button:hover { transform: translateY(-2px) scale(1.04); color: #fff; }
.bbf-s-facebook { background: #1877f2 !important; }
.bbf-s-instagram { background: radial-gradient(circle at 30% 110%, #ffd776 0, #f77737 25%, #e1306c 55%, #833ab4 90%) !important; }
.bbf-s-pinterest { background: #e60023 !important; }
.bbf-s-youtube { background: #ff0000 !important; }
.bbf-s-tiktok, .bbf-s-x { background: #111 !important; }
.bbf-s-linkedin { background: #0a66c2 !important; }
.bbf-s-whatsapp { background: #25d366 !important; }
.bbf-s-link { background: var(--f-blue) !important; }
.bbf-band .bbf-mkts { justify-content: flex-start; gap: 8px; }
.bbf-band .bbf-mkt { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 12px; border: 1.5px solid var(--f-line); background: #fff; color: var(--f-ink); font-weight: 500; font-size: .85rem; }
.bbf-band .bbf-mkt:hover { border-color: var(--f-blue); color: var(--f-ink); }
.bbf-band .bbf-mkt.is-on { border-color: var(--f-pink); background: #fff5f6; color: var(--f-ink); font-weight: 600; }
.bbf-flag { display: inline-grid; place-items: center; width: 34px; height: 22px; border-radius: 4px; overflow: hidden; background: #eef4f8; color: var(--f-blue); box-shadow: 0 0 0 1px rgba(38, 50, 56, .12); }
.bbf-flag svg { width: 34px !important; height: 22px !important; border-radius: 0 !important; vertical-align: 0 !important; }
.bbf-flag i { font-size: 1.05rem; }
.bbf-band .bbf-cur { font-size: .82rem; color: var(--f-muted); }
.bbf-band .bbf-cur select { padding: 5px 10px; border-radius: 10px; border-color: var(--f-line); }
.bbf-bottom { background: var(--f-ink); color: #c4ced2; border-top: 0; }
.bbf-bottom a { color: #e6ecee; }
.bbf-bottom .bbf-legal a:hover { color: var(--f-blush); }
.bbf-company { background: var(--f-ink); color: #93a3aa; max-width: none; padding-top: 0; }
@media (min-width: 768px) {
    .bbf-band-in { grid-template-columns: 1.15fr 1fr 1fr; gap: 32px; padding-top: 34px; padding-bottom: 34px; }
    .bbf-blk + .bbf-blk { border-left: 1px solid var(--f-line); padding-left: 32px; }
}
@media (max-width: 639px) {
    .bbf-main::after { display: none; }
    .bbf-brand { align-items: center; }
    .bbf-essence { justify-content: center; }
    .bbf-col b { padding-bottom: 0; margin: 0; }
    .bbf-col b::after { display: none; }
    .bbf-hi { width: 30px; height: 30px; border-radius: 9px; }
    .bbf-col { border-color: rgba(38, 50, 56, .1); }
    .bbf-band-in { padding-top: 22px; padding-bottom: 22px; gap: 22px; }
    .bbf-band .bbf-card { width: 54px; height: 35px; }
    .bbf-share { display: flex !important; }
    .bbf-company { padding-left: 20px; padding-right: 20px; }
}
