@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* CartLux native popup overlay — rendered by PHP in wp_footer */
#cartlux-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#cartlux-popup-overlay.is-visible {
  display: flex;
  animation: clOverlayIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes clOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body.cartlux-popup-open { overflow: hidden; }

#cartlux-popup {
  background: #fff;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28), 0 8px 24px rgba(0, 0, 0, 0.14);
  position: relative;
  flex-shrink: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Elementor Pro hides popup templates site-wide; CartLux renders them in our overlay. */
#cartlux-popup [data-elementor-type="popup"],
#cartlux-popup [data-elementor-type="cartlux-popup"],
#cartlux-popup .cartlux-popup-inner > .elementor {
  display: block !important;
  visibility: visible !important;
}
#cartlux-popup-overlay.is-visible #cartlux-popup {
  opacity: 1;
  visibility: visible;
}
#cartlux-popup .cartlux-popup-inner { overflow: hidden; }
#cartlux-popup .elementor-section-wrap,
#cartlux-popup .elementor > .elementor-section { margin: 0 !important; }

.elementor-popup-modal .dialog-widget-content,
.cartlux-cart-widget {
  --cl-popup-bg: #ffffff;
  --cl-accent2: #e63946;
  --cl-green: #2ecc71;
  --cl-text-primary: #111118;
  --cl-text-muted: #7a7a90;
  --cl-text-light: #b0b0c3;
  --cl-border: #ebebf0;
  --cl-tag-bg: #f4f4f8;
  --cl-font-head: 'Syne', sans-serif;
  --cl-font-body: 'DM Sans', sans-serif;
  font-family: var(--cl-font-body);
}

.elementor-popup-modal .dialog-widget-content {
  overflow: hidden !important;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28), 0 8px 24px rgba(0,0,0,0.14) !important;
}

