/* Compatibility with the Edition 2 styles already installed on the site. */
@media(max-width:900px){
 html body nav.lc-shortcuts{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
 html body nav.lc-shortcuts>a{box-sizing:border-box;min-width:0;max-width:100%;margin:0!important;padding:14px 12px!important}
 html body nav.lc-shortcuts>a:nth-child(-n+4){grid-column:auto!important;width:auto!important;justify-self:stretch!important}
 html body .lc-container nav.lc-shortcuts>a:nth-child(5), html body nav.lc-shortcuts>a:nth-child(5){grid-column:1/-1!important;justify-self:stretch!important;width:100%!important}
 html body nav.lc-shortcuts strong{font-size:13px!important;line-height:1.35!important;padding-right:8px}
 html body nav.lc-shortcuts small{font-size:11px!important;line-height:1.45}
 html body .lc-menu nav#lc-menu-panel a.lc2-shop-nav,
 html body .lc-menu nav#lc-menu-panel a.lc2-shop-nav:is(:hover,:focus,:active,.is-active){display:block!important;background:transparent!important;background-image:none!important;color:inherit!important;border:0!important;box-shadow:none!important;border-radius:10px!important;margin:0!important;padding:12px 16px!important;font:inherit!important;letter-spacing:inherit!important;min-height:0!important;transform:none!important}
 html body .lc-shelf-open{bottom:max(12px,env(safe-area-inset-bottom));z-index:60}
}

/* Compact catalogue cards, including category archives and related products. */
@media(max-width:650px){
 html body .lc2-products-grid,html body .lc2-category-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html body .lc2-product-card{display:flex;flex-direction:column;min-width:0;border-radius:15px}
 html body .lc2-product-card .lc2-product-card-image{aspect-ratio:1;height:auto!important;min-height:0!important;padding:0!important;flex-shrink:0}
 html body .lc2-product-card-image .lc2-product-photo{inset:32px 12px 12px!important;width:calc(100% - 24px)!important;height:calc(100% - 44px)!important;max-width:calc(100% - 24px)!important;max-height:calc(100% - 44px)!important;object-fit:contain!important}
 html body .lc2-product-card .lc2-product-card-copy{display:flex;flex-direction:column;padding:12px!important;min-width:0;flex:1}
 html body .lc2-product-card h2{font-size:18px!important;line-height:1.22;margin:6px 0 10px;overflow-wrap:anywhere}
 html body .lc2-product-card .lc2-kicker{font-size:9px;letter-spacing:.07em}
 html body .lc2-product-card .lc2-product-summary{font-size:12px!important;line-height:1.55;min-height:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:12px}
 html body .lc2-product-card .lc2-product-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:auto;padding-top:8px}
 html body .lc2-product-card .lc2-product-actions a{box-sizing:border-box;width:100%;min-width:0;min-height:44px;white-space:normal;font-size:11px;line-height:1.35;padding:9px 7px;text-align:center;justify-content:center;gap:5px}
 html body .lc2-product-card .lc2-product-badge{position:static;display:block;width:100%;max-width:100%;border-radius:0;padding:5px 7px;font-size:9px;line-height:1.3;white-space:normal;text-align:center}
 html body .lc2-product-card .lc2-product-price{font-size:13px;line-height:1.4}
 html body .lc2-category-grid .lc2-category-card{display:flex!important;flex-direction:column!important;min-width:0;border-radius:15px!important}
 html body .lc2-category-grid .lc2-category-visual{height:135px!important;min-height:0!important;padding:12px!important}
 html body .lc2-category-grid .lc2-category-visual .lc2-product-photo{inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);max-width:calc(100% - 24px);max-height:calc(100% - 24px);object-fit:contain}
 html body .lc2-category-grid .lc2-category-copy{padding:12px!important;min-height:0;gap:7px}
 html body .lc2-category-grid .lc2-category-copy strong{font-size:18px!important;line-height:1.2!important}
 html body .lc2-category-grid .lc2-category-overline{font-size:8px}
 html body .lc2-category-grid .lc2-category-desc{font-size:11px!important;line-height:1.4!important}
}

