:root {
  --cart-pro-panel-width: 320px;
  --cart-pro-accent: #0f766e;
  --cart-pro-surface: #ffffff;
  --cart-pro-border: #dfe3e8;
  --cart-pro-text: #1f2937;
  --cart-pro-price: #0f766e;
  --cart-pro-layer: 10040;
  --cart-pro-layer-preview: 10050;
}

#cart-pro-host {
  position: relative;
  z-index: var(--cart-pro-layer-preview);
  pointer-events: none;
}

#cart-pro-sidebar-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: min(272px, calc(100vw - 24px));
  z-index: var(--cart-pro-layer-preview);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.16s ease, transform 0.18s ease, visibility 0.18s ease;
}

#cart-pro-sidebar-preview.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cart-pro-sidebar-preview__surface {
  position: relative;
  max-height: none;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.cart-pro-sidebar-preview__surface::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

#cart-pro-sidebar-preview .cart-pro-rail__hover-card {
  display: grid;
  gap: 8px;
}

html.popup-open #cart-pro-sidebar-host,
html.popup-center #cart-pro-sidebar-host,
html.route-journal3-product #cart-pro-sidebar-host,
body.popup-open #cart-pro-sidebar-host,
body.popup-center #cart-pro-sidebar-host {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.cart-pro-modal-host {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9998;
  pointer-events: none;
}

.cart-pro-modal-host.is-visible {
  display: flex;
  pointer-events: auto;
}

.cart-pro-modal-host__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.cart-pro-modal-host__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.cart-pro-modal-host.is-loading .cart-pro-modal-host__dialog {
  background: var(--cart-pro-surface);
  min-height: 240px;
}

.cart-pro-modal-open,
.cart-pro-modal-open body {
  overflow: hidden;
}

.cart-pro-modal__surface {
  position: relative;
  background: var(--cart-pro-surface);
  color: var(--cart-pro-text);
  border: 1px solid var(--cart-pro-border);
  border-radius: 26px;
  overflow: hidden;
}

.cart-pro-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--cart-pro-text);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  z-index: 2;
}

.cart-pro-modal__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, rgba(15, 118, 110, 0.03) 55%, rgba(255, 255, 255, 0.95) 100%);
  border-bottom: 1px solid var(--cart-pro-border);
}

.cart-pro-modal__hero-copy h3 {
  margin: 10px 0 8px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.cart-pro-modal__hero-copy p {
  margin: 0;
  max-width: 720px;
  color: rgba(31, 41, 55, 0.72);
  line-height: 1.6;
}

.cart-pro-modal__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--cart-pro-accent);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
}

.cart-pro-modal__hero-total {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 4px;
  padding: 18px 20px;
  min-width: 220px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.cart-pro-modal__hero-total span,
.cart-pro-modal__hero-total small {
  color: rgba(31, 41, 55, 0.68);
}

.cart-pro-modal__hero-total strong {
  font-size: 30px;
  line-height: 1.1;
  color: var(--cart-pro-price);
}

.cart-pro-modal__body {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 360px);
  gap: 24px;
  padding: 28px 30px 30px;
}

.cart-pro-modal__body--compact {
  grid-template-columns: minmax(280px, 420px);
  justify-content: end;
}

.cart-pro-modal__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.cart-pro-modal__section-head strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.cart-pro-modal__section-head span {
  color: rgba(31, 41, 55, 0.65);
  font-size: 13px;
}

.cart-pro-modal__lines {
  display: grid;
  gap: 14px;
  max-height: 52vh;
  overflow: auto;
  padding-right: 4px;
}

.cart-pro-modal-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(248, 250, 252, 0.88);
}

