/* Cart Drawer 5 — jewelry coral · RIGHT SLIDE */

.bsp-cart-drawer--5 {
  --bsp-cart-panel-closed: translateX(105%);
  --bsp-cart-panel-open: translateX(0);
  --bsp-cart-panel-duration: 0.48s;
  --bsp-cart-panel-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bsp-h5-font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --bsp-h5-font-sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: var(--bsp-h5-font-sans);
}

.bsp-cart-drawer--5 .bsp-cart-drawer__overlay {
  transition: opacity 0.45s ease;
  background: var(--bsp-cart-overlay, rgba(26, 26, 26, 0.48));
}

.bsp-cart-drawer--5 .bsp-cart-drawer__panel {
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(100%, var(--bsp-cart-drawer-width, 440px));
  height: 100%;
  border-radius: 0;
  background: var(--bsp-cart-bg, #ffffff);
  border-left: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow: -18px 0 48px rgba(26, 26, 26, 0.16);
  display: flex;
  flex-direction: column;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__accent {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--bsp-cart-accent-line, #e11d2e) 18%,
    var(--bsp-cart-accent, #e11d2e) 50%,
    var(--bsp-cart-accent-line, #e11d2e) 82%,
    transparent
  );
  flex-shrink: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.bsp-cart-drawer--5.is-open .bsp-cart-drawer__accent {
  transform: scaleX(1);
}

.bsp-cart-drawer--5 .bsp-cart-drawer__inner {
  height: auto;
  flex: 1;
  min-height: 0;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__header {
  background: var(--bsp-cart-header-bg, #1a1a1a);
  border-bottom: 0;
  padding: 22px 28px;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__title {
  color: var(--bsp-cart-title, #ffffff);
  font-family: var(--bsp-h5-font-serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__close {
  color: rgba(255, 255, 255, 0.7);
  font-size: 28px;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__close:hover {
  color: #ffffff;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__shipping {
  background: #fff;
  border-bottom-color: rgba(26, 26, 26, 0.08);
}

.bsp-cart-drawer--5 .bsp-cart-drawer__shipping-text {
  color: var(--bsp-cart-progress, #e11d2e);
  letter-spacing: 0.04em;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__progress {
  height: 3px;
  border-radius: 0;
  overflow: hidden;
  background: var(--bsp-cart-progress-bg, #f0f0f0);
}

.bsp-cart-drawer--5 .bsp-cart-drawer__progress-bar {
  background: var(--bsp-cart-progress, #e11d2e);
}

.bsp-cart-drawer--5 .bsp-cart-drawer__item-thumb {
  background: #f3f3f3;
  border-radius: 0;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__qty {
  border-color: rgba(26, 26, 26, 0.16);
  border-radius: 0;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__qty-btn:hover {
  background: #f3f3f3;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__summary,
.bsp-cart-drawer--5 .bsp-cart-drawer__actions {
  background: #fff;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__btn {
  border-radius: 0;
  letter-spacing: 0.16em;
  font-family: var(--bsp-h5-font-sans);
  font-weight: 600;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__btn--checkout:hover {
  background: #c41828;
  opacity: 1;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__upsell-title {
  font-family: var(--bsp-h5-font-serif);
  font-size: 22px;
  font-weight: 500;
}

.bsp-cart-drawer--5 .bsp-cart-drawer__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 12px 20px 18px;
  background: #fff;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bsp-cart-secure-text, #8a8a8a);
  flex-shrink: 0;
}

.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__header {
  animation: bspCd5Header 0.45s ease both 0.08s;
}

.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__shipping,
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__empty,
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__item,
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__summary,
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__actions,
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__secure {
  animation: bspCd5Rise 0.5s ease both;
}

.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__shipping { animation-delay: 0.12s; }
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__empty { animation-delay: 0.16s; }
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__item:nth-child(1) { animation-delay: 0.16s; }
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__item:nth-child(2) { animation-delay: 0.22s; }
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__item:nth-child(3) { animation-delay: 0.28s; }
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__summary { animation-delay: 0.24s; }
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__actions { animation-delay: 0.3s; }
.bsp-cart-drawer--5.is-entering .bsp-cart-drawer__secure { animation-delay: 0.34s; }

@keyframes bspCd5Header {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bspCd5Rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