/* Keep book covers in their own column, regardless of older theme rules. */
html body .lc2-ranked-book{display:grid!important;grid-template-columns:minmax(0,180px) minmax(0,1fr)!important;align-items:start;gap:28px!important;height:auto!important;overflow:visible;padding:24px!important;isolation:isolate;box-sizing:border-box;background:#fffdf8;border:1px solid #e4ded2;border-radius:20px}
html body .lc2-ranked-cover{position:static!important;float:none!important;transform:none!important;box-sizing:border-box;width:100%!important;min-width:0;max-width:100%;height:auto!important;margin:0!important;padding:18px!important;display:flex!important;justify-content:center;align-items:center;background:#eee9de;border-radius:14px}
html body .lc2-ranked-cover .lc2-book-cover{position:static!important;float:none!important;transform:none!important;display:block!important;box-sizing:border-box;width:auto!important;max-width:100%!important;height:auto!important;max-height:250px!important;object-fit:contain!important;margin:0!important}
html body .lc2-ranked-copy{position:static!important;min-width:0!important;width:auto!important;margin:0!important;overflow-wrap:anywhere}
html body .lc2-ranked-copy p{font-size:16px!important;line-height:1.8!important;color:#47534b}
html body .lc2-ranked-copy h2{font-family:Georgia,serif;line-height:1.2!important;color:#29493d}
@media(max-width:700px){
 html body .lc2-ranked-book{grid-template-columns:minmax(0,1fr)!important;gap:22px!important;padding:20px!important;margin:24px 0!important}
 html body .lc2-ranked-cover{width:100%!important;min-height:0!important;padding:24px!important}
 html body .lc2-ranked-cover .lc2-book-cover{max-width:150px!important;max-height:225px!important}
 html body .lc2-ranked-copy h2{font-size:27px!important}
 html body .lc2-selection-index>div{grid-template-columns:minmax(0,1fr)!important}
 html body .lc2-selection-page .lc-article-heading h1{font-size:clamp(32px,9vw,46px)!important;line-height:1.12;overflow-wrap:anywhere}
}

/* Magazine élégant: calm paper surfaces, generous photographs and clear actions. */
html body .lc2-shop-heading{padding:28px;border:1px solid #e5dfd2;border-radius:22px;background:#f3eee3;margin-bottom:24px}
html body .lc2-shop-heading h2{font-family:Georgia,serif;color:#29493d;font-size:clamp(28px,4vw,48px);line-height:1.15}
html body .lc2-product-card{border:1px solid #e5dfd2;background:#fffdf8;box-shadow:0 8px 25px #29493d08;border-radius:18px;overflow:hidden}
html body .lc2-product-card-image{background:#f0eee6}
html body .lc2-product-card h2{font-family:Georgia,serif;color:#29493d}
html body .lc2-buy{background:#995f46!important;color:#fff!important;border:1px solid #995f46!important;border-radius:12px!important;text-decoration:none}
html body .lc2-category-card{border:1px solid #e2ded3!important;background:#f7f3e9!important}
html body .lc2-category-card:nth-child(2){background:#f4e8dd!important}
html body .lc2-category-card:nth-child(3){background:#eeebf1!important}
html body .lc2-category-card:nth-child(4){background:#e8eeea!important}
html body .lc2-product-content{max-width:65ch;line-height:1.85;color:#45534a}
html body .lc2-product-content h2{font-family:Georgia,serif;color:#29493d;font-size:25px;margin-top:30px}
html body .lc2-product-purchase{padding:22px;background:#eee9df;border-radius:18px;margin-top:25px}
html body .lc2-editorial-note{font-size:12px;line-height:1.7;border-top:1px solid #ded8cc;padding-top:18px}
@media(max-width:700px){html body .lc2-product-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:25px!important}html body .lc2-product-images{position:static!important;max-width:100%;min-width:0}html body .lc2-product-reading{min-width:0}html body .lc2-product-reading h1{font-size:32px;line-height:1.15}html body .lc2-product-content{font-size:16px}html body .lc2-shop-heading{padding:20px}html body .lc2-product-purchase .lc2-buy{display:flex;justify-content:center;min-height:48px;align-items:center}}