.cart-pro-modal-line__media {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.cart-pro-modal-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-pro-modal-line__name {
  display: block;
  margin-bottom: 8px;
  color: var(--cart-pro-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.cart-pro-modal-line__name:hover {
  color: var(--cart-pro-accent);
}

.cart-pro-modal-line__options {
  margin: 0 0 8px;
  padding-left: 18px;
  color: rgba(31, 41, 55, 0.66);
  font-size: 12px;
}

.cart-pro-modal-line__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: rgba(31, 41, 55, 0.72);
  font-size: 13px;
}

.cart-pro-modal-line__side {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.cart-pro-modal-line__price {
  color: var(--cart-pro-price);
  font-size: 18px;
  line-height: 1.2;
}

.cart-pro-modal-line__remove {
  padding: 0;
  border: none;
  background: transparent;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cart-pro-modal-line__remove:hover {
  color: #991b1b;
  text-decoration: underline;
}

.cart-pro-modal__summary {
  min-width: 0;
}

.cart-pro-modal__summary--compact {
  width: min(100%, 420px);
  justify-self: end;
}

.cart-pro-modal__summary-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.cart-pro-modal__summary-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(31, 41, 55, 0.6);
}

.cart-pro-modal__summary-rows {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.cart-pro-modal__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(31, 41, 55, 0.72);
}

.cart-pro-modal__summary-row strong {
  font-size: 13px;
  line-height: 1.4;
  color: var(--cart-pro-text);
  font-weight: 700;
}

.cart-pro-modal__summary-card strong {
  color: var(--cart-pro-price);
  font-size: 32px;
  line-height: 1.1;
}

.cart-pro-modal__summary-card > strong {
  margin-top: 2px;
}

.cart-pro-modal__summary-card small {
  color: rgba(31, 41, 55, 0.68);
}

.cart-pro-modal__buttons {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cart-pro-modal__empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.88);
  border: 1px dashed rgba(148, 163, 184, 0.35);
}

.cart-pro-modal__empty p {
  margin: 0;
  color: rgba(31, 41, 55, 0.72);
  line-height: 1.6;
}

.cart-pro-sidebar-host {
  min-width: 0;
  pointer-events: none;
}

.cart-pro-sidebar-host--floating {
  position: fixed;
  top: 92px;
  right: 0;
  width: min(324px, calc(100vw - 12px));
  max-height: calc(100vh - 110px);
  z-index: 120;
  overflow: visible;
  transition: transform 0.24s ease;
}

.cart-pro-sidebar-host--floating.is-collapsed {
  transform: translateX(calc(100% - 58px));
}

.cart-pro-sidebar-host.is-loading::before {
  content: '';
  display: block;
  min-height: 240px;
  border-radius: 14px 0 0 14px;
  border: 1px solid var(--cart-pro-border);
  background: linear-gradient(110deg, rgba(148, 163, 184, 0.08) 8%, rgba(148, 163, 184, 0.18) 18%, rgba(148, 163, 184, 0.08) 33%);
  background-size: 200% 100%;
  animation: cartProShimmer 1.2s linear infinite;
}

.cart-pro-drawer {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 240px;
}

.cart-pro-drawer__handle {
  position: absolute;
  top: 126px;
  top: 56px;
  z-index: 2;
  flex-direction: column;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 28px;
  min-height: 118px;
  padding: 10px 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-right: none;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, #ffd814 0%, #f7ca00 100%);
  color: #111827;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.cart-pro-drawer__handle-icon {
  font-size: 18px;
}

.cart-pro-drawer__handle-count {
  min-width: 24px;
  min-height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 24px;
}

.cart-pro-drawer__handle-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-pro-drawer__panel {
  width: 100%;
  margin-left: 40px;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.9);
  border-right: none;
  border-radius: 14px 0 0 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.cart-pro-sidebar-host--floating.is-collapsed .cart-pro-drawer__panel {
  pointer-events: none;
}

.cart-pro-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  background: #f8fafc;
}

.cart-pro-drawer__head-copy strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.cart-pro-drawer__head-copy span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}

.cart-pro-drawer__close {
  width: 34px;
  height: 34px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #ffffff;
  color: #4b5563;
}

.cart-pro-drawer__summary {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  background: #ffffff;
}

.cart-pro-drawer__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #4b5563;
}

.cart-pro-drawer__summary-row + .cart-pro-drawer__summary-row {
  margin-top: 8px;
}

.cart-pro-drawer__summary-row strong {
  color: #111827;
  font-weight: 700;
}

.cart-pro-drawer__summary-row--total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(229, 231, 235, 0.9);
}

.cart-pro-drawer__summary-row--total strong {
  color: #b45309;
  font-size: 18px;
  font-weight: 800;
}

