/* L'emarie added-to-cart card (Step 172), v2 adds Continue shopping, v3 (Step 175) bigger green heading + no overlap on phones, v4: next to the tapped Add to Cart (inline on product pages, floating on lists) */
.message-success.lm-atc-src{display:none!important}
.lm-atc{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-areas:"img txt" "btn btn";gap:14px 14px;align-items:center;margin:12px 0 18px;padding:16px 16px 8px;background:#fff;border:1px solid #cfe3ee;border-radius:8px;box-shadow:0 6px 18px rgba(63,135,171,.12);color:#4f5359;-webkit-text-size-adjust:100%;text-size-adjust:100%;animation:lmAtcIn .25s ease-out}
.lm-atc.lm-atc-noimg{grid-template-columns:minmax(0,1fr);grid-template-areas:"txt" "btn"}
.lm-atc-img{grid-area:img;width:72px;height:72px;object-fit:contain;background:#f7f9fa;border-radius:6px;padding:4px;box-sizing:border-box}
.lm-atc-txt{grid-area:txt;min-width:0;padding-right:28px;display:flex;flex-direction:column;gap:6px}
.lm-atc .lm-atc-txt p{margin:0!important;padding:0!important;position:static!important;float:none!important;transform:none!important}
.lm-atc .lm-atc-lbl{display:flex;align-items:center;gap:8px;font-size:15px;line-height:22px!important;min-height:22px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#2e7d4f}
.lm-atc-lbl:before{content:"";flex:none;width:22px;height:22px;border-radius:50%;background:#2e7d4f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat}
.lm-atc .lm-atc-name{font-size:17px;line-height:1.3!important;font-weight:600;color:#212327}
.lm-atc-size{margin-left:8px;font-size:14px;font-weight:500;color:#4f5359;white-space:nowrap}
.lm-atc .lm-atc-meta{font-size:13.5px;line-height:1.4!important;color:#4f5359}
.lm-atc-meta:empty{display:none}
.lm-atc-meta span{white-space:nowrap}
.lm-atc-btns{grid-area:btn;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lm-atc .lm-atc-btn{text-transform:none!important;display:flex;align-items:center;justify-content:center;height:50px;padding:0 18px;border-radius:6px;border:2px solid #3f87ab;font-size:15px;font-weight:700;text-decoration:none!important;box-sizing:border-box;transition:background .15s,border-color .15s,color .15s}
.lm-atc .lm-atc-view{background:#fff;color:#3f87ab}
.lm-atc .lm-atc-view:hover{background:#eef6fa;color:#3f87ab}
.lm-atc .lm-atc-go{background:#3f87ab;color:#fff}
.lm-atc .lm-atc-go:hover{background:#57b3e5;border-color:#57b3e5;color:#fff}
.lm-atc .lm-atc-btn:focus-visible,.lm-atc-x:focus-visible{outline:2px solid #57b3e5;outline-offset:2px}
.lm-atc .lm-atc-more{grid-column:1/-1;height:40px;margin:0;padding:0 8px;border:0;background:none;box-shadow:none;font-size:14.5px;font-weight:600;color:#4f5359;text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-transform:none!important;letter-spacing:0}
.lm-atc .lm-atc-more:hover{background:none;color:#3f87ab}
.lm-atc .lm-atc-more:focus-visible{outline:2px solid #57b3e5;outline-offset:2px}
.lm-atc .lm-atc-x{position:absolute;top:6px;right:6px;width:36px;height:36px;padding:0;margin:0;border:0;background:none;box-shadow:none;font-size:26px;line-height:36px;color:#4f5359;cursor:pointer}
.lm-atc .lm-atc-x:hover{background:none;color:#212327}
@media (min-width:768px){
.lm-atc.lm-atc-wide{grid-template-columns:72px minmax(0,1fr) auto;grid-template-areas:"img txt btn";padding:16px 56px 16px 16px;gap:18px}
.lm-atc.lm-atc-wide.lm-atc-noimg{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"txt btn"}
.lm-atc.lm-atc-wide .lm-atc-txt{padding-right:0}
.lm-atc.lm-atc-wide .lm-atc-btns{grid-template-columns:auto auto auto;align-items:center}
.lm-atc.lm-atc-wide .lm-atc-more{grid-column:auto;order:-1;padding:0 10px}
.lm-atc.lm-atc-wide .lm-atc-btn{min-width:150px}
.lm-atc.lm-atc-wide .lm-atc-x{top:50%;margin-top:-18px;right:10px}
}
.lm-atc.lm-atc-inline{margin:14px 0 6px}
.lm-atc.lm-atc-inline .lm-atc-lbl,.lm-atc.lm-atc-float .lm-atc-lbl{letter-spacing:.04em;gap:7px}
.lm-atc.lm-atc-float{position:fixed;z-index:1001;left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom,0px));margin:0;max-height:calc(100vh - 120px);overflow:auto;box-shadow:0 10px 32px rgba(33,35,39,.22)}
@media (min-width:768px){.lm-atc.lm-atc-float{left:auto;right:24px;bottom:24px;width:440px}}
@keyframes lmAtcIn{from{opacity:.4;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.lm-atc{animation:none}}
