/* Prices and original editorial seals share one layout on cards and detail pages. */
@layer responsive {
 .book-offer-price.with-editorial-badge{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:12px;align-items:center;width:100%;flex-wrap:nowrap}
 .offer-price-values{min-width:0}
 .launch-price .price-payment-note{display:inline-block;font:14px/1.4 var(--sans);white-space:nowrap}
 .ebook-card .launch-price .price-payment-note{font-size:12px}
 .product-editorial-badge{margin:0;width:90px;min-width:0;text-align:center}
 .product-editorial-badge .editorial-badge-image{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.25))}
 .product-editorial-badge figcaption{font:11px/1.4 var(--sans);color:var(--wine);margin-top:8px;text-align:center;overflow-wrap:normal}
 .ebook-card .book-offer-price{gap:12px;min-height:135px;margin:0}
 .ebook-card .launch-price{font-size:22px;line-height:1.4}
 .ebook-card .launch-price-label{font-size:12px;line-height:1.5}
 .ebook-card .reference-price{font-size:14px}
 .book-offer-price-detail.with-editorial-badge{grid-template-columns:minmax(0,max-content) 100px;gap:24px;justify-content:start}
 .book-offer-price-detail .product-editorial-badge{width:100px}
 .with-editorial-badge .detail-price,.with-editorial-badge .price{margin:0}
 .with-editorial-badge .price.unknown{font-size:16px;line-height:1.5;white-space:normal}
 .offer-card:has(.product-editorial-badge) .card-bottom{width:100%}
 @media(max-width:1100px) and (min-width:601px){
  .offer-grid:has(>.ebook-card){grid-template-columns:repeat(3,minmax(0,1fr))}
 }
 @media(max-width:850px) and (min-width:601px){
  .offer-grid:has(>.ebook-card){grid-template-columns:repeat(2,minmax(0,1fr))}
 }
 @media(max-width:600px){
  .offer-grid:has(>.ebook-card){grid-template-columns:1fr}
  .offer-grid .ebook-card .card-copy{padding:18px}
  .offer-grid .ebook-card .card-copy h3{font-size:25px}
  .offer-grid .ebook-card .book-subtitle{font-size:21px}
  .offer-grid .ebook-card .card-hook{font-size:14px}
  .offer-grid .ebook-card .card-visual.book-visual{height:275px}
  .book-offer-price.with-editorial-badge{grid-template-columns:minmax(0,1fr) 70px;gap:12px}
  .product-editorial-badge,.book-offer-price-detail .product-editorial-badge{width:70px}
  .ebook-card .book-offer-price,.ebook-rail .ebook-card .book-offer-price{min-height:122px;gap:12px}
  .ebook-card .launch-price,.ebook-rail .ebook-card .launch-price{font-size:24px}
  .ebook-card .card-bottom>.button{font-size:12px;min-height:48px}
  .book-offer-price-detail.with-editorial-badge{grid-template-columns:minmax(0,1fr) 70px;gap:16px}
  .book-offer-price-detail .launch-price{font-size:30px}
  .offer-grid .offer-card:has(.product-editorial-badge):not(.ebook-card){grid-column:1/-1}
 }
 @media(max-width:360px){.ebook-card .launch-price,.ebook-rail .ebook-card .launch-price{font-size:21px}.book-offer-price-detail .launch-price{font-size:27px}}
}
