/* Club de VELOCE (Redemption v2): cart drawer pieces, in the theme's own drawer style. Served by the app. */
.cdv-cart-notes:empty { display: none; }
.cdv-rb { margin: 0 0 16px; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border: 1px solid #e6e1d4; background: #faf8f3; }
.cdv-rb-img { width: 58px; height: 58px; background: #eee; flex: none; overflow: hidden; }
.cdv-rb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cdv-rb-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cdv-rb-k { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a6a1f; }
.cdv-rb-t { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; color: #161616; }
.cdv-rb-s { font-size: 11.5px; color: #555; line-height: 1.4; }
.cdv-rb-s s { color: #999; }
.cdv-rb-s b { color: #161616; letter-spacing: .04em; }
.cdv-rb-b { flex: none; border: 1px solid #161616; background: transparent; padding: 8px 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #161616; cursor: pointer; }
.cdv-rb-b:disabled { opacity: .5; cursor: default; }
/* "Only one 4ml per order": the banner asks to swap. */
.cdv-rb.cdv-rb-ask { position: relative; align-items: flex-start; padding-right: 30px; }
.cdv-rb-red { border-color: #e8b4b0; background: #fbeeed; }
.cdv-rb-red .cdv-rb-k { color: #b3261e; }
.cdv-rb-red .cdv-rb-k svg circle { fill: #b3261e; }
.cdv-rb-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cdv-rb-b.cdv-rb-dark { background: #161616; border-color: #161616; color: #fff; }
.cdv-rb-x { position: absolute; top: 4px; right: 6px; width: 24px; height: 24px; border: 0; background: transparent; color: #999; font-size: 18px; line-height: 1; cursor: pointer; padding: 0; }
.cdv-line-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 11px; font-weight: 600; color: #161616; background: #f2f2f0; border-radius: 999px; padding: 3px 9px 3px 4px; width: fit-content; }
.cdv-free { font-weight: 700; letter-spacing: .05em; }
/* Discount code box + chips (replaces the old applied-discounts list) */
.cdv-codebox { padding: 14px 23px 0; }
.cdv-codebox .cdv-code-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; color: #161616; }
.cdv-codebox .cdv-code-form { display: none; gap: 8px; }
.cdv-codebox.open .cdv-code-link { display: none; }
.cdv-codebox.open .cdv-code-form { display: flex; }
.cdv-codebox input { flex: 1; min-width: 0; height: 42px; border: 1px solid #cfcfcf; padding: 0 12px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; background: #fff; }
.cdv-codebox [data-cdv-code-apply] { background: #000; color: #fff; border: 0; padding: 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .08em; cursor: pointer; }
.cdv-code-msg { display: block; font-size: 12px; margin-top: 7px; }
.cdv-code-msg.ok { color: #23874f; }
.cdv-code-msg.bad { color: #c4363a; }
.cdv-chips-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0 23px !important; list-style: none; }
.cdv-chips-list > li { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 7px 10px 7px 11px; border-radius: 999px; background: #f2f2f0; border: 1px solid rgba(22, 22, 22, .08); color: #161616; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; }
.cdv-chips-list > li::before { content: ""; flex: none; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L2 12V2h10l8.6 8.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7' cy='7' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L2 12V2h10l8.6 8.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7' cy='7' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.cdv-chips-list > li.cdv-auto::before { display: none; }
.cdv-chips-list button { border: 0; background: none; padding: 0 0 0 2px; cursor: pointer; color: #777; font-size: 15px; line-height: 1; }
/* Loading feedback in the drawer */
.cdv-btn-loading { position: relative; color: transparent !important; pointer-events: none; }
.cdv-btn-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: cdv-cart-spin .7s linear infinite; }
.cdv-rb-b.cdv-btn-loading::after, .cdv-chips-list button.cdv-btn-loading::after { border-color: rgba(22, 22, 22, .2); border-top-color: #161616; }
.cdv-chips-list button.cdv-btn-loading::after { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
.cdv-chips-list li.cdv-chip-loading { opacity: .55; }
.cdv-codebox input:disabled { opacity: .6; }
@keyframes cdv-cart-spin { to { transform: rotate(360deg); } }
.cdv-rb-b.cdv-rb-dark.cdv-btn-loading::after { border-color: rgba(255, 255, 255, .3); border-top-color: #fff; }
#cdv-code-msg .cdv-rb { margin: 4px 0 10px; }
#cdv-code-msg .cdv-rb { gap: 10px; padding: 8px 28px 8px 8px; }
#cdv-code-msg .cdv-rb-img { width: 48px; height: 48px; }
#cdv-code-msg .cdv-rb-acts { flex-wrap: nowrap; gap: 6px; }
#cdv-code-msg .cdv-rb-b { padding: 7px 10px; letter-spacing: .06em; white-space: nowrap; }
/* Applied codes: one row that slides sideways; what each code saves in green; fades show there's more. */
.cdv-chips-list { flex-wrap: nowrap !important; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cdv-chips-list::-webkit-scrollbar { display: none; }
.cdv-chips-list > li { flex: none; white-space: nowrap; }
.cdv-chip-amt { color: #23874f; font-weight: 700; }
.cdv-chips-list.cdv-fade-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); }
.cdv-chips-list.cdv-fade-l { -webkit-mask-image: linear-gradient(to right, transparent, #000 44px); mask-image: linear-gradient(to right, transparent, #000 44px); }
.cdv-chips-list.cdv-fade-l.cdv-fade-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); }

/* Adding / swapping a free item: a see-through, blurred layer over the drawer until the reward shows free. */
#cdv-cover { position: fixed; top: 0; bottom: 0; right: 0; max-width: 100vw; z-index: 2147483000; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: cdv-cover-in .15s ease-out; }
.cdv-cover-box { display: flex; align-items: center; gap: 12px; max-width: calc(100% - 48px); padding: 14px 20px; background: #fff; color: #161616;
  font-size: 13px; letter-spacing: .02em; line-height: 1.35; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.cdv-cover-spin { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(22, 22, 22, .15); border-top-color: #161616; animation: cdv-cart-spin .8s linear infinite; }
@keyframes cdv-cover-in { from { opacity: 0; } to { opacity: 1; } }