.cart-pro-drawer__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.cart-pro-drawer__primary,
.cart-pro-drawer__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.cart-pro-drawer__primary {
  background: linear-gradient(180deg, #ffd814 0%, #f7ca00 100%);
  color: #111827;
}

.cart-pro-drawer__primary:hover {
  color: #111827;
  filter: brightness(0.98);
}

.cart-pro-drawer__secondary {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
}

.cart-pro-drawer__secondary:hover {
  color: #111827;
  background: #f9fafb;
}

.cart-pro-drawer__body {
  max-height: calc(100vh - 360px);
  padding: 12px 12px 14px;
  overflow: auto;
}

.cart-pro-drawer__items {
  display: grid;
  gap: 10px;
}

.cart-pro-drawer__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 12px;
  background: #ffffff;
}

.cart-pro-drawer__item-media {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.9);
  background: #f8fafc;
}

.cart-pro-drawer__item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-pro-drawer__item-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111827;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.cart-pro-drawer__item-name:hover {
  color: #0f766e;
}

.cart-pro-drawer__item-meta {
  margin-top: 4px;
  font-size: 11px;
  color: #6b7280;
}

.cart-pro-drawer__item-price {
  margin-top: 6px;
  color: #b45309;
  font-size: 14px;
  font-weight: 800;
}

.cart-pro-drawer__item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #9ca3af;
}

.cart-pro-drawer__item-remove:hover {
  color: #b91c1c;
  background: #fef2f2;
}

.cart-pro-drawer__more {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f9fafb;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.cart-pro-drawer__empty {
  padding: 18px;
}

.cart-pro-drawer__empty p {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
}

.cart-pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  padding: 0 16px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.cart-pro-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.cart-pro-btn--primary {
  background: linear-gradient(135deg, var(--cart-pro-accent) 0%, var(--cart-pro-accent) 100%);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(15, 118, 110, 0.18);
}

.cart-pro-btn--primary:hover {
  color: #ffffff;
  filter: brightness(1.02);
}

.cart-pro-btn--ghost {
  border: 1px solid var(--cart-pro-border);
  background: #ffffff;
  color: var(--cart-pro-text);
}

.cart-pro-btn--ghost:hover {
  color: var(--cart-pro-text);
  background: rgba(15, 23, 42, 0.03);
}

.cart-pro-sidebar-card__empty {
  padding: 24px 20px;
}

.cart-pro-sidebar-card__empty p {
  margin: 0 0 16px;
  color: rgba(31, 41, 55, 0.72);
  line-height: 1.6;
}

@keyframes cartProShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@keyframes cartProAttentionBubble {
  0% {
    opacity: 0;
    transform: translateX(16px) scale(0.96);
  }

  14% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  82% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateX(8px) scale(0.98);
  }
}

