body.ne-cart-is-open { overflow: hidden; }
.ne-cart-backdrop[hidden], .ne-cart-drawer[hidden] { display: none; }
.ne-cart-backdrop { position: fixed; inset: 0; z-index: 99998; background: rgb(30 20 29 / 42%); backdrop-filter: blur(2px); }
.ne-cart-drawer { position: fixed; inset: 0 0 0 auto; z-index: 99999; display: flex; flex-direction: column; width: min(100%, 480px); height: 100dvh; overflow: hidden; border-radius: var(--ne-radius-lg) 0 0 var(--ne-radius-lg); background: var(--ne-color-page); box-shadow: -20px 0 70px rgb(48 22 44 / 18%); color: var(--ne-color-text); font-family: var(--ne-font-sans); }
.ne-cart-drawer * { box-sizing: border-box; }
.ne-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-bottom: 1px solid var(--ne-color-border); }
.ne-cart-drawer__header span { color: var(--ne-color-text-muted); font-size: 11px; font-weight: var(--ne-weight-bold); letter-spacing: .14em; text-transform: uppercase; }
.ne-cart-drawer__header h2 { margin: 2px 0 0; font-family: var(--ne-font-display); font-size: 28px; font-weight: var(--ne-weight-regular); }
.ne-cart-drawer__close { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--ne-color-border); border-radius: 50%; background: var(--ne-color-surface); color: var(--ne-color-text); font: 30px/1 var(--ne-font-sans); cursor: pointer; }
.ne-cart-drawer__close svg { width: 20px; height: 20px; }
.ne-cart-drawer__status:not(:empty) { margin: 0; padding: 10px 28px; border-bottom: 1px solid var(--ne-color-border); background: var(--ne-color-action-soft); font-size: 13px; }
.ne-cart-drawer .widget_shopping_cart_content { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.ne-cart-drawer .woocommerce-mini-cart { flex: 1; min-height: 0; margin: 0; padding: 22px; overflow-y: auto; list-style: none; }
.ne-cart-drawer .woocommerce-mini-cart-item { position: relative; margin: 0 0 14px; padding: 18px; border: 1px solid var(--ne-color-border); border-radius: var(--ne-radius-sm); background: var(--ne-color-surface); overflow: hidden; }
.ne-cart-drawer .woocommerce-mini-cart-item.ne-mini-cart-item { display: grid !important; grid-template-columns: 76px minmax(0, 1fr); align-items: start; gap: 14px; }
.ne-cart-drawer .ne-mini-cart-item__image { grid-column: 1; }
.ne-cart-drawer .ne-mini-cart-item__body { grid-column: 2; min-width: 0; padding-right: 18px; }
.ne-cart-drawer .ne-mini-cart-item__body h3 { overflow-wrap: anywhere; line-height: 1.35; }
.ne-cart-drawer .ne-mini-cart-item__fixed { margin: 8px 0 0; color: var(--ne-color-text-muted); font-size: 12px; }
.ne-mini-cart-item { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 14px; }.ne-mini-cart-item__image img { width: 76px !important; height: 96px !important; margin: 0 !important; border-radius: var(--ne-radius-xs); object-fit: cover; }.ne-mini-cart-item__body h3 { margin: 0 24px 8px 0; font-size: 15px; }.ne-mini-cart-item__body h3 a { color: var(--ne-color-text); text-decoration: none; }.ne-mini-cart-item__price { font-weight: 700; }.ne-mini-cart-item__quantity { display: inline-grid; grid-template-columns: 34px 46px 34px; margin-top: 12px; border: 1px solid var(--ne-color-border); border-radius: var(--ne-radius-xs); overflow: hidden; }.ne-mini-cart-item__quantity button,.ne-mini-cart-item__quantity input { width: 100%; height: 34px; padding: 0; border: 0; background: var(--ne-color-surface); text-align: center; }.ne-mini-cart-item__quantity input { border-inline: 1px solid var(--ne-color-border); }.ne-mini-cart__footer { border-top: 1px solid var(--ne-color-border); }.ne-mini-cart__footnote { margin: 0; padding: 0 28px; color: var(--ne-color-text-muted); font-size: 12px; }.ne-mini-cart__empty { margin: auto; padding: 48px 28px; text-align: center; }
.ne-cart-drawer .woocommerce-mini-cart-item > a:not(.remove) { display: flex; align-items: flex-start; gap: 14px; padding-right: 18px; color: var(--ne-color-text); font-weight: var(--ne-weight-bold); text-decoration: none; }
.ne-cart-drawer .woocommerce-mini-cart-item img { float: none !important; width: 68px; height: 82px; flex: 0 0 68px; margin: 0 !important; border-radius: var(--ne-radius-xs); object-fit: cover; }
.ne-cart-drawer .woocommerce-mini-cart-item .remove { position: absolute; top: 8px; right: 10px; color: var(--ne-color-text-muted) !important; text-decoration: none; }
.ne-cart-drawer .quantity { display: block; margin: 10px 0 0 82px; color: var(--ne-color-text-soft); font-size: 13px; }
.ne-cart-drawer .woocommerce-mini-cart__total { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0; padding: 22px 28px 12px; border-top: 1px solid var(--ne-color-border); font-size: 24px; }
.ne-cart-drawer .woocommerce-mini-cart__total strong { color: var(--ne-color-text-muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.ne-cart-drawer .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; margin: 0; padding: 10px 28px max(28px, env(safe-area-inset-bottom)); }
.ne-cart-drawer .woocommerce-mini-cart__buttons a { display: flex; min-height: var(--ne-control-height); align-items: center; justify-content: center; padding: 12px; border: 1px solid var(--ne-color-action); border-radius: var(--ne-control-radius); background: var(--ne-color-surface); color: var(--ne-color-action); font-size: 12px; font-weight: var(--ne-weight-bold); text-align: center; text-decoration: none; }
.ne-cart-drawer .woocommerce-mini-cart__buttons a.checkout { background: var(--ne-color-action); color: var(--ne-color-surface); }
.ne-cart-drawer .woocommerce-mini-cart__empty-message { margin: auto; padding: 48px 28px; color: var(--ne-color-text-muted); text-align: center; }
.ne-cart-drawer :is(a, button):focus-visible { outline: 3px solid var(--ne-focus-ring-color); outline-offset: 3px; }
@media (max-width: 480px) { .ne-cart-drawer { border-radius: 0; } }
@media (prefers-reduced-motion: no-preference) { .ne-cart-drawer:not([hidden]) { animation: ne-cart-enter .22s ease-out; } @keyframes ne-cart-enter { from { transform: translateX(100%); } } }
