/* Mağaza bildirimleri (ERP mockup 50). Only notices inside Woo's notice wrappers, so special boxes (checkout coupon toggle etc.) keep their own style. */
body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices,.woocommerce-cart-form__wrapper) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){
--ok:#1E9E46;--red:#E02B20;--ink:#141414;--head:#1E1E1E;--mute:#9A9A9A;--well:#F4F4F3;--line:#E8E8E8;
display:flex!important;align-items:center;gap:14px 16px;flex-wrap:wrap;position:relative;
background:#fff!important;color:var(--head)!important;border:1px solid var(--line)!important;border-left:4px solid var(--ok)!important;border-top-width:1px!important;border-radius:10px!important;
padding:14px 16px 14px 18px!important;margin:28px 0 20px!important;outline:0!important;box-shadow:0 10px 30px rgba(20,20,20,.06);
font-family:"Montserrat",system-ui,Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.5;list-style:none;animation:cmn-in .35s ease}
@keyframes cmn-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){animation:none}}
body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices,.woocommerce-cart-form__wrapper) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before{
content:""!important;position:static!important;flex:0 0 36px;width:36px;height:36px;border-radius:50%;margin:0!important;font-family:inherit!important;
background:#E8F6EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231E9E46' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/18px no-repeat}
body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices,.woocommerce-cart-form__wrapper) .woocommerce-info{border-left-color:var(--ink)!important}
body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices,.woocommerce-cart-form__wrapper) .woocommerce-info::before{
background:#F4F4F3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23141414' d='M11 10h2v7h-2zm0-4h2v2h-2zm1-4a10 10 0 1 0 0 20 10 10 0 0 0 0-20z'/%3E%3C/svg%3E") center/18px no-repeat}
body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices,.woocommerce-cart-form__wrapper) .woocommerce-error{
display:grid!important;grid-template-columns:36px minmax(0,1fr);row-gap:0;border-color:#F6C9C5!important;border-left-color:var(--red)!important;background:#FFF8F7!important}
body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices,.woocommerce-cart-form__wrapper) .woocommerce-error::before{grid-row:1/span 30;align-self:center;
background:#FDECEB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E02B20' d='M11 7h2v6h-2zm0 8h2v2h-2zm1-13a10 10 0 1 0 0 20 10 10 0 0 0 0-20z'/%3E%3C/svg%3E") center/18px no-repeat}
body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices,.woocommerce-cart-form__wrapper) .woocommerce-error li{grid-column:2;margin:0;padding:2px 0;list-style:none}
/* Woo's own button inside a notice (e.g. "Sepetim", "Giriş yap") */
body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices,.woocommerce-cart-form__wrapper) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a.button{
order:3;margin:0 0 0 auto!important;float:none!important;background:#E02B20!important;color:#fff!important;border:0!important;border-radius:6px!important;padding:12px 20px!important;
font:700 12.5px/1.2 "Montserrat",system-ui,Arial,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;box-shadow:none}
body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices,.woocommerce-cart-form__wrapper) :is(.woocommerce-message,.woocommerce-info) a:not(.button):not(.cmn-btn){color:#E02B20;text-decoration:underline}
/* Add-to-cart card */
.cmn-im{flex:0 0 64px;width:64px;height:64px;border-radius:8px;background:#F4F4F3;display:grid;place-items:center;overflow:hidden}
.cmn-im img{width:56px!important;height:56px!important;object-fit:contain;display:block}
.cmn-tx{flex:1 1 220px;min-width:0}
.cmn-tx b{display:block;color:#1E1E1E;font-size:15px;font-weight:700}
.cmn-tx small{display:block;font-size:13px;font-weight:500;color:#9A9A9A}
.cmn-ac{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}
body a.cmn-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#E02B20;color:#fff!important;font:700 12.5px/1.2 "Montserrat",system-ui,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:13px 20px;border-radius:6px;text-decoration:none!important;white-space:nowrap;transition:background .2s,box-shadow .2s}
body a.cmn-btn:hover{background:#B9221A}
body a.cmn-btn.line{background:#fff;color:#1E1E1E!important;box-shadow:inset 0 0 0 1.5px #E8E8E8}
body a.cmn-btn.line:hover{background:#fff;box-shadow:inset 0 0 0 1.5px #1E1E1E}
.cmn-cart::before{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zM5.2 4l.9 2H21l-3.6 7.2a2 2 0 0 1-1.8 1.1H8.1l-.9 1.7H19v2H4l2.2-4.1L2.6 4H1V2h3z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zM5.2 4l.9 2H21l-3.6 7.2a2 2 0 0 1-1.8 1.1H8.1l-.9 1.7H19v2H4l2.2-4.1L2.6 4H1V2h3z'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:760px){
.cmn-im{flex-basis:56px;width:56px;height:56px}.cmn-im img{width:50px!important;height:50px!important}
.cmn-tx{flex-basis:160px}
.cmn-ac{flex:1 1 100%;margin-left:0}.cmn-ac .cmn-btn{flex:1;padding:12px 10px}
.cmn-ac .cmn-btn.line{font-size:0}.cmn-ac .cmn-btn.line::after{content:"Devam et";font-size:12.5px}
}
/* 1.11.1: space under the header; stacked notices keep a normal gap */
body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices,.woocommerce-cart-form__wrapper) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)+:is(.woocommerce-message,.woocommerce-info,.woocommerce-error){margin-top:0!important}
@media(max-width:760px){body :is(.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.cmp-notices,.woocommerce-cart-form__wrapper) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){margin-top:18px!important}}