@keyframes cartProAttentionIcon {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

@keyframes cartProAttentionPanel {
  0%,
  100% {
    box-shadow: none;
  }

  50% {
    box-shadow: -12px 0 34px rgba(249, 115, 22, 0.28);
  }
}

@keyframes cartProAttentionPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-pro-sidebar-host--floating.is-attention .cart-pro-rail__panel,
  .cart-pro-sidebar-host--floating.is-attention .cart-pro-rail__mini-btn,
  .cart-pro-sidebar-host--floating.is-attention .cart-pro-rail__collapsed-cart,
  .cart-pro-rail__total-value.is-animating,
  .cart-pro-attention,
  .cart-pro-sidebar-host--floating.is-attention .cart-pro-attention__icon {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1399.98px) {
  .cart-pro-sidebar-host--floating {
    top: 84px;
    width: min(196px, calc(100vw - 10px));
  }
}

@media (max-width: 1199.98px) {
  .cart-pro-modal__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .cart-pro-sidebar-host--floating:not(.cart-pro-sidebar-host--mobile-enabled) {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .cart-pro-modal-host {
    padding: 12px;
  }

  .cart-pro-modal__hero,
  .cart-pro-modal__body {
    padding: 20px 18px;
  }

  .cart-pro-modal__hero {
    grid-template-columns: 1fr;
  }

  .cart-pro-modal__hero-total {
    justify-items: start;
  }

  .cart-pro-modal-line {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .cart-pro-modal-line__media {
    width: 68px;
    height: 68px;
  }

  .cart-pro-modal-line__side {
    grid-column: 2;
    justify-items: start;
  }

  .cart-pro-sidebar-card__header,
  .cart-pro-sidebar-card__body,
  .cart-pro-sidebar-card__footer,
  .cart-pro-sidebar-card__empty {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* --- Minimal fixed right cart (Trendyol/Amazon-like) --- */
.cart-pro-sidebar-host--floating {
  top: 96px;
  right: 10px;
  width: min(292px, var(--cart-pro-panel-width), calc(100vw - 20px));
  max-height: calc(100vh - 116px);
  transform: none !important;
}

.cart-pro-sidebar-host--floating.is-collapsed {
  width: 42px !important;
}

.cart-pro-sidebar-host.is-loading::before {
  border-radius: 14px;
}

.cart-pro-fixed {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 116px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.cart-pro-fixed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid #eef0f2;
  background: #fafafa;
}

.cart-pro-fixed__title-group strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.cart-pro-fixed__title-group span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}

.cart-pro-fixed__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #111827;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.cart-pro-fixed__view:hover {
  color: #111827;
  background: #f9fafb;
}

.cart-pro-fixed__summary {
  padding: 14px;
  border-bottom: 1px solid #eef0f2;
}

.cart-pro-fixed__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #4b5563;
  font-size: 13px;
}

.cart-pro-fixed__summary-row + .cart-pro-fixed__summary-row {
  margin-top: 8px;
}

.cart-pro-fixed__summary-row strong {
  color: #111827;
  font-weight: 700;
}

.cart-pro-fixed__summary-row--total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eef0f2;
}

.cart-pro-fixed__summary-row--total strong {
  color: #b45309;
  font-size: 18px;
  font-weight: 800;
}

.cart-pro-fixed__checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  background: linear-gradient(180deg, #ffd814 0%, #f7ca00 100%);
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.cart-pro-fixed__checkout:hover {
  color: #111827;
  filter: brightness(0.98);
}

.cart-pro-fixed__body {
  padding: 12px;
  overflow: auto;
}

.cart-pro-fixed__items {
  display: grid;
  gap: 10px;
}

.cart-pro-fixed__item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid #edf0f2;
  border-radius: 12px;
  background: #fff;
}

.cart-pro-fixed__item-media {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #edf0f2;
  background: #f8fafc;
}

.cart-pro-fixed__item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-pro-fixed__item-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111827;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.cart-pro-fixed__item-name:hover {
  color: #0f766e;
}

.cart-pro-fixed__item-meta {
  margin-top: 4px;
  color: #6b7280;
  font-size: 11px;
}

.cart-pro-fixed__item-price {
  margin-top: 6px;
  color: #b45309;
  font-size: 14px;
  font-weight: 800;
}

.cart-pro-fixed__item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #9ca3af;
}

.cart-pro-fixed__item-remove:hover {
  color: #b91c1c;
  background: #fef2f2;
}

.cart-pro-fixed__more {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #f9fafb;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.cart-pro-fixed__empty {
  padding: 14px;
}

.cart-pro-fixed__empty p {
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1399.98px) {
  .cart-pro-sidebar-host--floating {
    width: min(276px, calc(100vw - 16px));
    top: 88px;
  }
}

@media (max-width: 1099.98px) {
  .cart-pro-sidebar-host--floating:not(.cart-pro-sidebar-host--mobile-enabled) {
    display: none;
  }
}

/* --- 90px fixed right rail mode --- */
.cart-pro-sidebar-host--floating {
  top: 0 !important;
  right: 0 !important;
  width: 100px !important;
  height: 100vh !important;
  max-height: 100vh !important;
  z-index: 120;
  transform: none !important;
  isolation: isolate;
}

.cart-pro-attention {
  position: absolute;
  top: clamp(28px, 15vh, 118px);
  right: calc(100% + 14px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: min(240px, calc(100vw - 120px));
  min-height: 56px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.96);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
  pointer-events: none;
  opacity: 0;
  transform: translateX(16px) scale(0.96);
  transition: opacity 0.18s ease, transform 0.22s ease;
  z-index: 4;
}

.cart-pro-attention::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px;
  height: 12px;
  background: rgba(17, 24, 39, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-50%) rotate(45deg);
}

.cart-pro-attention.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.cart-pro-attention__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  color: #ffffff;
  font-size: 13px;
  box-shadow: 0 10px 18px rgba(16, 185, 129, 0.24);
}