.cl-popup-bar {
  height: 4px;
  background: linear-gradient(90deg, #e63946 0%, #ff6b6b 40%, #6c63ff 100%);
}

.cl-header {
  padding: 22px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cl-border);
}
.cl-header-left { display: flex; align-items: center; gap: 12px; }
.cl-check-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  display: flex; align-items: center; justify-content: center;
  animation: clCheckPop 0.6s cubic-bezier(0.22,1,0.36,1) both 0.3s;
  box-shadow: 0 4px 14px rgba(46,204,113,0.35);
}
.cl-check-icon svg { width: 18px; height: 18px; color: #fff; }
.cl-header-title { font-family: var(--cl-font-head); font-size: 15px; font-weight: 700; color: var(--cl-text-primary); }
.cl-header-sub { font-size: 12px; color: var(--cl-text-muted); margin-top: 1px; }
.cl-close {
  width: 32px; height: 32px; border-radius: 50%; background: var(--cl-tag-bg);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.cl-close:hover { background: #e8e8f0; transform: rotate(90deg) scale(1.1); }
.cl-close svg { width: 14px; height: 14px; color: #555; }

/* Scrollable cart item list */
.cl-cart-items-wrap {
  position: relative;
  border-bottom: 1px solid var(--cl-border);
}
.cl-cart-items-scroll {
  max-height: var(--cartlux-list-max-height, 280px);
  min-height: min(var(--cartlux-list-min-height, 330px), var(--cartlux-list-max-height, 280px));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--cartlux-scrollbar-thumb, rgba(17, 17, 24, 0.22)) transparent;
}
.cl-cart-items-scroll::-webkit-scrollbar {
  width: var(--cartlux-scrollbar-width, 5px);
}
.cl-cart-items-scroll::-webkit-scrollbar-thumb {
  background: var(--cartlux-scrollbar-thumb, rgba(17, 17, 24, 0.22));
  border-radius: 99px;
}
.cl-cart-items-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.cl-cart-items-fade {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 88%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cl-cart-items-wrap.is-scrollable .cl-cart-items-fade {
  opacity: 1;
}

.cl-product,
.cartlux-cart-item {
  padding: 20px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border-bottom: 1px solid var(--cl-border);
  position: relative;
  animation: clSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both 0.15s;
}
.cartlux-cart-item:last-child {
  border-bottom: none;
}
.cartlux-item-highlight {
  background: #f6fff9;
  border-left: 3px solid #2ecc71;
  padding-left: 25px;
}
.cartlux-item-removing {
  animation: cartluxItemOut 0.28s ease forwards;
  pointer-events: none;
}
@keyframes cartluxItemOut {
  to {
    opacity: 0;
    transform: translateX(12px);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    overflow: hidden;
  }
}

.cl-remove {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: var(--cl-tag-bg, #f4f4f8);
  color: #b0b0c3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cl-remove svg {
  width: 12px;
  height: 12px;
}
.cl-remove:hover {
  background: #fff0f1;
  color: #e63946;
  transform: scale(1.08);
}

.cl-price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  min-width: 0;
  flex: 1 1 auto;
}
.cl-line-total {
  font-family: var(--cl-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--cl-text-muted);
  flex-shrink: 0;
  text-align: right;
}

.cartlux-continue-wrap {
  width: 100%;
}
.cartlux-continue-wrap .cl-btn-continue {
  justify-content: center;
}

.cl-cart-empty {
  padding: 40px 28px 32px;
  text-align: center;
  border-bottom: 1px solid var(--cl-border);
}
.cl-cart-empty-icon {
  font-size: 42px;
  margin-bottom: 12px;
  opacity: 0.35;
}
.cl-cart-empty-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--cl-text-primary);
  margin: 0 0 18px;
}
.cl-cart-empty .cartlux-empty-continue {
  max-width: 280px;
  margin: 0 auto;
}
.cl-product-img {
  width: 88px; height: 88px; border-radius: 16px; object-fit: cover; flex-shrink: 0;
  background: linear-gradient(135deg, #f0f0f8, #e4e4f0); overflow: hidden;
}
.cl-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-product-img-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.cl-product-details { flex: 1; min-width: 0; padding-right: 28px; }
.cl-product-badge {
  display: inline-flex; align-items: center; gap: 4px; background: #fff0f1;
  color: var(--cl-accent2); border-radius: 30px; padding: 2px 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px;
}
.cl-stock-low { background: #fff8e6 !important; color: #d97706 !important; }
.cl-stock-out { background: #f4f4f8 !important; color: #7a7a90 !important; }
.cl-product-name {
  font-family: var(--cl-font-head); font-size: 15px; font-weight: 700; color: var(--cl-text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3;
}
.cl-product-variant { font-size: 11.5px; color: var(--cl-text-muted); margin-top: 3px; }
.cl-product-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
}
.cl-product-pricing-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
}
.cl-product-qty-row {
  width: 100%;
}
.cl-product-qty-row .cl-qty {
  width: 100%;
  max-width: 100%;
  display: flex;
}
.cl-product-qty-row .cl-qty-btn {
  flex: 0 0 auto;
}
.cl-product-qty-row .cl-qty-num {
  flex: 1 1 auto;
  min-width: 48px;
}
.cl-price { font-family: var(--cl-font-head); font-size: 18px; font-weight: 800; color: var(--cl-text-primary); }
.cl-price-old { font-size: 12px; color: var(--cl-text-light); text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.cl-price-save { font-size: 11px; color: var(--cl-green); font-weight: 600; margin-left: 4px; }

.cl-qty {
  display: flex; align-items: center; border: 1.5px solid var(--cl-border);
  border-radius: 12px; overflow: hidden; background: #fafafc;
}
.cl-qty-btn {
  width: 34px; height: 34px; border: none; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  color: var(--cl-text-primary); font-weight: 600; transition: background 0.15s;
}
.cl-qty-btn:hover { background: var(--cl-border); }
.cl-qty-num {
  width: 36px; text-align: center; font-family: var(--cl-font-head); font-size: 14px;
  font-weight: 700; color: var(--cl-text-primary); border: none;
  border-left: 1.5px solid var(--cl-border); border-right: 1.5px solid var(--cl-border);
  background: transparent; outline: none;
}

.cl-summary {
  padding: 14px 28px; background: #fafafc; border-bottom: 1px solid var(--cl-border);
  animation: clSlideIn 0.5s cubic-bezier(0.22,1,0.36,1) both 0.22s;
}
.cl-summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 3px 0; }
.cl-summary-row .label { color: var(--cl-text-muted); }
.cl-summary-row .value { font-weight: 600; color: var(--cl-text-primary); }
.cl-summary-row.total .label { font-family: var(--cl-font-head); font-size: 14px; font-weight: 700; }
.cl-summary-row.total .value { font-family: var(--cl-font-head); font-size: 18px; font-weight: 800; }
.cl-divider { height: 1px; background: var(--cl-border); margin: 8px 0; }

.cl-shipping-bar { padding: 12px 28px 0; animation: clSlideIn 0.5s cubic-bezier(0.22,1,0.36,1) both 0.32s; }
.cl-shipping-label { font-size: 12px; color: var(--cl-text-muted); margin-bottom: 7px; display: flex; justify-content: space-between; }
.cl-shipping-label span:last-child { color: var(--cl-green); font-weight: 600; }
.cl-bar-track { height: 5px; background: var(--cl-border); border-radius: 99px; overflow: hidden; margin-bottom: 14px; }
.cl-bar-fill {
  height: 100%;
  background: #2ecc71;
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-shipping-bar.is-unlocked .cl-bar-fill {
  background: #2ecc71;
}
.cl-shipping-bar.is-unlocked .cartlux-progress-text {
  color: var(--cl-green, #2ecc71);
  font-weight: 600;
}

.cl-coupon { padding: 0 28px 14px; border-bottom: 1px solid var(--cl-border); animation: clSlideIn 0.5s cubic-bezier(0.22,1,0.36,1) both 0.28s; }
.cl-coupon-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--cl-text-muted); cursor: pointer; width: fit-content; }
.cl-coupon-toggle:hover { color: var(--cl-accent2); }
.cl-coupon-toggle svg { width: 14px; height: 14px; }
.cl-coupon-row { display: flex; gap: 8px; margin-top: 10px; }
.cl-coupon-input {
  flex: 1; padding: 10px 14px; border: 1.5px solid var(--cl-border); border-radius: 10px;
  font-family: var(--cl-font-body); font-size: 13px; color: var(--cl-text-primary); background: #fafafc; outline: none;
}
.cl-coupon-input:focus { border-color: #aaaacc; }
.cl-coupon-apply {
  padding: 10px 18px; background: var(--cl-text-primary); color: #fff; border: none; border-radius: 10px;
  font-family: var(--cl-font-head); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.cl-coupon-apply:hover { background: #2a2a3e; }
.cl-coupon-message { font-size: 12px; margin-top: 8px; }
.cl-coupon-message.is-error { color: var(--cl-accent2); }
.cl-coupon-message.is-success { color: var(--cl-green); }

.cl-actions-row { display: flex; gap: 10px; }
.elementor-widget-button .cl-btn,
.cl-btn {
  flex: 1; padding: 14px 18px !important; border-radius: 14px !important;
  font-family: var(--cl-font-head) !important; font-size: 14px !important; font-weight: 700 !important;
  border: none !important; cursor: pointer; display: flex !important; align-items: center;
  justify-content: center; gap: 8px; transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  letter-spacing: -0.2px; text-decoration: none !important; line-height: 1.2 !important;
}
.cl-btn-cart, .elementor-widget-button .cl-btn-cart .elementor-button {
  background: #111118 !important; color: #fff !important;
  box-shadow: 0 6px 20px rgba(17,17,24,0.25) !important;
}
.cl-btn-cart:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(17,17,24,0.32) !important; }
.cl-btn-checkout, .elementor-widget-button .cl-btn-checkout .elementor-button {
  background: #e63946 !important; color: #fff !important;
  box-shadow: 0 6px 20px rgba(230,57,70,0.3) !important;
}
.cl-btn-checkout:hover { transform: translateY(-2px); background: #d62f3c !important; }
.cl-btn-continue {
  width: 100%; background: transparent !important; color: var(--cl-text-muted) !important;
  border: 1.5px solid var(--cl-border) !important; font-size: 13px !important;
  font-weight: 600 !important; padding: 11px 18px !important; margin-top: 0;
}
.cl-btn-continue:hover { border-color: #aaaacc !important; color: var(--cl-text-primary) !important; background: #fafafc !important; }

.cl-trust { padding: 0 28px 16px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cl-trust-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--cl-text-light); }
.cl-trust-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; }
.cl-trust-label { line-height: 1.2; }
.cl-trust-item svg { width: 13px; height: 13px; opacity: 0.6; }

/* Animations */
@keyframes clCheckPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes clSlideIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: translateX(0); } }
@keyframes clPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes clElasticPop {
  0% { opacity: 0; transform: scale(0.92); }
  60% { opacity: 1; transform: scale(1.02); }
  100% { transform: scale(1); }
}
@keyframes clSlideUpMobile { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }

.cartlux-anim-elastic-pop .dialog-widget-content,
#cartlux-popup.cartlux-anim-elastic-pop { animation: clElasticPop var(--cartlux-duration, 500ms) cubic-bezier(0.22,1,0.36,1) both; }
.cartlux-anim-fade-in .dialog-widget-content,
#cartlux-popup.cartlux-anim-fade-in { animation: clFadeIn var(--cartlux-duration, 500ms) ease both; }
@keyframes clFadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 600px) {
  #cartlux-popup-overlay { align-items: flex-end; padding: 0; }
  #cartlux-popup { max-width: 100%; border-radius: 20px 20px 0 0 !important; max-height: 92vh; }
  .elementor-popup-modal .dialog-widget-content { border-radius: 20px 20px 0 0 !important; max-width: 100% !important; }
  .elementor-popup-modal { align-items: flex-end !important; }
  .cl-product, .cartlux-cart-item, .cl-header, .cl-summary, .cl-coupon, .cl-shipping-bar { padding-left: 20px; padding-right: 20px; }
  .cl-remove { right: 12px; }
  .cartlux-item-highlight { padding-left: 17px; }
  .cl-actions-row { flex-direction: column; }
  .cl-product-img { width: 76px; height: 76px; }
  .cl-price { font-size: 16px; }
  .cartlux-anim-slide-up .dialog-widget-content,
  #cartlux-popup.cartlux-anim-slide-up,
  .cartlux-anim-elastic-pop .dialog-widget-content,
  #cartlux-popup.cartlux-anim-elastic-pop { animation-name: clSlideUpMobile; }
}

@media (prefers-color-scheme: dark) {
  .cartlux-dark-auto .dialog-widget-content,
  .cartlux-dark-auto .cartlux-cart-widget {
    --cl-popup-bg: #1a1a24;
    --cl-text-primary: #f0f0f5;
    --cl-text-muted: #9090a8;
    --cl-border: #2a2a38;
    --cl-tag-bg: #252532;
  }
}

.cartlux-loading { opacity: 0.6; pointer-events: none; position: relative; }
.cartlux-loading::after {
  content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%2392003b' stroke-width='2' fill='none' stroke-dasharray='31.4' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='0.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* Manual cart-icon open: skeleton placeholders while AJAX loads */
.cartlux-is-loading-cart .cartlux-cart-footer {
  pointer-events: none;
}
.cartlux-skeleton-row {
  animation: none !important;
}
.cartlux-skeleton-block.cartlux-skeleton-img {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  flex-shrink: 0;
}
.cartlux-skeleton-details {
  flex: 1;
  min-width: 0;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cartlux-skeleton-line {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e8e8f0 0%, #f4f4f8 45%, #e8e8f0 90%);
  background-size: 200% 100%;
  animation: cartluxSkeletonShimmer 1.15s ease-in-out infinite;
}
.cartlux-skeleton-line.w75 { width: 75%; }
.cartlux-skeleton-line.w45 { width: 45%; }
.cartlux-skeleton-line.w30 { width: 30%; }
.cartlux-skeleton-value {
  display: inline-block;
  width: 72px;
  height: 14px;
  vertical-align: middle;
}
.cartlux-skeleton-value-sm {
  width: 120px;
  height: 12px;
}
.cartlux-cart-content-fade {
  animation: cartluxContentFadeIn 0.38s ease both;
}
@keyframes cartluxSkeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes cartluxContentFadeIn {
  from { opacity: 0.35; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cartlux-skeleton-line {
    animation: none;
    background: #ececf2;
  }
  .cartlux-cart-content-fade {
    animation: none;
  }
}

.cl-product-name a { color: inherit; text-decoration: none; }
.cl-product-name a:hover { color: var(--cl-accent2); }
.cl-product-img a { display: block; }

/* Entrance animations */
.cartlux-anim-slide-up .dialog-widget-content,
#cartlux-popup.cartlux-anim-slide-up { animation: clSlideUp var(--cartlux-duration,500ms) cubic-bezier(0.22,1,0.36,1) both; }
.cartlux-anim-slide-down-top .dialog-widget-content,
#cartlux-popup.cartlux-anim-slide-down-top { animation: clSlideDownTop var(--cartlux-duration,500ms) cubic-bezier(0.22,1,0.36,1) both; }
.cartlux-anim-slide-in-left .dialog-widget-content,
#cartlux-popup.cartlux-anim-slide-in-left { animation: clSlideInLeft var(--cartlux-duration,500ms) cubic-bezier(0.22,1,0.36,1) both; }
.cartlux-anim-slide-in-right .dialog-widget-content,
#cartlux-popup.cartlux-anim-slide-in-right { animation: clSlideInRight var(--cartlux-duration,500ms) cubic-bezier(0.22,1,0.36,1) both; }
.cartlux-anim-zoom-in .dialog-widget-content,
#cartlux-popup.cartlux-anim-zoom-in { animation: clZoomIn var(--cartlux-duration,500ms) cubic-bezier(0.22,1,0.36,1) both; }
.cartlux-anim-bounce-in .dialog-widget-content,
#cartlux-popup.cartlux-anim-bounce-in { animation: clBounceIn var(--cartlux-duration,500ms) cubic-bezier(0.22,1,0.36,1) both; }
.cartlux-anim-flip-in-y .dialog-widget-content,
#cartlux-popup.cartlux-anim-flip-in-y { animation: clFlipInY var(--cartlux-duration,500ms) cubic-bezier(0.22,1,0.36,1) both; }

@keyframes clSlideUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
@keyframes clSlideDownTop { from { opacity:0; transform:translateY(-40px); } to { opacity:1; transform:translateY(0); } }
@keyframes clSlideInLeft { from { opacity:0; transform:translateX(-40px); } to { opacity:1; transform:translateX(0); } }
@keyframes clSlideInRight { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
@keyframes clZoomIn { from { opacity:0; transform:scale(0.85); } to { opacity:1; transform:scale(1); } }
@keyframes clBounceIn { 0% { opacity:0; transform:scale(0.8); } 60% { transform:scale(1.05); } 100% { opacity:1; transform:scale(1); } }
@keyframes clFlipInY { from { opacity:0; transform:perspective(400px) rotateY(90deg); } to { opacity:1; transform:perspective(400px) rotateY(0); } }

/* Exit animations */
.cartlux-exit-fade-out { animation: clFadeOut var(--cartlux-duration,500ms) ease both !important; }
.cartlux-exit-slide-down { animation: clSlideOutDown var(--cartlux-duration,500ms) ease both !important; }
.cartlux-exit-slide-out-right { animation: clSlideOutRight var(--cartlux-duration,500ms) ease both !important; }
.cartlux-exit-zoom-out { animation: clZoomOut var(--cartlux-duration,500ms) ease both !important; }
.cartlux-exit-flip-out-y { animation: clFlipOutY var(--cartlux-duration,500ms) ease both !important; }
@keyframes clFadeOut { to { opacity: 0; } }
@keyframes clSlideOutDown { to { opacity: 0; transform: translateY(40px); } }
@keyframes clSlideOutRight { to { opacity: 0; transform: translateX(40px); } }
@keyframes clZoomOut { to { opacity: 0; transform: scale(0.85); } }
@keyframes clFlipOutY { to { opacity: 0; transform: perspective(400px) rotateY(-90deg); } }

@media (max-width: 600px) {
  .cartlux-cart-widget { display: flex; flex-direction: column; max-height: 85vh; }
  .cartlux-cart-widget .cl-summary {
    position: sticky; bottom: 0; z-index: 2;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
    margin-top: auto;
  }
}
