body.tt-smartcart-lock { overflow: hidden; }
.tt-smartcart-overlay { position: fixed; inset: 0; z-index: 10050; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.tt-smartcart-overlay.is-open { visibility: visible; opacity: 1; }
.tt-smartcart-backdrop { position: absolute; inset: 0; background: rgba(28, 20, 24, .48); backdrop-filter: blur(2px); }
.tt-smartcart-panel { position: absolute; top: 0; right: 0; width: min(560px, 100%); height: 100%; background: #fff; box-shadow: -12px 0 40px rgba(36, 25, 31, .18); transform: translateX(102%); transition: transform .25s ease; overflow-y: auto; }
.tt-smartcart-overlay.is-open .tt-smartcart-panel { transform: translateX(0); }
.tt-smartcart-overlay.is-loading .tt-smartcart-panel:after { content: ''; position: absolute; z-index: 5; inset: 0; background: rgba(255,255,255,.55); }
.tt-smartcart-content { min-height: 100%; padding: 24px; color: #2c2529; }
.tt-smartcart-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.tt-smartcart-head h3 { margin: 0; font-size: 24px; font-weight: 700; }
.tt-smartcart-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f6f1f3; font-size: 27px; line-height: 34px; color: #352d31; }
.tt-smartcart-products { border-top: 1px solid #eee5e8; }
.tt-smartcart-product { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid #eee5e8; align-items: center; }
.tt-smartcart-product.is-gift { background: #fff9f2; margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 12px; }
.tt-smartcart-image img { display: block; width: 82px; height: 82px; object-fit: contain; border-radius: 10px; border: 1px solid #eee5e8; background: #fff; }
.tt-smartcart-name { display: block; color: #2c2529; font-size: 15px; font-weight: 600; line-height: 1.3; }
.tt-smartcart-model { margin-top: 5px; color: #92878c; font-size: 12px; }
.tt-smartcart-gift-label { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: #f2d9a7; color: #614818; font-size: 12px; font-weight: 700; }
.tt-smartcart-product-actions { display: flex; align-items: center; gap: 10px; }
.tt-smartcart-qty { display: flex; align-items: center; border: 1px solid #ded3d7; border-radius: 9px; overflow: hidden; }
.tt-smartcart-qty button { width: 30px; height: 34px; border: 0; background: #faf7f8; font-size: 18px; }
.tt-smartcart-qty input { width: 40px; height: 34px; padding: 0; border: 0; border-left: 1px solid #eee5e8; border-right: 1px solid #eee5e8; text-align: center; appearance: textfield; }
.tt-smartcart-qty input::-webkit-inner-spin-button { appearance: none; }
.tt-smartcart-line-total, .tt-smartcart-gift-price { min-width: 72px; text-align: right; font-weight: 700; white-space: nowrap; }
.tt-smartcart-remove { border: 0; background: transparent; color: #a69ca0; font-size: 17px; padding: 6px; }
.tt-smartcart-remove:hover { color: #c5415b; }
.tt-smartcart-progress-wrap { display: grid; gap: 14px; margin-top: 18px; }
.tt-smartcart-shipping, .tt-smartcart-gifts { padding: 15px; border-radius: 13px; background: #f9f5f6; }
.tt-smartcart-shipping.is-ready { background: #eff8f1; }
.tt-smartcart-progress-title, .tt-smartcart-gifts-title { display: flex; align-items: center; gap: 9px; font-weight: 650; line-height: 1.35; }
.tt-smartcart-progress-title .fa, .tt-smartcart-gifts-title .fa { color: #d2627c; font-size: 18px; }
.tt-smartcart-shipping.is-ready .fa { color: #4d9a60; }
.tt-smartcart-bar { height: 8px; margin-top: 11px; border-radius: 999px; background: #eadfe2; overflow: hidden; }
.tt-smartcart-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #e0859a, #c75672); transition: width .25s ease; }
.tt-smartcart-shipping.is-ready .tt-smartcart-bar span { background: #5ca86e; }
.tt-smartcart-gift-list { display: grid; gap: 8px; margin-top: 12px; }
.tt-smartcart-gift-tier { display: grid; grid-template-columns: 48px minmax(0, 1fr) 22px; gap: 10px; align-items: center; padding: 9px; border: 1px solid #eadfe2; border-radius: 10px; background: #fff; opacity: .62; }
.tt-smartcart-gift-tier.is-current { border-color: #d8879a; opacity: 1; }
.tt-smartcart-gift-tier.is-ready { border-color: #a9d2b1; background: #f4fbf5; opacity: 1; }
.tt-smartcart-gift-tier img { width: 48px; height: 48px; border-radius: 8px; object-fit: contain; }
.tt-smartcart-gift-tier strong { display: block; font-size: 13px; line-height: 1.25; }
.tt-smartcart-gift-tier span { display: block; margin-top: 3px; color: #7f7378; font-size: 12px; line-height: 1.3; }
.tt-smartcart-gift-tier > .fa { color: #56a36a; font-size: 19px; }
.tt-smartcart-total { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 16px; }
.tt-smartcart-total strong { font-size: 20px; }
.tt-smartcart-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tt-smartcart-buttons .btn { min-height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 9px; font-weight: 650; }
.tt-smartcart-checkout { background: #c95672; border-color: #c95672; }
.tt-smartcart-checkout:hover, .tt-smartcart-checkout:focus { background: #b84762; border-color: #b84762; }
.tt-smartcart-empty { padding: 60px 20px; text-align: center; color: #8b7f84; }
.tt-smartcart-empty .fa { font-size: 44px; color: #dfccd2; }
.tt-smartcart-empty p { margin-top: 15px; }
#tt-smartcart-checkout-progress { margin: 0 0 24px; }
#tt-smartcart-checkout-progress .tt-smartcart-progress-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tt-smartcart-opc-gift { background: #fff9f2; border-radius: 10px; }
.tt-smartcart-opc-gift-label { display: inline-block; margin-top: 7px; padding: 3px 9px; border-radius: 999px; background: #f2d9a7; color: #614818; font-size: 12px; font-weight: 700; }

@media (max-width: 600px) {
  .tt-smartcart-content { padding: 16px; }
  .tt-smartcart-product { grid-template-columns: 70px minmax(0, 1fr); align-items: start; }
  .tt-smartcart-image img { width: 70px; height: 70px; }
  .tt-smartcart-product-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .tt-smartcart-buttons { grid-template-columns: 1fr; }
  #tt-smartcart-checkout-progress .tt-smartcart-progress-wrap { grid-template-columns: 1fr; }
}