.cart-pro-sidebar-host--floating.is-attention .cart-pro-attention__icon {
  animation: cartProAttentionIcon 0.88s ease 2;
}

.cart-pro-attention__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cart-pro-attention__title {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  color: #ffffff;
}

.cart-pro-attention__hint {
  display: block;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.cart-pro-sidebar-host--floating.is-collapsed {
  transform: none !important;
}

.cart-pro-sidebar-host.is-loading::before {
  min-height: 100vh;
  border-radius: 0;
}

.cart-pro-sidebar-host.is-refreshing::before {
  display: none;
}

.cart-pro-rail {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: visible;
  pointer-events: none;
}

.cart-pro-rail__panel,
.cart-pro-rail__handle,
.cart-pro-rail__collapsed-tools,
.cart-pro-rail__collapsed-cart,
.cart-pro-rail__collapsed-toggle {
  pointer-events: auto;
}

.cart-pro-rail a,
.cart-pro-rail a:hover,
.cart-pro-rail a:focus,
.cart-pro-rail a:active,
.cart-pro-rail a:visited {
  text-decoration: none;
}

.cart-pro-rail__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  overflow: hidden;
  transition: opacity 0.18s ease;
}

.cart-pro-sidebar-host--floating.is-attention .cart-pro-rail__panel {
  border-left-color: #f97316;
  box-shadow: -10px 0 28px rgba(249, 115, 22, 0.22);
  animation: cartProAttentionPanel 0.88s ease 2;
}

.cart-pro-sidebar-host.is-refreshing .cart-pro-rail__panel {
  opacity: 0.72;
}

.cart-pro-rail__collapsed-tools {
  display: none;
  position: absolute;
  top: var(--cart-pro-collapsed-top, 50%);
  left: 50%;
  transform: var(--cart-pro-collapsed-transform, translate(-50%, -50%));
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 46px;
  padding: 0;
}

.cart-pro-rail__collapsed-cart,
.cart-pro-rail__collapsed-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  border: 1px solid #e7eaee;
  border-radius: 12px;
  background: #ffffff;
  color: #374151;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.cart-pro-rail__collapsed-cart {
  min-height: 52px;
}

.cart-pro-rail__collapsed-toggle {
  min-height: 34px;
  font-size: 12px;
}

.cart-pro-rail__collapsed-cart:hover,
.cart-pro-rail__collapsed-toggle:hover {
  color: #111827;
  background: #ffffff;
}

.cart-pro-rail__collapsed-cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: #374151;
}

.cart-pro-rail__collapsed-cart-count {
  position: absolute;
  top: 5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ea580c;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.22);
}

.cart-pro-rail__handle {
  position: absolute;
  top: var(--cart-pro-handle-top, 50%);
  right: 100%;
  transform: var(--cart-pro-handle-transform, translateY(-50%));
  display: inline-flex;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 28px;
  min-height: 118px;
  padding: 10px 4px;
  border: 1px solid #e5e7eb;
  border-right: none;
  border-radius: 12px 0 0 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #6b7280;
  box-shadow: -4px 8px 18px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  z-index: 2;
}

.cart-pro-rail__handle:hover {
  background: #ffffff;
  color: #111827;
}

.cart-pro-rail__handle-icon {
  font-size: 11px;
}

.cart-pro-rail__handle-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-pro-rail__head {
  display: grid;
  justify-items: stretch;
  gap: 6px;
  padding: 10px 8px 8px;
  border-bottom: 1px solid #eef0f2;
}

.cart-pro-rail__mini-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 5px;
  background: #e96631;
  border: 1px solid #ea580c;
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  box-shadow: 0 10px 18px rgba(249, 115, 22, 0.22);
  cursor: pointer;
  user-select: none;
}

.cart-pro-sidebar-host--floating.is-attention .cart-pro-rail__mini-btn,
.cart-pro-sidebar-host--floating.is-attention .cart-pro-rail__collapsed-cart {
  animation: cartProAttentionPulse 0.88s ease 2;
}

.cart-pro-rail__mini-btn:hover {
  color: #ffffff;
  filter: none;
}

