/* Covere Body: mini-cart drawer. Brand: pink #E15378, rose #D03860, ink #1F1F1F. */
.elementor-menu-cart__main, .cb-mc { --pink: #E15378; --rose: #D03860; --ink: #1F1F1F; --line: #EDE6E8; --soft: #FDF3F5; }
.cb-mc { display: flex; flex-direction: column; height: 100%; min-height: 0; font-family: Poppins, sans-serif; color: var(--ink); }
.cb-mc.is-busy { opacity: .6; pointer-events: none; transition: opacity .15s; }

/* the drawer panel itself: a flex column so the footer stays pinned */
.elementor-menu-cart__main { display: flex !important; flex-direction: column; padding: 0 !important; width: min(470px, 100vw) !important; }
.elementor-menu-cart__main .widget_shopping_cart_content { flex: 1 1 auto; min-height: 0; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; }
.elementor-menu-cart__main .cb-mc { flex: 1 1 auto; }

/* close button: round, top-right, aligned with the title */
.elementor-menu-cart__main .elementor-menu-cart__close-button { position: absolute !important; top: 16px; right: 18px; z-index: 5; width: 40px !important; height: 40px !important; margin: 0 !important; border-radius: 50%; background: var(--soft); cursor: pointer; transition: background .2s, transform .3s cubic-bezier(.22, 1, .36, 1); }
.elementor-menu-cart__main .elementor-menu-cart__close-button:hover { background: #FBE3E9; transform: rotate(90deg); }
.elementor-menu-cart__main .elementor-menu-cart__close-button::before, .elementor-menu-cart__main .elementor-menu-cart__close-button::after { left: 12px !important; width: 16px !important; height: 2px !important; top: 19px !important; background: var(--ink) !important; }

/* header */
.cb-mc__head { padding: 24px 74px 14px 28px; flex: 0 0 auto; }
.cb-mc__title { font: 500 22px/1.2 Kalnia, serif; color: var(--rose); }
.cb-mc__dot { margin: 0 2px; }

/* scrolling body */
.cb-mc__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px 28px 20px; overscroll-behavior: contain; }
.cb-mc__items { list-style: none; margin: 0; padding: 0; }
.cb-mc__item { position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); transition: opacity .25s, transform .25s; }
.cb-mc__item:first-child { border-top: 0; }
.cb-mc__item.is-leaving { opacity: .3; transform: translateX(14px); }
.cb-mc__img { display: block; width: 104px; height: 104px; border-radius: 8px; overflow: hidden; background: #F4E6E8; }
.cb-mc__img img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: none !important; }
.cb-mc__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-right: 34px; }
.cb-mc__name { font: 600 15px/1.3 Poppins, sans-serif; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.cb-mc__name:hover { color: var(--rose); }
.cb-mc__meta { font: 400 12.5px/1.4 Poppins, sans-serif; color: #5E5659; }
.cb-mc__price { font: 600 14px/1.4 Poppins, sans-serif; color: var(--rose); }
.cb-mc__price del { color: #9A9195; font-weight: 400; margin-right: 4px; }
.cb-mc__price ins { text-decoration: none; }

/* quantity stepper (pill) */
.cb-mc__qty { margin-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; height: 38px; border: 1px solid #D9D0D3; border-radius: 999px; background: #fff; }
.cb-mc__qbtn { width: 38px; height: 36px; border: 0 !important; background: none !important; padding: 0 !important; font: 400 18px/1 Poppins, sans-serif; color: var(--ink) !important; cursor: pointer; border-radius: 999px; transition: background .2s, color .2s; }
.cb-mc__qbtn:hover { background: var(--soft) !important; color: var(--rose) !important; }
.cb-mc__qnum { min-width: 26px; text-align: center; font: 500 14px/1 Poppins, sans-serif; }

/* trash */
.cb-mc__trash { position: absolute; top: 18px; right: 0; width: 30px; height: 30px; border: 0 !important; padding: 0 !important; border-radius: 50%; background: transparent !important; cursor: pointer; transition: background .2s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.cb-mc__trash::before { content: ''; position: absolute; inset: 5px; background: var(--rose); -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14M10 11v6M14 11v6'/%3E%3C/svg%3E"); mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14M10 11v6M14 11v6'/%3E%3C/svg%3E"); }
.cb-mc__trash:hover { background: var(--soft) !important; transform: scale(1.12); }

/* "Complete your collection" */
.cb-mc__up { position: relative; margin-top: 10px; padding: 22px 0 6px; border-top: 1px solid var(--line); }
.cb-mc__uptitle { margin: 0 0 14px; text-align: center; font: 500 20px/1.2 Kalnia, serif; color: var(--rose); }
.cb-mc__slides { background: var(--soft); border-radius: 14px; padding: 18px 20px; }
.cb-mc__slide { display: none; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.cb-mc__slide.is-on { display: grid; animation: cbMcIn .35s cubic-bezier(.22, 1, .36, 1); }
@keyframes cbMcIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.cb-mc__upimg { display: block; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: #F4E6E8; }
.cb-mc__upimg img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: none !important; }
.cb-mc__upbody { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cb-mc__upname { font: 600 15px/1.3 Kalnia, serif; color: var(--ink); text-decoration: none; }
.cb-mc__upname:hover { color: var(--rose); }
.cb-mc__upprice { font: 400 14px/1.3 Poppins, sans-serif; color: #5E5659; }
.cb-mc__uprow { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.cb-mc__sel { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 28px 0 12px !important; border: 1px solid #D9D0D3 !important; border-radius: 6px !important; background-color: #fff !important; font: 400 12.5px Poppins, sans-serif !important; color: var(--ink); }
.cb-mc__add { flex: 0 0 auto; height: 40px; padding: 0 22px !important; border: 0 !important; border-radius: 999px !important; background: var(--pink) !important; color: #fff !important; font: 600 14px/1 Poppins, sans-serif; cursor: pointer; transition: background .2s, transform .3s cubic-bezier(.22, 1, .36, 1); }
.cb-mc__add:hover { background: var(--rose) !important; transform: translateY(-2px); }
.cb-mc__add:disabled { opacity: .6; cursor: default; transform: none; }
.cb-mc__arrow { position: absolute; top: calc(50% + 14px); width: 28px; height: 28px; border: 0 !important; padding: 0 !important; border-radius: 50%; background: transparent !important; cursor: pointer; }
.cb-mc__arrow--prev { left: -22px; }
.cb-mc__arrow--next { right: -22px; }
.cb-mc__arrow::before { content: ''; position: absolute; inset: 8px; border-top: 2px solid var(--rose); border-right: 2px solid var(--rose); transform: rotate(45deg); }
.cb-mc__arrow--prev::before { transform: rotate(-135deg); }
.cb-mc__arrow:hover { background: var(--soft) !important; }

/* footer */
.cb-mc__foot { flex: 0 0 auto; padding: 16px 28px 24px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -10px 24px rgba(0, 0, 0, .05); }
.cb-mc__disc { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; font: 400 14px/1.3 Poppins, sans-serif; }
.cb-mc__chip { display: inline-flex; align-items: center; margin-right: auto; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--rose); font: 500 12px/1 Poppins, sans-serif; letter-spacing: .02em; }
.cb-mc__discamt { font-weight: 500; }
.cb-mc__checkout { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; border-radius: 999px; background: var(--pink); color: #fff !important; font: 600 17px/1 Poppins, sans-serif; text-decoration: none; transition: background .2s, transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s; }
.cb-mc__checkout:hover { background: var(--rose); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(208, 56, 96, .3); }
.cb-mc__checkout .amount, .cb-mc__checkout bdi { color: inherit; }
.cb-mc__view { display: block; margin-top: 12px; text-align: center; font: 500 13px/1 Poppins, sans-serif; color: #5E5659; text-decoration: underline; }
.cb-mc__view:hover { color: var(--rose); }

/* empty */
.cb-mc__empty { padding: 40px 28px; text-align: center; }
.cb-mc__empty p { margin: 0 0 18px; font: 400 15px/1.5 Poppins, sans-serif; color: #5E5659; }
.cb-mc__btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 30px; border-radius: 999px; background: var(--pink); color: #fff !important; font: 600 15px/1 Poppins, sans-serif; text-decoration: none; }

@media (max-width: 480px) {
	.cb-mc__head { padding: 20px 64px 12px 18px; }
	.cb-mc__scroll { padding: 4px 18px 16px; }
	.cb-mc__foot { padding: 14px 18px 20px; }
	.cb-mc__item { grid-template-columns: 88px 1fr; gap: 14px; }
	.cb-mc__img { width: 88px; height: 88px; }
	.cb-mc__slide { grid-template-columns: 78px 1fr; gap: 12px; }
	.cb-mc__upimg { width: 78px; height: 78px; }
	.cb-mc__arrow--prev { left: -14px; } .cb-mc__arrow--next { right: -14px; }
}
@media (prefers-reduced-motion: reduce) { .cb-mc__slide.is-on { animation: none; } .cb-mc__item, .cb-mc__checkout, .cb-mc__add, .cb-mc__trash { transition: none; } }
