:root {
--rd-cart-green: #00c853;
--rd-cart-green-dark: #009a43;
--rd-cart-black: #050505;
--rd-cart-surface: #101010;
--rd-cart-surface-2: #171717;
--rd-cart-border: rgba(255,255,255,.12);
--rd-cart-text: #fff;
--rd-cart-muted: #a8a8a8;
}
.rd-cart-trigger {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
padding: 0;
border: 0;
border-radius: 999px;
background: transparent;
color: var(--rd-cart-text);
cursor: pointer;
}
.rd-cart-trigger:hover {
color: var(--rd-cart-green);
background: transparent !important;
}
.rd-cart-trigger:focus{
background: transparent !important;
}
.rd-cart-trigger__count {
position: absolute;
top: -2px;
right: -1px;
min-width: 18px;
height: 18px;
padding: 0 5px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
border: 1px solid #ffffff;
color: #ffffff;
background: #000000;
font-size: 11px;
font-weight: 500;
line-height: 1;
}
.rd-cart-overlay {
position: fixed;
inset: 0;
z-index: 9998;
background: rgba(0,0,0,.68);
opacity: 0;
pointer-events: none;
transition: opacity .22s ease;
}
.rd-cart-drawer {
position: fixed;
top: 0;
right: 0;
z-index: 9999;
width: min(460px, 100%);
height: 100dvh;
display: flex;
flex-direction: column;
background: linear-gradient(180deg, #111, #060606);
border-left: 1px solid var(--rd-cart-border);
color: var(--rd-cart-text);
transform: translateX(102%);
transition: transform .28s ease;
box-shadow: -24px 0 70px rgba(0,0,0,.55);
}
body.rd-cart-is-open {
overflow: hidden;
}
body.rd-cart-is-open .rd-cart-overlay {
opacity: 1;
pointer-events: auto;
}
body.rd-cart-is-open .rd-cart-drawer {
transform: translateX(0);
}
.rd-cart-drawer__header {
min-height: 92px;
padding: 24px;
display: flex;
align-items: flex-start;
justify-content: space-between;
border-bottom: 1px solid var(--rd-cart-border);
}
.rd-cart-drawer__eyebrow {
display: block;
margin-bottom: 6px;
color: var(--rd-cart-green);
font-size: 11px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: .06em;
}
.rd-cart-drawer__header h2 {
margin: 0;
color: #fff;
font-size: 24px;
line-height: 1;
text-transform: uppercase;
}
.rd-cart-drawer__close {
width: 38px;
height: 38px;
padding: 0;
border: 1px solid var(--rd-cart-border);
border-radius: 999px;
background: transparent;
color: #fff;
font-size: 30px;
line-height: 1;
cursor: pointer;
}
.rd-cart-drawer__close:hover {
border-color: var(--rd-cart-green);
color: var(--rd-cart-green);
}
.rd-cart-drawer__body {
flex: 1;
overflow-y: auto;
padding: 24px;
}
.rd-cart-empty {
min-height: 55vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.rd-cart-empty__icon {
width: 82px;
height: 82px;
margin-bottom: 22px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid rgba(0,200,83,.35);
border-radius: 22px;
background: rgba(0,200,83,.06);
color: var(--rd-cart-green);
}
.rd-cart-empty h3 {
margin: 0 0 8px;
color: #fff;
font-size: 22px;
text-transform: uppercase;
}
.rd-cart-empty p {
max-width: 300px;
margin: 0 0 24px;
color: var(--rd-cart-muted);
}
.rd-cart-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 0 24px;
border-radius: 999px;
font-weight: 500 !important;
font-size: 13px;
text-transform: uppercase;
text-decoration: none;
}
.rd-cart-btn--primary {
background: linear-gradient(135deg, var(--rd-cart-green), var(--rd-cart-green-dark));
color: #fff;
}
.rd-cart-drawer__footer {
padding: 16px 24px;
border-top: 1px solid var(--rd-cart-border);
}
.rd-cart-trust {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
color: var(--rd-cart-muted);
font-size: 11px;
text-align: center;
text-transform: uppercase;
}
@media (max-width: 767px) {
.rd-cart-drawer {
width: 100%;
}
.rd-cart-drawer__header,
.rd-cart-drawer__body,
.rd-cart-drawer__footer {
padding-left: 18px;
padding-right: 18px;
}
} .rd-cart-drawer__body.is-loading,
.rd-cart-drawer__footer.is-loading {
opacity: .55;
pointer-events: none;
}
.rd-cart-items {
display: flex;
flex-direction: column;
gap: 0;
}
.rd-cart-item {
display: grid;
grid-template-columns: 86px 1fr;
gap: 14px;
padding: 16px 0;
border-bottom: 1px solid var(--rd-cart-border);
}
.rd-cart-item:first-child {
padding-top: 0;
}
.rd-cart-item__image {
width: 86px;
height: 86px;
overflow: hidden;
border: 1px solid var(--rd-cart-border);
border-radius: 14px;
background: #080808;
}
.rd-cart-item__image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.rd-cart-item__content {
min-width: 0;
}
.rd-cart-item__top {
display: grid;
grid-template-columns: 1fr auto;
gap: 12px;
align-items: flex-start;
}
.rd-cart-item__title {
margin: 0 0 5px;
color: #fff;
font-size: 14px;
line-height: 1.25;
text-transform: uppercase;
}
.rd-cart-item__title a {
color: inherit;
text-decoration: none;
}
.rd-cart-item__title a:hover {
color: var(--rd-cart-green);
}
.rd-cart-item__meta,
.rd-cart-item__meta p,
.rd-cart-item__meta dl,
.rd-cart-item__meta dd,
.rd-cart-item__meta dt {
margin: 0;
color: var(--rd-cart-muted);
font-size: 12px;
line-height: 1.35;
}
.rd-cart-item__meta dl {
display: flex;
flex-wrap: wrap;
gap: 4px 8px;
}
.rd-cart-item__meta dt {
font-weight: 500;
color: #d6d6d6;
}
.rd-cart-item__price {
white-space: nowrap;
color: #fff;
font-size: 13px;
font-weight: 500;
}
.rd-cart-item__actions {
margin-top: 14px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.rd-cart-qty {
display: inline-grid;
grid-template-columns: 34px 44px 34px;
height: 36px;
overflow: hidden;
border: 1px solid var(--rd-cart-border);
border-radius: 10px;
background: rgba(255,255,255,.03);
}
.rd-cart-qty button,
.rd-cart-qty input {
width: 100%;
height: 100%;
border: 0;
border-radius: 0;
background: transparent;
color: #fff;
padding: 0;
text-align: center;
font-weight: 500;
}
.rd-cart-qty button {
cursor: pointer;
font-size: 16px;
}
.rd-cart-qty button:hover {
color: var(--rd-cart-green);
background: rgba(255,255,255,.05);
}
.rd-cart-qty input::-webkit-outer-spin-button,
.rd-cart-qty input::-webkit-inner-spin-button {
margin: 0;
appearance: none;
}
.rd-cart-qty input[type="number"] {
-moz-appearance: textfield;
}
.rd-cart-remove {
border: 0;
background: transparent;
color: var(--rd-cart-muted);
padding: 0;
font-size: 12px;
text-decoration: underline;
cursor: pointer;
}
.rd-cart-remove:hover {
color: #ff5a4f;
}
.rd-cart-summary {
margin-bottom: 14px;
padding-bottom: 14px;
border-bottom: 1px solid var(--rd-cart-border);
}
.rd-cart-summary__row,
.rd-cart-summary__total {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
color: var(--rd-cart-muted);
font-size: 14px;
}
.rd-cart-summary__row + .rd-cart-summary__row,
.rd-cart-summary__total {
margin-top: 8px;
}
.rd-cart-summary__row strong {
color: #fff;
}
.rd-cart-summary__row--small {
font-size: 13px;
}
.rd-cart-summary__total {
margin-top: 12px;
color: #fff;
font-size: 18px;
font-weight: 500;
}
.rd-cart-btn--full {
width: 100%;
margin-top: 10px;
min-height: 50px;
}
.rd-cart-btn--secondary {
background: transparent;
border: 1px solid var(--rd-cart-green);
color: #fff;
}
.rd-cart-btn--secondary:hover {
color: var(--rd-cart-green);
}
.rd-cart-drawer__footer .rd-cart-trust {
margin-top: 16px;
}
@media (max-width: 767px) {
.rd-cart-item {
grid-template-columns: 76px 1fr;
gap: 12px;
}
.rd-cart-item__image {
width: 76px;
height: 76px;
}
.rd-cart-item__top {
grid-template-columns: 1fr;
gap: 6px;
}
.rd-cart-item__price {
font-size: 14px;
}
} .rd-cart-notice {
margin: 14px 24px 0;
padding: 12px 14px;
border: 1px solid rgba(0,200,83,.28);
border-radius: 12px;
background: rgba(0,200,83,.08);
color: #fff;
font-size: 13px;
font-weight: 500;
}
.rd-cart-notice.is-error {
border-color: rgba(255,90,79,.35);
background: rgba(255,90,79,.08);
}
.rd-cart-notice.is-info {
border-color: rgba(255,255,255,.16);
background: rgba(255,255,255,.06);
}
@media (max-width: 767px) {
.rd-cart-notice {
margin-left: 18px;
margin-right: 18px;
}
} .rd-cart-progress {
margin: 0 0 14px;
padding: 14px;
border: 1px solid rgba(0,200,83,.25);
border-radius: 16px;
background: linear-gradient(180deg, rgba(0,200,83,.09), rgba(255,255,255,.035));
}
.rd-cart-progress__top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
margin-bottom: 10px;
color: #fff;
font-size: 13px;
font-weight: 500;
}
.rd-cart-progress__top strong {
color: var(--rd-cart-green);
font-size: 12px;
}
.rd-cart-progress__bar {
height: 8px;
overflow: hidden;
border-radius: 999px;
background: rgba(255,255,255,.09);
}
.rd-cart-progress__bar span {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, var(--rd-cart-green-dark), var(--rd-cart-green));
transition: width .25s ease;
}
.rd-cart-progress p {
margin: 9px 0 0;
color: var(--rd-cart-muted);
font-size: 12px;
line-height: 1.35;
}
.rd-cart-summary__note {
margin: 10px 0 0;
color: var(--rd-cart-muted);
font-size: 11px;
line-height: 1.35;
}
.rd-cart-footer-actions {
position: sticky;
bottom: 0;
display: grid;
gap: 8px;
padding-top: 10px;
background: linear-gradient(180deg, rgba(8,8,8,0), #080808 22%);
}
.rd-cart-trust span::before {
content: "✓";
color: var(--rd-cart-green);
margin-right: 5px;
font-weight: 500;
}
@media (max-width: 560px) {
.rd-cart-progress {
padding: 12px;
border-radius: 14px;
}
.rd-cart-footer-actions {
gap: 7px;
}
} .rd-cart-recommendations {
margin-top: 18px;
padding: 16px;
border: 1px solid rgba(255,255,255,.1);
border-radius: 18px;
background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.rd-cart-recommendations__head {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.rd-cart-recommendations__head span {
color: #fff;
font-size: 13px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: .02em;
}
.rd-cart-recommendations__head small {
color: var(--rd-cart-muted);
font-size: 11px;
text-align: right;
}
.rd-cart-recommendations__list {
display: grid;
gap: 10px;
}
.rd-cart-recommendation {
display: grid;
grid-template-columns: 58px 1fr auto;
align-items: center;
gap: 11px;
padding: 10px;
border: 1px solid rgba(255,255,255,.08);
border-radius: 14px;
background: rgba(0,0,0,.22);
}
.rd-cart-recommendation__image {
display: block;
width: 58px;
height: 58px;
overflow: hidden;
border-radius: 12px;
background: rgba(255,255,255,.05);
}
.rd-cart-recommendation__image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.rd-cart-recommendation__title {
display: block;
color: #fff;
font-size: 12px;
font-weight: 550;
line-height: 1.25;
}
.rd-cart-recommendation__title:hover {
color: var(--rd-cart-green);
}
.rd-cart-recommendation__meta {
display: flex;
flex-wrap: wrap;
gap: 6px 10px;
margin-top: 5px;
color: var(--rd-cart-muted);
font-size: 11px;
}
.rd-cart-recommendation__meta .amount {
color: var(--rd-cart-green);
font-weight: 500;
}
.rd-cart-recommendation__meta small {
color: var(--rd-cart-muted);
font-size: 10px;
}
.rd-cart-recommendation__btn {
appearance: none;
border: 1px solid rgba(0,200,83,.45);
border-radius: 999px;
background: rgba(0,200,83,.12);
color: #fff;
cursor: pointer;
font-size: 11px;
font-weight: 500;
line-height: 1;
padding: 10px 12px;
text-decoration: none;
white-space: nowrap;
transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.rd-cart-recommendation__btn:hover {
background: rgba(0,200,83,.2);
border-color: rgba(0,200,83,.75);
color: #fff;
transform: translateY(-1px);
}
@media (max-width: 560px) {
.rd-cart-recommendations {
padding: 13px;
border-radius: 16px;
}
.rd-cart-recommendations__head {
align-items: flex-start;
flex-direction: column;
gap: 3px;
}
.rd-cart-recommendations__head small {
text-align: left;
}
.rd-cart-recommendation {
grid-template-columns: 52px 1fr;
}
.rd-cart-recommendation__image {
width: 52px;
height: 52px;
}
.rd-cart-recommendation__btn {
grid-column: 1 / -1;
width: 100%;
text-align: center;
}
} .rd-cart-recommendation__priority {
color: var(--rd-cart-green) !important;
font-weight: 500;
} .rd-cart-recommendations {
position: relative;
padding: 16px;
border-color: rgba(0,200,83,.18);
background:
radial-gradient(circle at top right, rgba(0,200,83,.12), transparent 34%),
linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
}
.rd-cart-recommendations::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
border-radius: inherit;
box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.rd-cart-recommendations__head span {
display: flex;
align-items: center;
gap: 8px;
}
.rd-cart-recommendations__head span::before {
content: "";
width: 8px;
height: 8px;
border-radius: 999px;
background: var(--rd-cart-green);
box-shadow: 0 0 18px rgba(0,200,83,.65);
}
.rd-cart-recommendation {
position: relative;
grid-template-columns: 62px 1fr auto;
min-height: 82px;
border-color: rgba(255,255,255,.1);
background: rgba(0,0,0,.34);
transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.rd-cart-recommendation:hover {
transform: translateY(-1px);
border-color: rgba(0,200,83,.25);
background: rgba(0,0,0,.46);
}
.rd-cart-recommendation__image {
width: 62px;
height: 62px;
border: 1px solid rgba(255,255,255,.08);
}
.rd-cart-recommendation__badge {
display: inline-flex;
align-items: center;
width: fit-content;
margin-bottom: 5px;
padding: 4px 7px;
border: 1px solid rgba(0,200,83,.34);
border-radius: 999px;
background: rgba(0,200,83,.1);
color: var(--rd-cart-green);
font-size: 9px;
font-weight: 550;
line-height: 1;
text-transform: uppercase;
letter-spacing: .04em;
}
.rd-cart-recommendation__title {
font-size: 12.5px;
}
.rd-cart-recommendation__btn {
min-width: 78px;
background: var(--rd-cart-green);
border-color: var(--rd-cart-green);
color: #061007;
box-shadow: 0 10px 28px rgba(0,200,83,.16);
}
.rd-cart-recommendation__btn:hover {
background: #20e56e;
color: #061007;
}
.rd-cart-recommendation__btn:disabled {
opacity: .55;
cursor: wait;
transform: none;
}
@media (max-width: 560px) {
.rd-cart-recommendation {
grid-template-columns: 56px 1fr;
min-height: 76px;
}
.rd-cart-recommendation__image {
width: 56px;
height: 56px;
}
} .rd-cart-empty {
min-height: 420px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 14px;
padding: 46px 22px;
text-align: center;
border: 1px solid var(--rd-cart-border);
border-radius: 22px;
background:
radial-gradient(circle at 50% 0%, rgba(0, 200, 83, .16), transparent 34%),
linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}
.rd-cart-empty__visual {
position: relative;
width: 118px;
height: 118px;
display: grid;
place-items: center;
margin-bottom: 4px;
}
.rd-cart-empty__wheel {
width: 92px;
height: 92px;
border-radius: 50%;
border: 12px solid rgba(255,255,255,.13);
background:
radial-gradient(circle, transparent 0 17px, rgba(0,200,83,.9) 18px 22px, transparent 23px),
conic-gradient(from 20deg, transparent 0 13%, rgba(255,255,255,.42) 13% 18%, transparent 18% 33%, rgba(255,255,255,.42) 33% 38%, transparent 38% 53%, rgba(255,255,255,.42) 53% 58%, transparent 58% 73%, rgba(255,255,255,.42) 73% 78%, transparent 78% 100%);
box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.45);
}
.rd-cart-empty__glow {
position: absolute;
inset: 18px;
border-radius: 50%;
background: rgba(0,200,83,.24);
filter: blur(28px);
z-index: -1;
}
.rd-cart-empty__eyebrow {
color: var(--rd-cart-green);
font-size: 11px;
font-weight: 500;
letter-spacing: .14em;
text-transform: uppercase;
}
.rd-cart-empty h3 {
margin: 0;
color: #fff;
font-size: 24px;
line-height: 1.1;
}
.rd-cart-empty p {
max-width: 330px;
margin: 0;
color: var(--rd-cart-muted);
font-size: 14px;
}
.rd-cart-empty__actions {
width: 100%;
max-width: 330px;
display: grid;
gap: 10px;
margin-top: 8px;
}
.rd-cart-empty__benefits {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
margin-top: 6px;
}
.rd-cart-empty__benefits span {
padding: 7px 10px;
border: 1px solid rgba(255,255,255,.08);
border-radius: 999px;
color: var(--rd-cart-muted);
background: rgba(255,255,255,.035);
font-size: 11px;
font-weight: 500;
text-transform: uppercase;
}
.rd-cart-coupon {
margin: 12px 0 14px;
border: 1px solid var(--rd-cart-border);
border-radius: 16px;
background: rgba(255,255,255,.035);
overflow: hidden;
}
.rd-cart-coupon__toggle {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 13px 14px;
border: 0;
background: transparent;
color: #fff;
cursor: pointer;
text-align: left;
}
.rd-cart-coupon__toggle span {
color: var(--rd-cart-muted);
font-size: 13px;
}
.rd-cart-coupon__toggle strong {
color: var(--rd-cart-green);
font-size: 12px;
text-transform: uppercase;
}
.rd-cart-coupon__form {
display: grid;
grid-template-columns: 1fr auto;
gap: 8px;
padding: 0 12px 12px;
}
.rd-cart-coupon__form[hidden] {
display: none;
}
.rd-cart-coupon__form input {
min-width: 0;
height: 42px;
padding: 0 12px;
border: 1px solid var(--rd-cart-border);
border-radius: 12px;
background: #080808;
color: #fff;
}
.rd-cart-coupon__form input:focus {
border-color: var(--rd-cart-green);
outline: none;
}
.rd-cart-coupon__form button {
height: 42px;
padding: 0 14px;
border: 0;
border-radius: 12px;
background: var(--rd-cart-green);
color: #fff;
font-size: 12px;
font-weight: 500;
text-transform: uppercase;
cursor: pointer;
}
.rd-cart-coupon__form button:disabled {
opacity: .55;
cursor: wait;
}
.rd-cart-coupon__applied {
padding: 0 14px 12px;
color: var(--rd-cart-muted);
font-size: 12px;
}
.rd-cart-coupon__applied strong {
color: #fff;
} .rd-cart-drawer__footer.is-sticky-checkout {
position: relative;
z-index: 2;
background: linear-gradient(180deg, rgba(12,12,12,.98), #050505);
box-shadow: 0 -18px 45px rgba(0,0,0,.42);
}
.rd-cart-drawer__footer.is-sticky-checkout .rd-cart-footer-actions {
position: sticky;
bottom: 0;
z-index: 3;
padding-top: 6px;
background: linear-gradient(180deg, rgba(8,8,8,.88), #050505 40%);
}
.rd-cart-dynamic-message {
display: grid;
grid-template-columns: 12px 1fr;
gap: 10px;
align-items: flex-start;
margin: 0 0 12px;
padding: 12px 13px;
border: 1px solid rgba(255,255,255,.1);
border-radius: 15px;
background: rgba(255,255,255,.04);
}
.rd-cart-dynamic-message__icon {
margin-top: 4px;
color: var(--rd-cart-green);
font-size: 10px;
line-height: 1;
}
.rd-cart-dynamic-message strong {
display: block;
margin-bottom: 3px;
color: #fff;
font-size: 13px;
line-height: 1.2;
text-transform: uppercase;
}
.rd-cart-dynamic-message p {
margin: 0;
color: var(--rd-cart-muted);
font-size: 12px;
line-height: 1.35;
}
.rd-cart-dynamic-message--shipping {
border-color: rgba(0,200,83,.24);
background: linear-gradient(180deg, rgba(0,200,83,.075), rgba(255,255,255,.035));
}
.rd-cart-dynamic-message--success {
border-color: rgba(0,200,83,.34);
background: linear-gradient(180deg, rgba(0,200,83,.12), rgba(0,200,83,.035));
}
.rd-cart-dynamic-message--ready {
border-color: rgba(255,255,255,.12);
}
.rd-cart-summary {
margin-bottom: 12px;
}
.rd-cart-summary__total strong {
color: var(--rd-cart-green);
}
.rd-cart-btn--primary.rd-cart-btn--full {
min-height: 54px;
box-shadow: 0 12px 26px rgba(0,200,83,.18);
}
.rd-cart-btn--primary.rd-cart-btn--full:hover {
transform: translateY(-1px);
filter: brightness(1.08);
}
@media (max-width: 767px) {
.rd-cart-drawer__footer.is-sticky-checkout {
max-height: 58dvh;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.rd-cart-progress,
.rd-cart-dynamic-message,
.rd-cart-summary,
.rd-cart-coupon {
margin-bottom: 10px;
}
.rd-cart-summary__row,
.rd-cart-summary__total {
font-size: 13px;
}
.rd-cart-summary__total {
font-size: 17px;
}
} .rd-cart-drawer.has-rd-animations .rd-cart-item,
.rd-cart-drawer.has-rd-animations .rd-cart-recommendation,
.rd-cart-drawer.has-rd-animations .rd-cart-summary,
.rd-cart-drawer.has-rd-animations .rd-cart-dynamic-message {
animation: rdCartFadeUp .22s ease both;
}
.rd-cart-drawer.has-rd-animations .rd-cart-recommendation:nth-child(2) {
animation-delay: .035s;
}
.rd-cart-drawer.has-rd-animations .rd-cart-recommendation:nth-child(3) {
animation-delay: .07s;
}
@keyframes rdCartFadeUp {
from {
opacity: 0;
transform: translateY(7px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.rd-cart-trigger__count.is-bumping {
animation: rdCartCounterBump .28s ease both;
}
@keyframes rdCartCounterBump {
0% { transform: scale(1); }
45% { transform: scale(1.28); }
100% { transform: scale(1); }
}
.rd-cart-drawer.is-updating .rd-cart-drawer__body,
.rd-cart-drawer.is-updating .rd-cart-drawer__footer {
position: relative;
}
.rd-cart-drawer.is-updating .rd-cart-drawer__body::after,
.rd-cart-drawer.is-updating .rd-cart-drawer__footer::after {
content: "";
position: absolute;
inset: 12px;
z-index: 4;
pointer-events: none;
border-radius: 18px;
background:
linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent),
rgba(5,5,5,.22);
background-size: 220% 100%, auto;
animation: rdCartSkeleton 1s linear infinite;
}
@keyframes rdCartSkeleton {
from { background-position: 220% 0, 0 0; }
to { background-position: -220% 0, 0 0; }
}
.rd-cart-trust {
align-items: stretch;
}
.rd-cart-trust span {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 34px;
padding: 8px 9px;
border: 1px solid rgba(255,255,255,.08);
border-radius: 12px;
background: rgba(255,255,255,.035);
line-height: 1.15;
}
.rd-cart-trust span::before {
content: "✓";
margin-right: 5px;
color: var(--rd-cart-green);
font-weight: 500;
}
.rd-cart-footer-actions {
gap: 10px;
}
.rd-cart-recommendation__btn:disabled,
.rd-cart-remove:disabled,
.rd-cart-qty button:disabled {
opacity: .55;
cursor: wait;
}
.rd-cart-drawer__body::-webkit-scrollbar,
.rd-cart-drawer__footer::-webkit-scrollbar {
width: 8px;
}
.rd-cart-drawer__body::-webkit-scrollbar-thumb,
.rd-cart-drawer__footer::-webkit-scrollbar-thumb {
border-radius: 999px;
background: rgba(255,255,255,.14);
}
.rd-cart-drawer__body::-webkit-scrollbar-track,
.rd-cart-drawer__footer::-webkit-scrollbar-track {
background: transparent;
}
@media (max-width: 767px) {
.rd-cart-drawer__header {
min-height: 78px;
}
.rd-cart-drawer__header h2 {
font-size: 21px;
}
.rd-cart-item {
gap: 12px;
}
.rd-cart-item__image {
width: 76px;
min-width: 76px;
}
.rd-cart-item__top {
gap: 8px;
}
.rd-cart-recommendation {
grid-template-columns: 64px 1fr auto;
gap: 10px;
}
.rd-cart-recommendation__image {
width: 64px;
height: 64px;
}
.rd-cart-recommendation__btn {
padding-left: 10px;
padding-right: 10px;
min-width: 70px;
}
.rd-cart-trust {
grid-template-columns: 1fr;
}
.rd-cart-trust span {
min-height: 30px;
}
}
@media (prefers-reduced-motion: reduce) {
.rd-cart-drawer,
.rd-cart-overlay,
.rd-cart-drawer.has-rd-animations .rd-cart-item,
.rd-cart-drawer.has-rd-animations .rd-cart-recommendation,
.rd-cart-drawer.has-rd-animations .rd-cart-summary,
.rd-cart-drawer.has-rd-animations .rd-cart-dynamic-message,
.rd-cart-trigger__count.is-bumping,
.rd-cart-drawer.is-updating .rd-cart-drawer__body::after,
.rd-cart-drawer.is-updating .rd-cart-drawer__footer::after {
animation: none !important;
transition: none !important;
}
} .rd-cart-campaign{
margin:16px 0;
padding:14px;
border:1px solid rgba(0,200,83,.28);
border-radius:18px;
background:linear-gradient(135deg,rgba(0,200,83,.12),rgba(255,255,255,.04));
}
.rd-cart-campaign__head span{
display:inline-flex;
margin-bottom:7px;
padding:4px 8px;
border-radius:999px;
background:rgba(0,200,83,.16);
color:#00c853;
font-size:11px;
font-weight:550;
text-transform:uppercase;
letter-spacing:.08em;
}
.rd-cart-campaign__head strong{
display:block;
color:#fff;
font-size:15px;
line-height:1.15;
margin-bottom:4px;
}
.rd-cart-campaign__head p{
margin:0;
color:#b9c0c8;
font-size:13px;
line-height:1.45;
}
.rd-cart-campaign__products{
display:grid;
gap:10px;
margin-top:12px;
}
.rd-cart-campaign-product{
display:grid;
grid-template-columns:54px 1fr auto;
gap:10px;
align-items:center;
padding:10px;
border:1px solid rgba(255,255,255,.1);
border-radius:14px;
background:rgba(0,0,0,.24);
}
.rd-cart-campaign-product__image img{
display:block;
width:54px;
height:54px;
object-fit:cover;
border-radius:12px;
}
.rd-cart-campaign-product__title{
display:block;
color:#fff;
font-size:13px;
font-weight:550;
line-height:1.25;
}
.rd-cart-campaign-product__price{
display:block;
margin-top:3px;
color:#00c853;
font-size:12px;
font-weight:550;
}
.rd-cart-campaign-product__btn{
border:0;
border-radius:999px;
background:#00c853;
color:#050505;
padding:8px 10px;
font-size:11px;
font-weight:950;
text-transform:uppercase;
cursor:pointer;
text-decoration:none;
}
.rd-cart-campaign-product__btn:hover{
filter:brightness(1.08);
color:#050505;
}
@media (max-width:480px){
.rd-cart-campaign-product{grid-template-columns:48px 1fr;}
.rd-cart-campaign-product__btn{grid-column:1/-1;width:100%;text-align:center;}
} .rd-cart-banners{
display:grid;
gap:10px;
margin:0 0 16px;
}
.rd-cart-banner{
display:flex;
align-items:center;
gap:10px;
padding:12px 14px;
border-radius:14px;
font-size:13px;
font-weight:750;
line-height:1.25;
text-decoration:none;
transition:transform .18s ease, border-color .18s ease, background .18s ease;
}
.rd-cart-banner:hover{
transform:translateY(-1px);
text-decoration:none;
}
.rd-cart-banner__icon{
width:24px;
height:24px;
flex:0 0 24px;
display:grid;
place-items:center;
border-radius:999px;
font-size:12px;
}
.rd-cart-banner--green{
background:linear-gradient(135deg, rgba(0,200,83,.22), rgba(0,154,67,.12));
color:#ffffff;
border:1px solid rgba(0,200,83,.42);
}
.rd-cart-banner--green .rd-cart-banner__icon{
background:#00c853;
color:#050505;
}
.rd-cart-banner--dark{
background:rgba(255,255,255,.055);
color:#ffffff;
border:1px solid rgba(255,255,255,.11);
}
.rd-cart-banner--dark .rd-cart-banner__icon{
background:rgba(255,255,255,.12);
color:#00c853;
}
.rd-cart-banner--outline{
background:transparent;
color:#d7d7d7;
border:1px solid rgba(255,255,255,.16);
}
.rd-cart-banner--outline .rd-cart-banner__icon{
background:rgba(0,200,83,.12);
color:#00c853;
}
@media (max-width:480px){
.rd-cart-banner{
padding:11px 12px;
font-size:12px;
}
} .rd-cart-gift-notice {
display: grid;
grid-template-columns: 42px 1fr;
gap: 12px;
align-items: center;
margin: 0 0 14px;
padding: 14px;
border-radius: 16px;
border: 1px solid rgba(0,200,83,.35);
background: linear-gradient(135deg, rgba(0,200,83,.16), rgba(255,255,255,.035));
}
.rd-cart-gift-notice__icon {
width: 42px;
height: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: rgba(0,200,83,.18);
border: 1px solid rgba(0,200,83,.35);
font-size: 20px;
}
.rd-cart-gift-notice strong {
display: block;
margin: 0 0 3px;
color: #fff;
font-size: 14px;
line-height: 1.2;
}
.rd-cart-gift-notice p {
margin: 0;
color: var(--rd-cart-muted);
font-size: 12px;
line-height: 1.35;
}
.rd-cart-gift-notice p span {
color: var(--rd-cart-green);
font-weight: 500;
}
.rd-cart-item.is-auto-gift {
border-color: rgba(0,200,83,.28);
background: linear-gradient(135deg, rgba(0,200,83,.08), rgba(255,255,255,.03));
}
.rd-cart-gift-badge {
display: inline-flex;
width: fit-content;
margin-bottom: 5px;
padding: 4px 8px;
border-radius: 999px;
background: rgba(0,200,83,.16);
color: var(--rd-cart-green);
font-size: 10px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: .06em;
}
.rd-cart-gift-price {
color: var(--rd-cart-green);
font-weight: 500;
}
.rd-cart-gift-qty {
display: inline-flex;
align-items: center;
min-height: 34px;
padding: 0 10px;
border-radius: 999px;
border: 1px solid var(--rd-cart-border);
color: var(--rd-cart-muted);
font-size: 12px;
font-weight: 500;
} .rd-cart-discount-notice {
display: flex;
gap: 12px;
align-items: center;
margin: 0 0 14px;
padding: 13px 14px;
border-radius: 16px;
border: 1px solid rgba(0, 200, 83, .34);
background: linear-gradient(135deg, rgba(0, 200, 83, .16), rgba(0, 200, 83, .05));
}
.rd-cart-discount-notice__icon {
width: 34px;
height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 34px;
border-radius: 999px;
background: var(--rd-cart-green);
color: #fff;
font-weight: 500;
}
.rd-cart-discount-notice strong {
display: block;
font-size: 13px;
line-height: 1.2;
}
.rd-cart-discount-notice p {
margin: 3px 0 0;
color: var(--rd-cart-muted);
font-size: 12px;
}
.rd-cart-discount-notice p span {
color: var(--rd-cart-green);
font-weight: 500;
} .rd-cart-coupon__applied-list {
display: grid;
gap: 8px;
margin-top: 10px;
}
.rd-cart-coupon__applied-list .rd-cart-coupon__applied {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.rd-cart-coupon__applied-list .rd-cart-coupon__applied > div {
min-width: 0;
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: 5px;
}
.rd-cart-coupon__applied-list .rd-cart-coupon__applied small {
color: var(--rd-green, #00c853);
font-size: 11px;
font-weight: 700;
}
.rd-cart-coupon__applied-list [data-rd-coupon-remove] {
appearance: none;
border: 0;
background: transparent;
color: #b7b7b7;
padding: 4px 0;
font: inherit;
font-size: 11px;
font-weight: 700;
cursor: pointer;
text-decoration: underline;
text-underline-offset: 3px;
}
.rd-cart-coupon__applied-list [data-rd-coupon-remove]:hover,
.rd-cart-coupon__applied-list [data-rd-coupon-remove]:focus-visible {
color: #fff;
}
.rd-cart-item__availability {
display: flex;
align-items: center;
gap: 6px;
margin-top: 5px;
color: #9ca3af;
font-size: 10px;
line-height: 1.35;
}
.rd-cart-item__availability > span {
width: 5px;
height: 5px;
flex: 0 0 5px;
border-radius: 50%;
background: currentColor;
}
.rd-cart-item__availability.is-available { color: var(--rd-green, #00c853); }
.rd-cart-item__availability.is-preorder { color: #d8b55b; }
.rd-cart-item__availability.is-unavailable { color: #d17474; }
.rd-cart-empty-products {
margin-top: 22px;
text-align: left;
}
.rd-cart-empty-products__head {
display: grid;
gap: 4px;
margin-bottom: 10px;
}
.rd-cart-empty-products__head span {
color: var(--rd-green, #00c853);
font-size: 9px;
font-weight: 700;
letter-spacing: .14em;
text-transform: uppercase;
}
.rd-cart-empty-products__head strong {
color: #fff;
font-size: 13px;
}
.rd-cart-empty-products__grid {
display: grid;
gap: 8px;
}
.rd-cart-empty-product {
display: grid;
grid-template-columns: 54px minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
min-height: 70px;
padding: 8px;
border: 1px solid rgba(255,255,255,.12);
border-radius: 10px;
background: rgba(255,255,255,.025);
}
.rd-cart-empty-product__image,
.rd-cart-empty-product__image img {
display: block;
width: 54px;
height: 54px;
}
.rd-cart-empty-product__image img {
object-fit: contain;
border-radius: 7px;
}
.rd-cart-empty-product__content {
display: grid;
min-width: 0;
gap: 3px;
}
.rd-cart-empty-product__content > a {
overflow: hidden;
color: #fff;
font-size: 12px;
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
}
.rd-cart-empty-product__content > span {
color: #d7d7d7;
font-size: 11px;
}
.rd-cart-empty-product button,
.rd-cart-empty-product__link {
border: 1px solid var(--rd-green, #00c853);
border-radius: 7px;
background: transparent;
color: var(--rd-green, #00c853);
padding: 8px 10px;
font-size: 10px;
font-weight: 700;
line-height: 1;
cursor: pointer;
}
@media (max-width: 767px) {
.rd-cart-drawer {
height: 100vh;
height: 100dvh;
max-height: 100dvh;
}
.rd-cart-empty-products {
margin-top: 18px;
}
.rd-cart-empty-products__grid .rd-cart-empty-product:nth-child(n+3) {
display: none;
}
}
.rd-cart-trigger__icon svg{display:block;width:22px;height:22px} .rd-cart-drawer.has-sticky-checkout {
display: block;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-gutter: stable;
-webkit-overflow-scrolling: touch;
}
.rd-cart-drawer.has-sticky-checkout .rd-cart-drawer__header {
position: sticky;
top: 0;
z-index: 20;
background: rgba(12,12,12,.97);
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
}
.rd-cart-drawer.has-sticky-checkout .rd-cart-drawer__body {
min-height: 0;
overflow: visible;
}
.rd-cart-drawer.has-sticky-checkout .rd-cart-drawer__footer.is-sticky-checkout {
max-height: none;
overflow: visible;
box-shadow: 0 -12px 32px rgba(0,0,0,.32);
}
.rd-cart-drawer.has-sticky-checkout::-webkit-scrollbar {
width: 8px;
}
.rd-cart-drawer.has-sticky-checkout::-webkit-scrollbar-thumb {
border-radius: 999px;
background: rgba(255,255,255,.18);
}
.rd-cart-drawer.has-sticky-checkout::-webkit-scrollbar-track {
background: transparent;
}
@media (max-width: 767px) {
.rd-cart-drawer.has-sticky-checkout .rd-cart-drawer__header {
min-height: 72px;
}
.rd-cart-drawer.has-sticky-checkout .rd-cart-drawer__body {
padding-top: 16px;
padding-bottom: 16px;
}
.rd-cart-drawer.has-sticky-checkout .rd-cart-drawer__footer.is-sticky-checkout {
padding-top: 14px;
padding-bottom: max(16px, env(safe-area-inset-bottom));
}
}