.cart-pro-rail__mini-btn:focus,
.cart-pro-rail__mini-btn:active,
.cart-pro-rail__mini-btn:visited,
.cart-pro-rail__mini-btn:hover .cart-pro-rail__mini-btn-title,
.cart-pro-rail__mini-btn:hover .cart-pro-rail__mini-btn-meta,
.cart-pro-rail__mini-btn:focus .cart-pro-rail__mini-btn-title,
.cart-pro-rail__mini-btn:focus .cart-pro-rail__mini-btn-meta,
.cart-pro-rail__mini-btn:active .cart-pro-rail__mini-btn-title,
.cart-pro-rail__mini-btn:active .cart-pro-rail__mini-btn-meta,
.cart-pro-rail__mini-btn:visited .cart-pro-rail__mini-btn-title,
.cart-pro-rail__mini-btn:visited .cart-pro-rail__mini-btn-meta {
  color: #ffffff;
  text-decoration: none;
}

.cart-pro-rail__mini-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12px;
}

.cart-pro-rail__mini-btn-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cart-pro-rail__mini-btn-title {
  display: block;
}

.cart-pro-rail__mini-btn-meta {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.cart-pro-rail__summary {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 12px 8px;
  border-bottom: 1px solid #eef0f2;
}

.cart-pro-rail__total-row {
  display: grid;
  gap: 4px;
  justify-items: center;
  width: 100%;
}

.cart-pro-rail__total-label {
  font-size: 10px;
  font-weight: 700;
  color: #6b7280;
  line-height: 1.2;
}

.cart-pro-rail__total-value {
  font-size: 14px;
  font-weight: 900;
  color: #e96631;
  text-align: center;
  line-height: 1.2;
  display: block;
  width: 100%;
  font-variant-numeric: tabular-nums;
  will-change: transform, opacity;
}

.cart-pro-rail__total-value.is-animating {
  animation: cartProTotalBump 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-pro-rail__checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 0 6px;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  background: linear-gradient(180deg, #ffd814 0%, #f7ca00 100%);
  color: #111827;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.cart-pro-rail__checkout:hover {
  color: #111827;
  filter: brightness(0.98);
}

.cart-pro-rail__body {
  flex: 1;
  min-height: 0;
  max-height: calc(100vh - 180px);
  padding: 8px 6px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 8px;
}

.cart-pro-rail__item {
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  outline: none;
  transition: opacity 0.18s ease, filter 0.18s ease, transform 0.18s ease;
}

.cart-pro-rail__item.is-unselected {
  opacity: 0.68;
  filter: saturate(0.82);
}

.cart-pro-rail__item.is-updating {
  opacity: 0.72;
}

.cart-pro-rail__content {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.cart-pro-rail__hover-card {
  display: none;
  gap: 10px;
  min-width: 0;
}

.cart-pro-rail__hover-product {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
}

.cart-pro-rail__hover-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cart-pro-rail__hover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-pro-rail__hover-thumb-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #9ca3af;
  font-size: 15px;
}

.cart-pro-rail__hover-product-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-pro-rail__hover-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 5px;
}

.cart-pro-rail__hover-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111827;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.cart-pro-rail__hover-name:hover {
  color: #e96631;
}

.cart-pro-rail__hover-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.1);
  color: #c2410c;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.cart-pro-rail__hover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cart-pro-rail__hover-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.cart-pro-rail__hover-chip--price {
  background: rgba(233, 102, 49, 0.1);
  color: #e96631;
}

.cart-pro-rail__hover-options {
  display: grid;
  gap: 6px;
}

.cart-pro-rail__hover-option {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.cart-pro-rail__hover-option-label {
  color: #6b7280;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.cart-pro-rail__hover-option-value {
  color: #111827;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  text-align: right;
  overflow-wrap: anywhere;
}

.cart-pro-rail__quantity {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 0;
  width: auto;
  min-width: 74px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  /* box-shadow: 0 1px 4px rgba(17, 24, 39, 0.06); */
}

.cart-pro-rail__quantity::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 2px solid rgba(17, 24, 39, 0.16);
  border-top-color: #6b7280;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.cart-pro-rail__quantity.is-loading::after {
  opacity: 1;
  animation: cartProSpin 0.6s linear infinite;
}

.cart-pro-rail__quantity.is-loading .cart-pro-rail__quantity-btn,
.cart-pro-rail__quantity.is-loading .cart-pro-rail__quantity-input {
  opacity: 0;
}

