/* Cart drawer */
.osr-cd { position: fixed; inset: 0; z-index: 2147483000; visibility: hidden; pointer-events: none; }
.osr-cd.is-open { visibility: visible; pointer-events: auto; }
.osr-cd__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .3s; }
.osr-cd.is-open .osr-cd__overlay { opacity: 1; }
.osr-cd__panel { position: absolute; top: 0; right: 0; bottom: 0; width: 450px; max-width: 100vw; background: #fff; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(0,0,0,.15); font-family: proxima, "Assistant", sans-serif; color: #222; letter-spacing: 0; }
.osr-cd.is-open .osr-cd__panel { transform: none; }
.osr-cd__inner { display: flex; flex-direction: column; height: 100%; min-height: 0; position: relative; }
.osr-cd__inner.is-busy::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.55); z-index: 5; }
.osr-cd__inner.is-busy::before { content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 3px solid rgba(0,0,0,.12); border-top-color: #222; border-radius: 50%; z-index: 6; animation: osr-cd-spin .7s linear infinite; }
@keyframes osr-cd-spin { to { transform: rotate(360deg); } }
.osr-cd *, .osr-cd *::before, .osr-cd *::after { box-sizing: border-box; }
.osr-cd button { font-family: inherit; }
html.osr-cd-open { overflow: hidden; }

.osr-cd__head { display: flex; align-items: center; justify-content: space-between; padding: 0 17px; height: 54px; border-bottom: 1px solid #dcdcdc; flex: 0 0 auto; }
.osr-cd__title { margin: 0; font-size: 16px; line-height: 1; font-weight: 700; font-family: inherit; text-transform: none; color: #222; letter-spacing: 0; }
.osr-cd__close { background: none; border: 0; padding: 4px; cursor: pointer; color: #333; display: flex; margin: 0; min-height: 0; line-height: 1; }

.osr-cd__scroll { flex: 1 1 auto; overflow-y: auto; min-height: 0; background: #fff; }
.osr-cd__scroll--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 40px; }
.osr-cd__empty-text { margin: 0; font-size: 16px; }
.osr-cd__btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 28px; background: #000; color: #fff; border-radius: 8px; text-decoration: none; font-size: 15px; }

.osr-cd__timer { background: #ececec; color: #555; text-align: center; font-size: 14px; line-height: 44px; height: 44px; }
.osr-cd__ship { padding: 16px 32px 22px; text-align: center; }
.osr-cd__ship-text { margin: 0 0 14px; font-size: 14px; line-height: 20px; color: #333; }
.osr-cd__ship-text mark { background: #d8ff00; color: #222; font-weight: 700; padding: 0 2px; }
.osr-cd__ship-text strong { font-weight: 700; }
.osr-cd__bar { position: relative; height: 8px; background: #ededed; border-radius: 8px; margin: 0 4px; }
.osr-cd__bar-fill { position: absolute; left: 0; top: 0; bottom: 0; background: #000; border-radius: 8px; transition: width .4s; }
.osr-cd__mile { position: absolute; top: 50%; width: 34px; height: 34px; margin-top: -17px; margin-left: -17px; border-radius: 50%; background: #f1f1f1; color: #222; display: flex; align-items: center; justify-content: center; }
.osr-cd__mile--1 { left: 50%; }
.osr-cd__mile--2 { left: 100%; }
.osr-cd__mile.is-done { background: #000; color: #fff; }

.osr-cd__items { list-style: none; margin: 0; padding: 0 17px; }
.osr-cd__item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid #ddd; margin: 0; }
.osr-cd__thumb { flex: 0 0 80px; width: 80px; height: 80px; border-radius: 4px; overflow: hidden; background: #f2f2f2; display: block; }
.osr-cd__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.osr-cd__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.osr-cd__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.osr-cd__name { color: #555; text-decoration: none; font-size: 15px; line-height: 22px; font-weight: 400; }
.osr-cd__price { font-weight: 700; font-size: 15px; line-height: 22px; white-space: nowrap; color: #111; }
.osr-cd__meta { font-size: 12px; line-height: 18px; color: #777; margin-top: 2px; }
.osr-cd__row--ctrl { margin-top: auto; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 8px; }
.osr-cd__remove { background: none; border: 0; padding: 4px; cursor: pointer; color: #333; display: flex; margin: 0; min-height: 0; }
.osr-cd__qty { display: inline-flex; align-items: center; justify-content: space-between; width: 78px; height: 30px; padding: 0 8px; background: #f0f0f0; border-radius: 20px; font-size: 13px; }
.osr-cd__qty button { background: none; border: 0; padding: 2px; cursor: pointer; color: #555; display: flex; margin: 0; min-height: 0; line-height: 1; }
.osr-cd__qty span { min-width: 14px; text-align: center; }

.osr-cd__ups { background: #efefef; padding: 16px 17px 14px; margin-top: 18px; }
.osr-cd__ups-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; margin-bottom: 12px; }
.osr-cd__ups-nav { display: inline-flex; gap: 18px; }
.osr-cd__ups-nav button { background: none; border: 0; padding: 2px; cursor: pointer; color: #222; display: flex; margin: 0; min-height: 0; }
.osr-cd__ups-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.osr-cd__ups-track::-webkit-scrollbar { display: none; }
.osr-cd__up { flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px; padding: 12px; }
.osr-cd__up-img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 4px; overflow: hidden; background: #f2f2f2; }
.osr-cd__up-img img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.osr-cd__up-info { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 20px; }
.osr-cd__up-info a { color: #222; text-decoration: none; display: block; margin-bottom: 4px; }
.osr-cd__up-price strong { font-weight: 700; }
.osr-cd__up-price s { color: #888; font-size: 13px; margin-left: 4px; }
.osr-cd__add { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #2b2b2b; color: #fff; border: 0; border-radius: 6px; font-size: 13px; cursor: pointer; margin: 0; min-height: 0; text-transform: none; letter-spacing: 0; }
.osr-cd__add:disabled { opacity: .5; }

.osr-cd__note { background: #fff; padding: 0; }
.osr-cd__note textarea { margin-bottom: 8px; }
.osr-cd__note summary, .osr-cd__disc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 14px 0; color: #333; }
.osr-cd__note summary::-webkit-details-marker, .osr-cd__disc summary::-webkit-details-marker { display: none; }
.osr-cd__note summary svg, .osr-cd__disc summary svg { transition: transform .2s; }
.osr-cd__note:not([open]) summary svg, .osr-cd__disc:not([open]) summary svg { transform: rotate(180deg); }
.osr-cd__note textarea { width: 100%; min-height: 80px; padding: 12px; border: 1px solid #ddd; border-radius: 6px; background: #fff; font-size: 14px; font-family: inherit; resize: vertical; margin: 0; box-shadow: none; }
.osr-cd__note textarea:focus { outline: 1px solid #999; }

.osr-cd__foot { flex: 0 0 auto; background: #fff; padding: 4px 17px 18px; box-shadow: 0 -6px 14px rgba(0,0,0,.08); position: relative; }
.osr-cd__disc-form { display: flex; gap: 8px; padding-bottom: 6px; }
.osr-cd__disc-form input { flex: 1; height: 40px; border: 1px solid #ddd; border-radius: 6px; padding: 0 12px; margin: 0; font-size: 14px; box-shadow: none; }
.osr-cd__disc-form button { height: 40px; padding: 0 18px; border: 0; border-radius: 6px; background: #2b2b2b; color: #fff; cursor: pointer; margin: 0; min-height: 0; text-transform: none; letter-spacing: 0; }
.osr-cd__disc-msg { margin: 0 0 6px; font-size: 12px; color: #c00; min-height: 0; }
.osr-cd__disc-msg:empty { display: none; }
.osr-cd__line { display: flex; align-items: center; justify-content: space-between; font-size: 16px; line-height: 24px; padding: 6px 0 14px; color: #333; }
.osr-cd__line strong { font-weight: 700; color: #111; }
.osr-cd__line--disc { padding: 0 0 8px; font-size: 14px; }
.osr-cd__line--disc button { background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0 0 0 6px; font-size: 12px; color: #555; min-height: 0; margin: 0; text-transform: none; }
.osr-cd__checkout { display: flex; align-items: center; justify-content: center; height: 52px; background: #000; color: #fff !important; border-radius: 12px; font-size: 16px; text-decoration: none; letter-spacing: 0; }
.osr-cd__checkout:hover { background: #222; }
.osr-cd__pay { display: flex; justify-content: center; gap: 8px; padding-top: 22px; }
.osr-cd__pay img { width: 38px; height: 24px; margin: 0; }

/* Flatsome's own mini cart is replaced */
#header .cart-item .nav-dropdown, #header .cart-item .off-canvas-cart, #cart-popup { display: none !important; }
@media (max-width: 549px) { .osr-cd__panel { width: 100vw; } }

.osr-cd .woocommerce-Price-amount, .osr-cd .woocommerce-Price-amount bdi, .osr-cd .woocommerce-Price-currencySymbol { color: inherit; font-size: inherit; font-weight: inherit; }
.osr-cd__checkout, .osr-cd__checkout * { color: #fff !important; }
.osr-cd__up-price s .woocommerce-Price-amount { color: #888; }
.osr-cd a { box-shadow: none; }

.osr-cd .osr-cd__title { font-family: proxima, "Assistant", sans-serif !important; font-weight: 700; letter-spacing: 0; text-transform: none; }
.osr-cd__checkout { gap: 5px; }

.osr-cd__actions { display: flex; gap: 10px; }
.osr-cd__viewcart { flex: 0 0 32%; display: flex; align-items: center; justify-content: center; height: 52px; background: #fff; color: #000 !important; border: 1px solid #000; border-radius: 12px; font-size: 16px; text-decoration: none; letter-spacing: 0; box-sizing: border-box; }
.osr-cd__viewcart:hover { background: #f2f2f2; }
.osr-cd__actions .osr-cd__checkout { flex: 1 1 auto; min-width: 0; padding: 0 8px; white-space: nowrap; }

/* ===== Pure-style layout (ref: purediffuserco.com cart drawer), HeloMelo colours/fonts =====
   --osr-cd-dark = site black, --osr-cd-accent = site lime (same pair as the PDP add-to-cart button) */
.osr-cd { --osr-cd-dark: #121212; --osr-cd-accent: #cdd949; --osr-cd-line: #e6e6e6; }
.osr-cd__panel { width: 480px; font-family: var(--body), 'proxima', sans-serif; color: var(--osr-cd-dark); }
.osr-cd .osr-cd__title { font-family: var(--heading), 'agenda', sans-serif !important; font-size: 20px; font-weight: 600; text-align: center; flex: 1; padding-left: 30px; color: var(--osr-cd-dark); }
.osr-cd__head { height: 56px; border-bottom: 1px solid var(--osr-cd-line); }
.osr-cd__close { color: var(--osr-cd-dark); }

.osr-cd__trust { display: flex; align-items: center; justify-content: center; gap: 36px; background: var(--osr-cd-dark); color: #fff; height: 56px; flex: 0 0 auto; font-family: var(--heading), 'agenda', sans-serif; font-size: 14px; font-weight: 600; }
.osr-cd__trust span { display: inline-flex; align-items: center; gap: 8px; }
.osr-cd__trust svg { color: var(--osr-cd-accent); flex: 0 0 auto; }

.osr-cd__ship { padding: 18px 24px 4px; text-align: center; }
.osr-cd__ship-text { margin: 0 0 14px; font-size: 13px; line-height: 18px; color: var(--osr-cd-dark); }
.osr-cd__ship-text strong { font-weight: 700; }
.osr-cd__bar { position: relative; height: 10px; background: #ececec; border-radius: 0; margin: 0 22px 0 0; }
.osr-cd__bar-fill { background: var(--osr-cd-dark); border-radius: 0; }
.osr-cd__mile { position: absolute; right: -22px; top: 50%; width: 16px; height: 16px; margin: -8px 0 0; border: 2px solid #bdbdbd; background: #f4f4f4; border-radius: 3px; }
.osr-cd__ship.is-done .osr-cd__mile { border-color: var(--osr-cd-dark); background: var(--osr-cd-accent); }
.osr-cd__ship-goal { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-top: 8px; color: #666; font-size: 12px; }
.osr-cd__ship-goal svg { color: var(--osr-cd-dark); }
.osr-cd__ship-goal span { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }

.osr-cd__items { padding: 0 24px; }
.osr-cd__item { border-bottom: 0; padding: 14px 0 18px; gap: 14px; }
.osr-cd__thumb { flex-basis: 114px; width: 114px; height: 114px; border-radius: 10px; }
.osr-cd__info { flex-direction: row; justify-content: space-between; gap: 12px; }
.osr-cd__left { display: flex; flex-direction: column; min-width: 0; }
.osr-cd__name { color: var(--osr-cd-dark); font-family: var(--heading), 'agenda', sans-serif; font-weight: 700; font-size: 16px; line-height: 22px; }
.osr-cd__meta { font-size: 13px; line-height: 20px; color: #666; margin-top: 6px; }
.osr-cd__left .osr-cd__qty { margin-top: 10px; align-self: flex-start; }
.osr-cd__right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 4px; flex: 0 0 auto; }
.osr-cd__was { color: #8a8a8a; font-size: 14px; line-height: 20px; }
.osr-cd .osr-cd__price { font-size: 16px; font-weight: 700; line-height: 22px; }
.osr-cd__save { display: inline-flex; align-items: center; gap: 5px; background: #eef8c9; color: #3f5a0a; font-size: 13px; line-height: 18px; padding: 3px 8px; border-radius: 4px; margin-top: 2px; }
.osr-cd__right .osr-cd__remove { margin-top: 8px; color: var(--osr-cd-dark); }

.osr-cd__foot { box-shadow: none; border-top: 1px solid var(--osr-cd-line); padding: 14px 24px 16px; background: #fafafa; }
.osr-cd__disc summary { padding: 0 0 10px; font-size: 13px; color: #555; }
.osr-cd__line { font-size: 13px; padding: 4px 0 12px; }
.osr-cd__line--disc { padding: 0 0 12px; }
.osr-cd__line--disc > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.osr-cd__chip { display: inline-flex; align-items: center; gap: 5px; font-style: normal; background: #efefef; border-radius: 4px; padding: 3px 8px; font-size: 13px; color: #444; }
.osr-cd__chip button { background: none; border: 0; padding: 0 0 0 4px; font-size: 16px; line-height: 1; cursor: pointer; color: #555; min-height: 0; margin: 0; }
.osr-cd__line--sub { font-size: 17px; font-family: var(--heading), 'agenda', sans-serif; font-weight: 600; padding: 0 0 10px; }
.osr-cd__line--sub strong { font-size: 17px; }
.osr-cd__terms { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; margin: 0 0 12px; cursor: pointer; color: #333; }
.osr-cd__terms input { width: 16px; height: 16px; margin: 0; flex: 0 0 auto; accent-color: var(--osr-cd-dark); }
.osr-cd__terms a { color: #1a5fd0; text-decoration: underline; }
.osr-cd__terms.is-error { color: #c00; animation: osrCdShake .35s; }
@keyframes osrCdShake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.osr-cd .osr-cd__checkout { height: 56px; background: var(--osr-cd-accent); border-radius: 8px; font-family: var(--heading), 'agenda', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; }
.osr-cd .osr-cd__checkout, .osr-cd .osr-cd__checkout * { color: var(--osr-cd-dark) !important; }
.osr-cd .osr-cd__checkout:hover { background: #bfca2f; }
.osr-cd__pay { padding-top: 14px; gap: 6px; }
@media (max-width: 549px) { .osr-cd__trust { gap: 18px; font-size: 12px; } .osr-cd__thumb { flex-basis: 90px; width: 90px; height: 90px; } }

/* Medium weight: 'agenda' here is Agenda Black (too heavy) -> Proxima Nova Semibold for labels, Regular for text */
.osr-cd__panel, .osr-cd { font-family: 'proxima_novaregular', 'proxima', sans-serif; font-weight: 400; }
.osr-cd .osr-cd__title, .osr-cd__trust, .osr-cd__name, .osr-cd__line--sub, .osr-cd .osr-cd__checkout { font-family: 'proxima', 'proxima_novaregular', sans-serif !important; font-weight: 600; }
.osr-cd .osr-cd__title { font-size: 19px; }
.osr-cd__trust { font-size: 14px; }
.osr-cd__name { font-size: 16px; }
.osr-cd .osr-cd__price, .osr-cd__ship-text strong, .osr-cd__line strong, .osr-cd__ship-goal span { font-family: 'proxima', 'proxima_novaregular', sans-serif; font-weight: 600; }
.osr-cd .osr-cd__checkout { font-size: 16px; letter-spacing: .03em; }

/* item details (flavor / pack / plan) + View cart & Checkout side by side */
.osr-cd__meta { display: flex; flex-direction: column; gap: 2px; }
.osr-cd__meta .osr-plan--sub { color: #3f5a0a; font-weight: 600; font-family: 'proxima', 'proxima_novaregular', sans-serif; }
.osr-cd__meta .osr-plan--once { color: #666; }
.osr-cd__actions { display: flex; gap: 10px; }
.osr-cd .osr-cd__viewcart { flex: 0 0 34%; height: 56px; background: #fff; border: 1.5px solid var(--osr-cd-dark); border-radius: 8px; color: var(--osr-cd-dark) !important; font-family: 'proxima', 'proxima_novaregular', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: .03em; text-transform: uppercase; }
.osr-cd .osr-cd__viewcart:hover { background: #f1f1f1; }
.osr-cd__actions .osr-cd__checkout { flex: 1 1 auto; min-width: 0; padding: 0 6px; white-space: nowrap; font-size: 15px; }
@media (max-width: 400px) { .osr-cd .osr-cd__viewcart, .osr-cd__actions .osr-cd__checkout { font-size: 13px; } }

/* highlight strip: icons from Theme Settings > Cart Drawer */
.osr-cd__trust svg { width: 28px; height: 28px; }
.osr-cd__trust img { width: 24px; height: 24px; object-fit: contain; display: block; }
.osr-cd__trust { gap: 28px; font-size: 15px; }
@media (max-width: 400px) { .osr-cd__trust { gap: 14px; font-size: 12px; } .osr-cd__trust svg { width: 22px; height: 22px; } }
