/* Structure : conteneurs, en-tête flottant, tiroir mobile, pied de page en tuiles */
body { overflow-x: clip; }
.llb-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.llb-narrow { max-width: 820px; }
.llb-main { padding-block: 8px var(--section-y); min-height: 50vh; }
.llb-hide-sm { }

/* --- Bandeau d'annonce ------------------------------------------------- */
.llb-announce { background: var(--t-saffron); color: var(--t-saffron-ink); font-size: .82rem; font-weight: 700; }
.llb-announce__in { display: flex; justify-content: center; align-items: center; gap: 14px; padding-block: 8px; flex-wrap: wrap; }
.llb-announce span, .llb-announce a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.llb-announce__sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; }

/* --- En-tête : barre flottante sombre ----------------------------------- */
.llb-header { position: sticky; top: 0; z-index: 100; padding-block: 12px 4px; pointer-events: none; }
.llb-header > * { pointer-events: auto; }
.admin-bar .llb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .llb-header { top: 46px; } }
.llb-header__in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); padding: 8px 12px 8px 24px; background: var(--c-ink); color: var(--c-on-dark); border-radius: var(--r-pill); box-shadow: 0 10px 30px rgba(15,19,48,.22); transition: box-shadow var(--dur); }
.llb-brand { display: inline-flex; align-items: center; text-decoration: none; margin-inline-end: auto; }
.llb-header .llb-brand__img, .llb-footer .llb-brand__img, .llb-drawer .llb-brand__img { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.llb-brand__text { color: #fff; font-weight: 800; font-size: 1.4rem; }
.llb-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.llb-nav__list a { display: block; color: var(--c-on-dark); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 16px; border-radius: var(--r-pill); transition: background var(--dur), color var(--dur); }
.llb-nav__list a:hover { background: rgba(255,255,255,.12); color: #fff; }
.llb-nav__list .current-menu-item > a, .llb-nav__list .current_page_item > a { background: var(--t-saffron); color: var(--t-saffron-ink); }
.llb-header__actions { display: flex; align-items: center; gap: 4px; }
.llb-iconbtn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; background: rgba(255,255,255,.08); color: var(--c-on-dark); border-radius: 50%; cursor: pointer; text-decoration: none; transition: background var(--dur), transform var(--dur); }
.llb-iconbtn:hover { background: rgba(255,255,255,.2); color: #fff; }
.llb-burger { display: none; margin-inline-start: -10px; }
.llb-cart-count { position: absolute; top: -2px; inset-inline-end: -2px; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: var(--r-pill); background: var(--t-saffron); color: var(--t-saffron-ink); font-size: .72rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.llb-cart-count.is-empty { display: none; }

.llb-searchbar { margin-top: 8px; }
.llb-searchbar .llb-container { padding-inline: var(--gutter); }
.llb-search { display: flex; background: var(--c-surface); border-radius: var(--r-pill); overflow: hidden; max-width: 640px; margin-inline: auto; box-shadow: var(--sh-md); }
.llb-search input[type=search] { flex: 1; border: 0; padding: 16px 24px; font-size: 1rem; background: transparent; color: var(--c-ink); min-width: 0; border-radius: 0; box-shadow: none; }
.llb-search input:focus { outline: none; box-shadow: none; }
.llb-search:focus-within { box-shadow: 0 0 0 3px var(--c-accent), var(--sh-md); }
.llb-search button { border: 0; background: var(--c-accent); color: #fff; padding-inline: 22px; cursor: pointer; display: grid; place-items: center; }
.llb-search button:hover { background: var(--c-accent-hover); }
.llb-main .llb-search { border: 1px solid var(--c-border); margin-block: 16px; box-shadow: none; }

/* --- Tiroir mobile ------------------------------------------------------ */
.llb-drawer[hidden] { display: none; }
.llb-drawer { position: fixed; inset: 0; z-index: 300; }
.llb-drawer__overlay { position: absolute; inset: 0; background: rgba(15,19,48,.55); backdrop-filter: blur(3px); animation: llb-fade .25s var(--ease); }
.llb-drawer__panel { position: absolute; inset-block: 10px; inset-inline-start: 10px; width: min(360px, calc(100vw - 20px)); background: var(--c-ink); color: var(--c-on-dark); padding: 16px 20px 20px; border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 16px; animation: llb-slide .3s var(--ease); overflow-y: auto; }
.llb-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.llb-drawer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.llb-drawer__list a { display: block; padding: 16px 20px; color: var(--c-on-dark); text-decoration: none; font-weight: 700; font-size: 1.1rem; background: rgba(255,255,255,.07); border-radius: var(--r-md); }
.llb-drawer__list .current-menu-item > a { background: var(--t-saffron); color: var(--t-saffron-ink); }
.llb-drawer__nav { flex: 1; }
@keyframes llb-fade { from { opacity: 0; } }
@keyframes llb-slide { from { transform: translateX(-110%); } }
[dir=rtl] .llb-drawer__panel { animation-name: llb-slide-r; }
@keyframes llb-slide-r { from { transform: translateX(110%); } }

@media (max-width: 900px) {
  .llb-nav { display: none; }
  .llb-burger { display: inline-grid; }
  .llb-header__in { gap: 8px; padding: 6px 8px 6px 10px; min-height: 60px; }
  .llb-brand { margin-inline: auto; }
  .llb-header .llb-brand__img { height: 34px; }
  .llb-hide-sm { display: none !important; }
}

/* --- Pied de page en tuiles --------------------------------------------- */
.llb-footer { padding-block: var(--section-y) 20px; }
.llb-footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.llb-ftile { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); background: var(--c-surface); border: 1px solid var(--c-border); min-width: 0; }
.llb-ftile--brand { grid-column: span 7; background: var(--t-ink); color: var(--t-ink-ink); border: 0; }
.llb-ftile--brand p { color: var(--c-on-dark-muted); max-width: 40ch; }
.llb-ftile--contact { grid-column: span 5; background: var(--t-saffron); color: var(--t-saffron-ink); border: 0; }
.llb-ftile--shop, .llb-ftile--info { grid-column: span 4; }
.llb-ftile--social { grid-column: span 4; background: var(--t-lilac); color: var(--t-lilac-ink); border: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.llb-footer .llb-brand__img { height: 52px; margin-bottom: 16px; }
.llb-footer__title { font-size: 1.1rem; margin-bottom: 14px; color: inherit; }
.llb-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.llb-footer a { color: inherit; text-decoration: none; }
.llb-ftile--shop a, .llb-ftile--info a { color: var(--c-text); font-weight: 600; }
.llb-ftile--shop a:hover, .llb-ftile--info a:hover { color: var(--c-accent); }
.llb-footer__contact li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.llb-social { display: flex; gap: 10px; flex-wrap: wrap; }
.llb-social a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-surface); color: var(--c-ink); transition: background var(--dur), color var(--dur), transform var(--dur); }
.llb-social a:hover { background: var(--c-ink); color: #fff; transform: translateY(-3px); }
.llb-footer__bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 8px 0; font-size: .85rem; color: var(--c-muted); }
@media (max-width: 900px) {
  .llb-ftile--brand, .llb-ftile--contact { grid-column: span 12; }
  .llb-ftile--shop, .llb-ftile--info { grid-column: span 6; }
  .llb-ftile--social { grid-column: span 12; flex-direction: row; align-items: center; flex-wrap: wrap; }
}
@media (max-width: 520px) { .llb-ftile--shop, .llb-ftile--info { grid-column: span 12; } }

/* --- Bouton WhatsApp flottant ------------------------------------------- */
.llb-wa { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--c-wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(14,143,85,.5); transition: transform var(--dur) var(--ease); }
.llb-wa:hover { transform: scale(1.08); color: #fff; background: var(--c-wa-hover); }

/* --- Pages génériques : le contenu vit dans une tuile -------------------- */
.llb-page { max-width: 860px; margin-inline: auto; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 56px); }
.llb-woo .llb-page, .woocommerce-cart .llb-page, .woocommerce-checkout .llb-page, .woocommerce-account .llb-page { max-width: none; }
.llb-page-title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .4em; }
.llb-page__head { margin-bottom: 20px; }
.llb-page__img { border-radius: var(--r-lg); margin-bottom: 28px; }
.llb-content { font-size: 1.05rem; }
.llb-content > * + * { margin-top: 1.1em; }
.llb-content img { border-radius: var(--r-md); }
.llb-lead { font-size: 1.3rem; line-height: 1.55; color: var(--c-ink); font-weight: 500; }
.llb-content h2 { margin-top: 1.6em; font-size: 1.5rem; }
.llb-content ul { display: grid; gap: 10px; }
.llb-contactgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); margin-block: 24px; }
.llb-contactcard { display: grid; gap: 6px; padding: 22px; border-radius: var(--r-lg); text-decoration: none; background: var(--c-tint); color: var(--c-text); transition: transform var(--dur) var(--ease); }
.llb-contactcard:nth-child(1) { background: var(--t-mint); color: var(--t-mint-ink); }
.llb-contactcard:nth-child(2) { background: var(--t-lilac); color: var(--t-lilac-ink); }
.llb-contactcard:nth-child(3) { background: var(--t-peach); color: var(--t-peach-ink); }
.llb-contactcard:nth-child(4) { background: var(--t-saffron); color: var(--t-saffron-ink); }
a.llb-contactcard:hover { transform: translateY(-4px); color: inherit; }
.llb-contactcard strong { font-size: .95rem; }
.llb-contactcard span { font-size: 1.15rem; font-weight: 800; overflow-wrap: anywhere; }
.llb-contactcard small { opacity: .75; }
.llb-contactgrid > br, .llb-contactgrid > p:empty { display: none; }
.llb-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--gap); }
.llb-postcard { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.llb-postcard__body { padding: 20px; }
.llb-postcard__title { font-size: 1.15rem; } .llb-postcard__title a { color: inherit; text-decoration: none; }
.llb-404 { text-align: center; max-width: 560px; background: var(--t-saffron); color: var(--t-saffron-ink); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); margin: 12px auto; }
.llb-404 .llb-page-title { color: inherit; }
.llb-404__code { font-family: var(--font-heading); font-size: 7rem; font-weight: 800; line-height: 1; margin: 0; }
.navigation.pagination { margin-top: 32px; }
.navigation.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding-inline: 14px; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-text); text-decoration: none; font-weight: 700; border: 1px solid var(--c-border); }
.page-numbers.current, .page-numbers:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.woocommerce-cart .llb-page, .woocommerce-checkout .llb-page, .woocommerce-account .llb-page { background: transparent; border: 0; padding: 0; }
.woocommerce-cart .llb-page__head, .woocommerce-checkout .llb-page__head, .woocommerce-account .llb-page__head { padding-inline: 6px; }