.cart-pro-rail__quantity.is-loading .cart-pro-rail__quantity-input {
  color: transparent;
  caret-color: transparent;
}

.cart-pro-rail__remove-feedback {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 6px;
  text-align: center;
  width: 100%;
  min-height: 24px;
  white-space: nowrap;
  overflow: hidden;
}

.cart-pro-rail__remove-feedback i {
  display: none;
}

.cart-pro-rail__remove-feedback span {
  display: block;
  color: #b91c1c;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-pro-rail__quantity-btn,
.cart-pro-rail__quantity-input {
  height: 22px;
  border: none;
  background: #fff;
  color: #111827;
}

.cart-pro-rail__quantity-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 10px;
  font-weight: 800;
  box-shadow: none;
}

.cart-pro-rail__quantity-btn:hover {
  background: #e96631;
  color: white;
}

.cart-pro-rail__quantity-btn:first-child {
  border-right: 1px solid #e6e6e6;
}

.cart-pro-rail__quantity-btn:last-child {
  border-left: 1px solid #e6e6e6;
}

.cart-pro-rail__quantity-btn--remove {
  color: #b91c1c;
  background: #fff5f5;
}

.cart-pro-rail__quantity-btn--remove:hover {
  color: #991b1b;
  background: #fee2e2;
}

.cart-pro-rail__quantity-input {
  width: 100%;
  padding: 0 1px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  appearance: textfield;
  -moz-appearance: textfield;
}

.cart-pro-rail__quantity-input:focus {
  outline: none;
}

.cart-pro-rail__quantity-input::-webkit-outer-spin-button,
.cart-pro-rail__quantity-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.cart-pro-rail__quantity.is-remove-feedback {
  grid-template-columns: 1fr;
  width: 100%;
  min-width: 0;
  min-height: 24px;
  padding: 0;
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff7f7 0%, #fff1f2 100%);
}

.cart-pro-rail__quantity.is-remove-feedback::after {
  display: none;
}

.cart-pro-rail__quantity.is-remove-feedback .cart-pro-rail__quantity-btn,
.cart-pro-rail__quantity.is-remove-feedback .cart-pro-rail__quantity-input {
  display: none;
}

.cart-pro-rail__quantity.is-remove-feedback .cart-pro-rail__remove-feedback {
  display: inline-flex;
}

@keyframes cartProSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes cartProTotalBump {
  0% {
    transform: scale(1);
    opacity: 0.92;
  }

  40% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes cartProFavoritePop {
  0% {
    transform: scale(0.72);
  }

  30% {
    transform: scale(1.26);
  }

  55% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes cartProFavoriteBurst {
  0% {
    opacity: 0;
    transform: scale(0.45);
  }

  28% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

.cart-pro-rail__total-text {
  display: block;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
  color: #000;
  text-align: center;
}

.cart-pro-rail__media-wrap {
  position: relative;
}

.cart-pro-rail__select {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cart-pro-rail__select-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.cart-pro-rail__select-indicator {
  position: relative;
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid rgba(17, 24, 39, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14);
}

.cart-pro-rail__select-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translate(-50%, -62%) rotate(-45deg) scale(0);
  transition: transform 0.16s ease;
}

.cart-pro-rail__select-input:checked + .cart-pro-rail__select-indicator {
  border-color: #e96631;
  background: #e96631;
}

.cart-pro-rail__select-input:checked + .cart-pro-rail__select-indicator::after {
  transform: translate(-50%, -62%) rotate(-45deg) scale(1);
}

.cart-pro-rail__media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #edf0f2;
  background: #f8fafc;
}

.cart-pro-rail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-pro-rail__favorite-btn {
  position: absolute;
  top: 50%;
  right: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #9f1239;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.14);
  opacity: 0;
  transform: translate3d(8px, -50%, 0) scale(0.88);
  transition: opacity 0.18s ease, transform 0.22s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  z-index: 2;
  pointer-events: none;
}

.cart-pro-rail__media-wrap:hover .cart-pro-rail__favorite-btn,
.cart-pro-rail__item:focus-within .cart-pro-rail__favorite-btn,
.cart-pro-rail__favorite-btn.is-active,
.cart-pro-rail__favorite-btn.is-loading {
  opacity: 1;
  transform: translate3d(0, -50%, 0) scale(1);
  pointer-events: auto;
}

.cart-pro-rail__favorite-btn:hover {
  background: #ffffff;
  color: #e11d48;
  box-shadow: 0 10px 18px rgba(225, 29, 72, 0.18);
}

.cart-pro-rail__favorite-btn.is-active {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  color: #e11d48;
}

.cart-pro-rail__favorite-btn.is-loading {
  color: #fb7185;
}

.cart-pro-rail__favorite-heart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 12px;
}

.cart-pro-rail__favorite-heart::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  border: 1.5px solid rgba(225, 29, 72, 0.24);
  opacity: 0;
  transform: scale(0.4);
}

