.cart-button { position: relative; border: none; background: transparent; color: var(--color-3); font-size: 22px; display: inline-flex; align-items: center; justify-content: center; padding: 6px; transition: color .2s ease; } .cart-button:hover, .cart-button:focus { color: var(--color-6); outline: none; } .cart-count-badge { position: absolute; top: -4px; right: -4px; font-size: 11px; min-width: 18px; padding: 2px 6px; display: none; align-items: center; justify-content: center; } .cart-count-badge.is-visible { display: inline-flex; } .cart-overlay { position: fixed; inset: 0; background: rgba(17, 22, 32, 0.55); z-index: 1040; opacity: 0; visibility: hidden; transition: opacity .3s ease; } .cart-overlay.is-active { opacity: 1; visibility: visible; } .cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 100%; background: var(--color-1); color: var(--color-5); box-shadow: -8px 0 24px rgba(0, 0, 0, 0.2); transform: translateX(100%); transition: transform .3s ease; z-index: 1041; display: flex; flex-direction: column; } .cart-drawer.is-active { transform: translateX(0); } .cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); background-color: var(--color-6); } .cart-drawer__title { font-size: 18px; font-weight: 600; margin: 0; color: var(--color-2); } .cart-drawer__close { border: none; background: transparent; color: var(--color-5); font-size: 22px; padding: 4px; line-height: 1; transition: color .2s ease; } .cart-drawer__close:hover, .cart-drawer__close:focus { color: var(--color-6); outline: none; } .cart-drawer__content { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 12px; } .cart-empty { text-align: center; font-size: 14px; color: var(--color-3); margin-top: 32px; } .cart-item { display: flex; gap: 12px; padding: 14px; border-radius: 20px; background: var(--color-2); box-shadow: inset 0 0 0 1px rgb(164 15 188 / 20%); flex-direction: column; align-items: stretch; } .cart-item__info { flex: 1; min-width: 0; } .cart-item__service { font-size: 12px; font-weight: 600; margin-bottom: 6px; word-break: break-word; } .cart-item__detail { display: block; font-size: 12px; color: var(--color-3); word-break: break-word; } .cart-item__detail strong { color: var(--color-5); font-weight: 600; } .cart-item__meta { display: flex; flex-direction: row; gap: 8px; min-width: 80px; justify-content: flex-end; } .ri-close-line { color: #dc3545; font-size: 21.5px; } .cart-item__price { font-size: 16px; font-weight: 600; } .cart-item__remove { border: none; background: transparent; color: var(--color-3); font-size: 18px; line-height: 1; padding: 2px; transition: color .2s ease; } .cart-item__remove:hover, .cart-item__remove:focus { color: #ff7675; outline: none; } .cart-drawer__footer { padding: 20px 24px 24px; border-top: 1px solid rgba(255, 255, 255, 0.05); background: rgba(0, 0, 0, 0.05); } .cart-summary { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: 14px; } .cart-summary__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .cart-summary__row--balance span:last-child { font-weight: 600; } .cart-checkout-btn { width: 100%; font-size: 16px; } .cart-mobile-wrapper { display: flex; align-items: center; margin-left: 12px; } @media (max-width: 575.98px) { .cart-drawer { width: 100%; } } .grego-neworder-navbar { margin-left: 10px; margin-right: 10px !important; margin-top: 10px; }