/* 0.3.39 Side cart (drawer) */
.rr-drawer { position: fixed; inset: 0; z-index: 100000; }
.rr-drawer[hidden] { display: none; }
.rr-drawer__scrim { position: absolute; inset: 0; background: rgba(17, 17, 17, .45); opacity: 0; transition: opacity .25s ease; }
.rr-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0, 0, 0, .18); transform: translateX(100%); transition: transform .25s ease; outline: 0; font: 400 14px/1.45 'Open Sans', Poppins, sans-serif; color: #111; }
.rr-drawer.is-open .rr-drawer__scrim { opacity: 1; }
.rr-drawer.is-open .rr-drawer__panel { transform: none; }
.rr-drawer.is-busy .rr-drawer__body { opacity: .55; pointer-events: none; }
html.rr-drawer-lock { overflow: hidden; }
.admin-bar .rr-drawer__panel { top: 32px; }
@media (max-width: 782px) { .admin-bar .rr-drawer__panel { top: 46px; } .rr-drawer__panel { width: 100vw; } }

.rr-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #e3e6ea; }
.rr-drawer__head h2 { margin: 0; font: 800 17px/1.2 Montserrat, 'Open Sans', sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.rr-drawer__x { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: #111; padding: 0 4px; }
.rr-drawer__x:focus-visible, .rr-drawer button:focus-visible, .rr-drawer a:focus-visible, .rr-drawer input:focus-visible { outline: 2px solid var(--c, #19a7e0); outline-offset: 2px; }
.rr-drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.rr-drawer__loading, .rr-drawer__empty { text-align: center; padding: 40px 0; color: #6b7280; }
.rr-drawer__empty .rr-dbtn { display: inline-flex; width: auto; padding: 0 26px; margin-top: 10px; }

.rr-nudge--drawer { margin: 0 0 14px !important; }
.rr-dlines { list-style: none; margin: 0; padding: 0; }
.rr-dline { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid #eef1f4; }
.rr-dline__img img { width: 72px; height: 72px; object-fit: contain; border: 1px solid #e3e6ea; border-radius: 8px; background: #fff; display: block; }
.rr-dline__name { font-weight: 700; color: #111 !important; text-decoration: none !important; display: block; line-height: 1.3; }
.rr-dline__meta, .rr-dline__price { margin: 3px 0 0; font-size: 12.5px; color: #6b7280; }
.rr-dline__price del { color: #9aa1a9; }
.rr-dline__sub { display: inline-block; margin: 5px 0 0; padding: 2px 8px; border-radius: 99px; background: #e8f6fd; color: #0b6a94; font-size: 11.5px; font-weight: 700; }
.rr-dline__qty { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.rr-dline__qty button:not(.rr-dline__rm) { width: 30px; height: 30px; border: 1px solid #c9cfd6; border-radius: 6px; background: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.rr-dline__qty button[disabled] { opacity: .4; cursor: default; }
.rr-dline__qty input { width: 46px; height: 30px; border: 1px solid #c9cfd6; border-radius: 6px; text-align: center; font: 600 14px 'Open Sans', sans-serif; -moz-appearance: textfield; }
.rr-dline__qty input::-webkit-outer-spin-button, .rr-dline__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rr-dline__rm { margin-left: 6px; border: 0; background: none; color: #6b7280; text-decoration: underline; cursor: pointer; font-size: 12.5px; padding: 0; }
.rr-dline__total { font-weight: 700; white-space: nowrap; }

.rr-drawer__foot { padding: 16px 20px 20px; border-top: 1px solid #e3e6ea; display: grid; gap: 10px; }
.rr-drawer__foot:empty { display: none; }
.rr-dsum { display: flex; justify-content: space-between; margin: 0; font-size: 16px; font-weight: 800; }
.rr-dsum--save { font-size: 14px; font-weight: 600; color: #1c7c3c; }
.rr-dsum__note { margin: -4px 0 4px; font-size: 12.5px; color: #6b7280; }
.rr-dbtn { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 6px; font: 700 15px 'Open Sans', sans-serif; text-decoration: none !important; }
.rr-dbtn--dark { background: #111; color: #fff !important; }
.rr-dbtn--dark:hover { background: #2a2a2a; }
.rr-dbtn--ghost { border: 1px solid #111; color: #111 !important; background: #fff; }
.rr-dbtn--ghost:hover { background: #f5f6f8; }
.single_add_to_cart_button.loading { opacity: .6; }