.cart-pro-rail__favorite-btn.is-animating {
  opacity: 1;
  pointer-events: auto;
}

.cart-pro-rail__favorite-btn.is-animating .cart-pro-rail__favorite-heart {
  animation: cartProFavoritePop 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-pro-rail__favorite-btn.is-animating .cart-pro-rail__favorite-heart::after {
  animation: cartProFavoriteBurst 0.72s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .cart-pro-rail__favorite-btn,
  .cart-pro-rail__favorite-heart,
  .cart-pro-rail__favorite-heart::after {
    transition: none !important;
    animation: none !important;
  }
}

.cart-pro-rail__item.is-preview-active .cart-pro-rail__media {
  border-color: rgba(233, 102, 49, 0.72);
  box-shadow: 0 0 0 2px rgba(233, 102, 49, 0.16), 0 10px 20px rgba(249, 115, 22, 0.14);
}

.cart-pro-rail__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
  font-size: 11px;
  font-weight: 800;
}

.cart-pro-rail__empty {
  padding: 8px 6px;
}

@media (max-width: 1099.98px) {
  .cart-pro-sidebar-host--floating:not(.cart-pro-sidebar-host--mobile-enabled) {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    pointer-events: none !important;
  }

  .cart-pro-sidebar-host--floating.cart-pro-sidebar-host--mobile-enabled {
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    width: 100px !important;
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: var(--cart-pro-layer) !important;
  }

  .cart-pro-sidebar-host--floating.cart-pro-sidebar-host--mobile-enabled .cart-pro-rail {
    width: 100%;
    height: 100%;
  }

  .cart-pro-sidebar-host--floating.cart-pro-sidebar-host--mobile-enabled.is-collapsed {
    width: 56px !important;
  }

  #cart-pro-sidebar-preview {
    display: none !important;
  }
}

.cart-pro-rail--collapsed {
  height: 100%;
}

.cart-pro-sidebar-host--floating.is-collapsed {
  width: 56px !important;
}

.cart-pro-sidebar-host--floating.is-collapsed .cart-pro-rail {
  align-items: flex-start;
  justify-content: flex-start;
}

.cart-pro-sidebar-host--floating.is-collapsed .cart-pro-rail__panel {
  display: none;
}

.cart-pro-sidebar-host--floating.is-collapsed .cart-pro-rail__handle {
  display: none;
}

.cart-pro-sidebar-host--floating.is-collapsed .cart-pro-rail__collapsed-tools {
  display: flex;
}

#cart.cart-pro-header-dropdown-disabled,
#cart.cart-pro-header-dropdown-disabled:hover,
#cart.cart-pro-header-dropdown-disabled:focus {
  border: none !important;
  box-shadow: none !important;
}

#cart.cart-pro-header-dropdown-disabled #cart-content,
#cart.cart-pro-header-dropdown-disabled #cart-contents,
#cart.cart-pro-header-dropdown-disabled .cart-content,
body.cart-open #cart.cart-pro-header-dropdown-disabled #cart-content,
body.cart-open #cart.cart-pro-header-dropdown-disabled #cart-contents,
body.cart-open #cart.cart-pro-header-dropdown-disabled .cart-content {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.cart-pro-sidebar-host--floating {
  z-index: var(--cart-pro-layer) !important;
}

#cart-pro-sidebar-preview {
  z-index: var(--cart-pro-layer-preview) !important;
}

.cart-pro-rail__mini-btn.is-disabled {
  opacity: 0.56;
  pointer-events: none;
}