.ts-cart-layer[hidden], [data-cart-count][hidden] { display: none !important; }
body.ts-cart-open { overflow: hidden; }
.ts-cart-layer { position: fixed; inset: 0; z-index: 2147483000; color: #1b2923; font-family: inherit; }
.ts-cart-backdrop { position: absolute; inset: 0; border: 0; border-radius: 0; background: rgb(13 29 22 / 42%); backdrop-filter: blur(2px); width: 100%; height: 100%; cursor: pointer; }
.ts-cart-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(500px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -8px 0 40px #0002; }
.ts-cart-header { padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e3e9e5; }
.ts-cart-header h2 { margin: 0; font-size: 24px; line-height: 1.25; color: #17291f; font-weight: 700; }
.ts-cart-header button { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f1f6f3; color: #173d2b; font-size: 30px; line-height: 1; cursor: pointer; }
.ts-cart-scroll { padding: 0 28px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.ts-cart-notice { margin: 18px 0 0; padding: 12px 14px; border-radius: 8px; background: #eef8f2; color: #087749; font-size: 14px; line-height: 1.5; }
.ts-cart-notice:empty { display: none; }
.ts-cart-notice.is-error, .ts-cart-error { color: #9b2626; background: #fff0f0; padding: 12px; border-radius: 8px; }
.ts-cart-panel [aria-busy="true"] { opacity: .65; pointer-events: none; }
.ts-cart-totals { margin: 0 0 20px; padding: 22px 0 0; font-size: 15px; line-height: 1.5; }
.ts-cart-totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 10px; }
.ts-cart-totals dt { min-width: 0; }
.ts-cart-totals dt span { color: #637068; font-size: 13px; font-weight: 400; }
.ts-cart-totals dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.ts-cart-totals .ts-cart-total { border-top: 1px solid #e3e9e5; padding-top: 16px; margin-top: 16px; margin-bottom: 0; font-size: 22px; font-weight: 700; }
.ts-cart-totals .ts-cart-total dt span { display: block; font-size: 12px; }
.ts-cart-free { color: #00844e; font-weight: 600; }
a.ts-cart-checkout, button.ts-cart-checkout { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; width: 100%; box-sizing: border-box; border: 0; border-radius: 9px; padding: 14px 16px; background: #008751; color: #fff; text-decoration: none; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; line-height: 1.4; }
a.ts-cart-checkout:hover, button.ts-cart-checkout:hover { background: #006c40; color: #fff; }
.ts-cart-delivery-note { margin: 10px 0 16px; color: #637068; font-size: 12px; line-height: 1.5; text-align: center; }
a.ts-cart-edit { display: inline-block; margin: 0 0 20px; color: #00844e; font-size: 14px; font-weight: 600; text-underline-offset: 3px; }
.ts-cart-items { min-width: 0; }
.ts-cart-item { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid #e3e9e5; }
.ts-cart-photo { display: flex; align-items: flex-start; justify-content: center; padding-top: 3px; }
.ts-cart-photo img { width: 80px; height: 90px; max-width: 100%; object-fit: contain; border-radius: 4px; }
.ts-cart-item-details { min-width: 0; }
a.ts-cart-item-title { display: block; color: #20352a; font-size: 15px; font-weight: 600; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
a.ts-cart-item-title:hover { color: #00844e; text-decoration: underline; }
.ts-cart-variants { font-size: 12px; color: #637068; margin: 5px 0 0; line-height: 1.5; }
.ts-cart-item-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.ts-cart-item-price { flex: 1; min-width: 60px; white-space: nowrap; font-size: 16px; color: #1b2923; font-variant-numeric: tabular-nums; }
.ts-cart-quantity { display: inline-flex; align-items: center; background: #f3f7f5; border: 1px solid #e0e7e2; border-radius: 8px; overflow: hidden; }
.ts-cart-quantity button { width: 34px; height: 44px; border: 0; padding: 0; background: transparent; color: #174c33; font-size: 19px; cursor: pointer; }
.ts-cart-quantity button:disabled { opacity: .35; cursor: default; }
.ts-cart-quantity input { appearance: textfield; -moz-appearance: textfield; width: 42px; min-width: 0; height: 44px; padding: 0 2px; margin: 0; box-sizing: border-box; border: 0; border-left: 1px solid #e0e7e2; border-right: 1px solid #e0e7e2; border-radius: 0; background: #fff; text-align: center; color: #1b2923; font: inherit; font-size: 16px; }
.ts-cart-quantity input::-webkit-inner-spin-button, .ts-cart-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.ts-cart-remove { border: 0; background: none; padding: 0; width: 40px; height: 44px; color: #637068; font-size: 20px; cursor: pointer; }
.ts-cart-remove:hover { color: #b52e2e; }
.ts-cart-continue { display: block; min-height: 44px; margin: 12px auto; padding: 10px 18px; border: 0; background: none; color: #00844e; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ts-cart-empty { padding: 46px 0; text-align: center; }
.ts-cart-empty > .fa { font-size: 40px; color: #00a563; margin-bottom: 20px; }
.ts-cart-empty h2, .ts-cart-empty h3 { color: #20352a; font-size: 22px; line-height: 1.4; margin: 0 0 12px; }
.ts-cart-empty p { margin: 0 0 24px; color: #637068; line-height: 1.6; }
.ts-cart-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.ts-cart-layer :focus-visible, .ts-cart-page :focus-visible { outline: 3px solid #138956; outline-offset: 3px; }
.ts-cart-page { padding: 16px 0 40px; color: #1b2923; }
.ts-cart-page h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.3; margin: 0 0 26px; }
.ts-cart-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 370px); align-items: start; gap: 48px; }
.ts-cart-page .ts-cart-item { grid-template-columns: 110px minmax(0, 1fr); padding: 26px 0; gap: 24px; }
.ts-cart-page .ts-cart-photo img { width: 110px; height: 120px; }
.ts-cart-page .ts-cart-item-title { font-size: 16px; }
.ts-cart-page .ts-cart-item-controls { margin-top: 18px; }
.ts-cart-order-summary { padding: 24px; background: #f7faf8; border: 1px solid #e2ebe5; border-radius: 12px; }
.ts-cart-order-summary h2 { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.4; }
.ts-cart-coupon { border-top: 1px solid #dfe8e2; padding-top: 18px; margin-top: 20px; font-size: 14px; }
.ts-cart-coupon summary { color: #325541; cursor: pointer; min-height: 30px; }
.ts-cart-coupon label { display: block; margin: 8px 0; font-size: 13px; }
.ts-cart-coupon form > div { display: flex; gap: 8px; }
.ts-cart-coupon input { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #cbd9d0; border-radius: 6px; padding: 10px; font: inherit; font-size: 16px; }
.ts-cart-coupon button { border: 0; border-radius: 6px; padding: 10px; background: #e2eee7; color: #195c37; font: inherit; font-weight: 600; cursor: pointer; }
.ts-cart-reassurance { font-size: 12px; line-height: 1.6; color: #637068; margin: 20px 0 0; }
.ts-cart-reassurance .fa { color: #00a563; }
a.ts-cart-back { display: inline-block; padding: 20px 0; color: #00844e; font-size: 14px; font-weight: 600; }
.ts-cart-page-message:empty { display: none; }
@media (max-width: 900px) { .ts-cart-page-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 600px) {
    .ts-cart-panel { width: 100%; }
    .ts-cart-header { padding: 18px 20px; }
    .ts-cart-header h2 { font-size: 23px; }
    .ts-cart-scroll { padding-left: 20px; padding-right: 20px; }
    .ts-cart-item, .ts-cart-page .ts-cart-item { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
    .ts-cart-photo img, .ts-cart-page .ts-cart-photo img { width: 68px; height: 82px; }
    .ts-cart-item-controls { gap: 4px; }
    .ts-cart-item-price { font-size: 15px; }
    .ts-cart-quantity button { width: 30px; }
    .ts-cart-quantity input { width: 34px; }
    .ts-cart-remove { width: 32px; }
    .ts-cart-page { padding-top: 20px; }
    .ts-cart-order-summary { padding: 20px; }
}
