/** Shopify CDN: Minification failed

Line 779:0 Unexpected "}"

**/
/* ============================================================
   UTcart v2 — Styles
   Based on Julia's Figma designs + global.css design tokens
   ============================================================ */

/* --- Design Tokens (from Julia's global.css) --- */
:root {
  --utcart-black: #000;
  --utcart-white: #fff;
  --utcart-green: #2b7221;
  --utcart-green-bg: rgba(43, 114, 33, 0.1);
  --utcart-orange-bg: rgba(255, 140, 0, 0.2);
  --utcart-orange: #ce7100;
  --utcart-gold: #ffbf00;
  --utcart-gray-bg: rgba(51, 51, 51, 0.04);
  --utcart-border: rgba(0, 0, 0, 0.1);
  --utcart-border-light: rgba(51, 51, 51, 0.04);
  --utcart-crimson: #ff4863;
  --utcart-teal: #008080;

  --utcart-font: 'Poppins', sans-serif;

  --utcart-fs-11: 11px;
  --utcart-fs-12: 12px;
  --utcart-fs-13: 13px;
  --utcart-fs-14: 14px;
  --utcart-fs-15: 15px;
  --utcart-fs-16: 16px;
  --utcart-fs-18: 18px;
  --utcart-fs-20: 20px;
  --utcart-fs-22: 22px;

  --utcart-radius-6: 6px;
  --utcart-radius-12: 12px;
  --utcart-radius-20: 20px;
  --utcart-radius-pill: 100px;

  --utcart-drawer-width: 375px;
  --utcart-touch-min: 48px;

  --utcart-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 767px) {
  :root {
    --utcart-drawer-width: 100vw;
  }
}

@media (min-width: 768px) {
  :root {
    --utcart-drawer-width: 420px;
  }
}


/* ======================
   OVERLAY
   ====================== */
.utcart-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  visibility: hidden;
  pointer-events: none;
}

.utcart-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--utcart-transition);
}

.utcart-overlay.utcart--open {
  visibility: visible;
  pointer-events: auto;
}

.utcart-overlay.utcart--open::before {
  opacity: 1;
}


/* ======================
   DRAWER
   ====================== */
.utcart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--utcart-drawer-width);
  max-width: 100vw;
  background: var(--utcart-white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--utcart-transition);
  font-family: var(--utcart-font);
  font-size: var(--utcart-fs-13);
  color: var(--utcart-black);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

.utcart--open .utcart-drawer {
  transform: translateX(0);
}


/* ======================
   MAIN VIEW
   ====================== */
.utcart-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}


/* ======================
   HEADER
   ====================== */
.utcart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 6px;
  background: var(--utcart-white);
  border-bottom: 1px solid var(--utcart-border-light);
}

.utcart-header__title {
  margin: 0;
  font-size: var(--utcart-fs-16);
  font-weight: 600;
  line-height: 1.3;
}

.utcart-header__subtitle {
  margin: 2px 0 0;
  font-size: var(--utcart-fs-13);
  font-weight: 400;
  font-style: italic;
  color: var(--utcart-black);
  opacity: 0.6;
}

.utcart-header__close,
.utcart-header__back,
.utcart-gift-close-x {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--utcart-radius-pill);
  cursor: pointer;
  color: var(--utcart-black);
  padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.utcart-header__close:hover,
.utcart-header__back:hover,
.utcart-gift-close-x:hover {
  background: var(--utcart-gray-bg);
}

/* Gift selection header: back arrow + title + subtitle visible */
.utcart-header--gift .utcart-header__back {
  display: flex;
}

.utcart-header--gift .utcart-header__subtitle {
  display: block;
}


/* ======================
   PROGRESS + GIFT (unified block)
   ====================== */
.utcart-progress-wrap {
  margin: 10px 16px;
  border-radius: var(--utcart-radius-12);
  background: rgba(71, 149, 60, 0.08);
  padding-bottom: 10px;
}

.utcart-progress {
  padding: 12px 14px 0;
  background: none;
  border-bottom: none;
}

.utcart-progress__message {
  font-size: var(--utcart-fs-13);
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.utcart-progress__message b,
.utcart-progress__message strong {
  color: var(--utcart-crimson);
  font-weight: 700;
}

.utcart-progress__track {
  position: relative;
}

.utcart-progress__bar {
  display: flex;
  align-items: center;
  height: 16px;
  position: relative;
}

.utcart-progress__segment {
  flex: 1;
  height: 3px;
  background: var(--utcart-white);
  border-radius: 1.5px;
  overflow: hidden;
  position: relative;
}

.utcart-progress__fill {
  position: absolute;
  inset: 0;
  background: var(--utcart-green);
  border-radius: 1.5px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.utcart-progress__node {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: background 0.3s ease, color 0.3s ease;
  color: #999;
  border: 2px solid transparent;
}

.utcart-progress__node.utcart-progress__node--active {
  background: var(--utcart-green);
  color: var(--utcart-white);
}

.utcart-progress__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  padding: 0;
}

.utcart-progress__label {
  font-size: var(--utcart-fs-11);
  font-weight: 400;
  color: rgba(51, 51, 51, 0.5);
  text-align: center;
  flex: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Active/reached labels get green + font-weight 500 */
.utcart-progress__label--active {
  color: var(--utcart-green);
  font-weight: 500;
}

/* "All milestones reached" state */
.utcart-progress__message--complete {
  font-weight: 600;
  color: var(--utcart-green);
}

/* Gift banner inside unified block */
.utcart-gift-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 0;
  margin: 0 14px;
  border-top: 1px solid rgba(51, 51, 51, 0.12);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  gap: 14px;
  background: none;
}

.utcart-gift-banner:hover {
  opacity: 0.9;
}

.utcart-gift-banner__text {
  font-size: var(--utcart-fs-12);
  font-weight: 600;
  color: var(--utcart-green);
  line-height: 1.3;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.utcart-gift-banner__thumbs {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.utcart-gift-banner__thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

/* Locked state (before threshold) — static, informational, no animation */
.utcart-gift-banner[data-state="locked"] {
  background: none;
}

.utcart-gift-banner[data-state="locked"] .utcart-gift-banner__text {
  font-size: var(--utcart-fs-12);
  font-weight: 600;
  color: var(--utcart-green);
}

.utcart-gift-banner[data-state="locked"] .utcart-gift-banner__btn {
  color: rgba(0,0,0,0.25);
}

/* Unlocked state — same height, thumbnails hidden, text + CTA pill */
.utcart-gift-banner[data-state="unlocked"] {
  background: var(--utcart-green-bg);
  border: 1.5px solid rgba(43, 114, 33, 0.3);
  border-radius: var(--utcart-radius-12);
  padding: 10px 14px;
  margin-top: 8px;
}

.utcart-gift-banner[data-state="unlocked"]:hover {
  opacity: 1;
  border-color: var(--utcart-green);
}

.utcart-gift-banner[data-state="unlocked"] .utcart-gift-banner__text {
  font-size: var(--utcart-fs-13);
  font-weight: 700;
  color: var(--utcart-green);
  flex: 1;
  min-width: 0;
}

.utcart-gift-banner[data-state="unlocked"] .utcart-gift-banner__thumbs {
  display: none;
}

.utcart-gift-banner[data-state="unlocked"] .utcart-gift-banner__btn {
  display: flex;
  color: #fff;
  background: var(--utcart-green);
  border-radius: var(--utcart-radius-pill);
  width: auto;
  height: 28px;
  padding: 0 12px;
  gap: 4px;
}

.utcart-gift-banner[data-state="unlocked"] .utcart-gift-banner__btn::before {
  content: 'GRATUIT';
  font-family: var(--utcart-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.utcart-gift-banner__btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--utcart-green);
  flex-shrink: 0;
}

/* Attention animation when gift unlocked (only plays once on transition) */
@keyframes utcart-gift-unlock {
  0% { opacity: 0.4; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

.utcart-gift-banner--attention {
  animation: utcart-gift-unlock 0.5s ease;
}

/* ======================
   SCROLLABLE BODY
   ====================== */
.utcart-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--utcart-white);
}


/* ======================
   EMPTY STATE
   ====================== */
.utcart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  gap: 30px;
  min-height: 60vh;
}

.utcart-empty__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.utcart-empty__image {
  width: 194px;
  height: 173px;
  object-fit: contain;
  margin-bottom: 12px;
}

.utcart-empty__title {
  margin: 0;
  font-size: var(--utcart-fs-22);
  font-weight: 600;
  line-height: 1.3;
}

.utcart-empty__subtitle {
  margin: 0;
  font-size: var(--utcart-fs-16);
  font-weight: 400;
  color: var(--utcart-black);
}


/* ======================
   GIFT BANNER (old standalone block — REMOVED, now lives inside unified progress-wrap)
   ====================== */

/* Gift selection panel — preview/locked mode */
.utcart-gift-selection--preview .utcart-gift-sel-item--locked {
  opacity: 0.5;
  filter: grayscale(30%);
  pointer-events: none;
}
.utcart-gift-selection--preview .utcart-gift-sel-item--locked .utcart-gift-sel-item__select {
  visibility: hidden;
}


/* ======================
   LINE ITEMS
   ====================== */
.utcart-items {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}

.utcart-gifts {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  gap: 8px;
  margin-bottom: 8px;
}

.utcart-line-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  background: var(--utcart-white);
}

.utcart-line-item + .utcart-line-item {
  border-top: none;
}

.utcart-line-item__image {
  width: 72px;
  height: 72px;
  border-radius: var(--utcart-radius-12);
  object-fit: cover;
  flex-shrink: 0;
}

.utcart-line-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.utcart-line-item__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.utcart-line-item__name-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.utcart-line-item__name {
  font-size: var(--utcart-fs-14);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.utcart-line-item__days {
  font-size: var(--utcart-fs-12);
  font-weight: 400;
  color: #777;
  line-height: 1.2;
}

.utcart-line-item__price {
  font-size: var(--utcart-fs-16);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.utcart-line-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.utcart-line-item__remove,
.utcart-line-item__change-gift {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--utcart-black);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.utcart-line-item__remove b,
.utcart-line-item__change-gift b {
  font-size: var(--utcart-fs-12);
  font-weight: 700;
  text-decoration: underline;
  letter-spacing: 1.2px;
  line-height: 1.7;
  text-transform: uppercase;
}

.utcart-line-item__remove:hover b,
.utcart-line-item__change-gift:hover b {
  text-decoration-thickness: 2px;
}


/* --- Gift Line Item variant --- */
.utcart-line-item--gift {
  margin: 0;
  padding: 14px;
  gap: 12px;
  border: 1px solid rgba(43, 114, 33, 0.2);
  border-radius: var(--utcart-radius-20);
  background: rgba(71, 149, 60, 0.08);
  font-size: var(--utcart-fs-12);
  color: var(--utcart-green);
}

.utcart-line-item--gift .utcart-line-item__info {
  color: var(--utcart-green);
}

.utcart-line-item__image-wrap--gift {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.utcart-line-item--gift .utcart-line-item__image {
  width: 68px;
  height: 68px;
  border-radius: var(--utcart-radius-12);
  object-fit: cover;
}

.utcart-line-item__gift-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: var(--utcart-radius-6);
  background: var(--utcart-green);
  border: 2px solid var(--utcart-white);
  font-size: var(--utcart-fs-12);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--utcart-white);
  white-space: nowrap;
}

.utcart-line-item--gift .utcart-line-item__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.utcart-line-item--gift .utcart-line-item__name {
  font-size: var(--utcart-fs-13);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.utcart-line-item__gift-tag {
  font-size: var(--utcart-fs-12);
  font-weight: 600;
  color: var(--utcart-green);
}

.utcart-line-item__name-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.utcart-line-item__price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.utcart-line-item__price--old {
  font-size: var(--utcart-fs-13);
  font-weight: 500;
  text-decoration: line-through;
  opacity: 0.4;
}

.utcart-line-item--gift .utcart-line-item__price-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.utcart-line-item--gift .utcart-line-item__price--old {
  font-size: var(--utcart-fs-12);
  opacity: 0.4;
  color: rgba(51, 51, 51, 0.7);
}

.utcart-line-item--gift .utcart-line-item__price {
  font-size: var(--utcart-fs-12);
  font-weight: 600;
}

.utcart-line-item__actions--gift {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  height: 32px;
}

.utcart-line-item__actions--gift .utcart-line-item__change-gift,
.utcart-line-item__actions--gift .utcart-line-item__remove {
  color: rgba(51, 51, 51, 0.5);
  height: 32px;
}
.utcart-line-item--upsell {
  background: var(--utcart-white);
}

.utcart-line-item--upsell .utcart-line-item__image-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.utcart-line-item--upsell .utcart-line-item__image {
  width: 72px;
  height: 72px;
}

.utcart-line-item__upsell-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: var(--utcart-radius-6);
  background: rgba(255, 140, 0, 0.2);
  font-size: var(--utcart-fs-12);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--utcart-orange);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
}

.utcart-line-item--upsell .utcart-line-item__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.utcart-line-item--upsell .utcart-line-item__info {
  gap: 4px;
}

.utcart-line-item--upsell .utcart-line-item__name {
  font-size: var(--utcart-fs-14);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.utcart-line-item--upsell .utcart-line-item__actions {
  justify-content: space-between;
  height: 32px;
}

.utcart-line-item--upsell .utcart-line-item__remove {
  height: 32px;
}

.utcart-line-item__upsell-qty {
  font-size: var(--utcart-fs-14);
  font-weight: 500;
}

.utcart-upsell-items {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}



/* ======================
   QUANTITY CONTROLS
   ====================== */
.utcart-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utcart-qty__btn {
  width: 40px;
  height: 40px;
  border-radius: var(--utcart-radius-12);
  background: var(--utcart-white);
  border: 1px solid var(--utcart-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: var(--utcart-fs-18);
  color: var(--utcart-black);
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease;
}

.utcart-qty__btn:hover {
  background: var(--utcart-gray-bg);
}

.utcart-qty__btn:active {
  background: var(--utcart-border);
}

.utcart-qty__minus span {
  opacity: 0.4;
}

.utcart-qty__value {
  width: 20px;
  font-size: var(--utcart-fs-14);
  font-weight: 500;
  text-align: center;
}


/* ======================
   DISCOUNT CODE (in footer)
   ====================== */
.utcart-discount {
  border-bottom: 1px solid var(--utcart-border-light);
  padding-bottom: 10px;
}

/* Toggle (no-code state) */
.utcart-discount__toggle-wrap {
  /* visible when no codes applied and panel closed */
}

.utcart-discount__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--utcart-black);
  font-family: var(--utcart-font);
  -webkit-tap-highlight-color: transparent;
}

.utcart-discount__toggle-text {
  font-size: var(--utcart-fs-13);
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 22px;
  text-transform: uppercase;
}

.utcart-discount__toggle-icon {
  font-size: var(--utcart-fs-18);
  font-weight: 400;
  opacity: 0.4;
}

/* Input panel */
.utcart-discount__panel {
  padding: 6px 0 8px;
}

.utcart-discount__input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.utcart-discount__input {
  flex: 1;
  min-width: 0;
  width: 0;
  border: 1.5px solid var(--utcart-border);
  border-radius: var(--utcart-radius-pill);
  padding: 11px 16px;
  font-family: var(--utcart-font);
  font-size: var(--utcart-fs-15);
  outline: none;
  background: var(--utcart-white);
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.utcart-discount__input:focus {
  border-color: var(--utcart-black);
}

.utcart-discount__apply {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--utcart-black);
  color: var(--utcart-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s ease;
}

.utcart-discount__apply:hover {
  opacity: 0.85;
}

.utcart-discount__apply:disabled {
  opacity: 0.5;
  cursor: default;
}

.utcart-discount__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: none;
  color: var(--utcart-black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.5;
  -webkit-tap-highlight-color: transparent;
}

.utcart-discount__close:hover {
  opacity: 0.8;
}

.utcart-discount__error {
  margin-top: 6px;
  font-size: var(--utcart-fs-12);
  color: var(--utcart-crimson);
  font-weight: 500;
}

/* Badges row (pills + add another) */
.utcart-discount__badges-row {
  display: flex;
  align-items: center;
  padding: 0;
  gap: 10px;
}

.utcart-discount__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.utcart-discount-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px;
  border-radius: var(--utcart-radius-pill);
  background: #ff4863;
  color: var(--utcart-white);
  font-size: var(--utcart-fs-13);
  font-weight: 600;
}

.utcart-discount-pill__icon {
  display: none; /* icon hidden in new design */
}

.utcart-discount-pill__remove {
  background: none;
  border: none;
  color: var(--utcart-white);
  cursor: pointer;
  padding: 0;
  font-size: var(--utcart-fs-12);
  line-height: 1;
  opacity: 0.9;
  -webkit-tap-highlight-color: transparent;
}

.utcart-discount-pill__remove:hover {
  opacity: 1;
}

.utcart-discount-pill__amount {
  display: none; /* amount shown in footer line instead */
}

.utcart-discount__add-another {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--utcart-font);
  font-size: var(--utcart-fs-12);
  font-weight: 600;
  letter-spacing: 1.2px;
  line-height: 170%;
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--utcart-gray-text);
  white-space: nowrap;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  margin-left: auto;
}


/* ======================
   UPSELLS
   ====================== */
.utcart-upsells {
  background: var(--utcart-white);
}

.utcart-upsells__header {
  padding: 14px 16px 10px;
}

.utcart-upsells__title {
  font-size: var(--utcart-fs-12);
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.3;
}

.utcart-upsells__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px 4px;
}


/* --- Upsell Card --- */
.utcart-upsell-card {
  padding: 0;
}

.utcart-upsell-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 10px;
  background: rgba(255, 140, 0, 0.06);
  border: 1px dashed rgba(206, 113, 0, 0.3);
  border-radius: var(--utcart-radius-20);
}

.utcart-upsell-card__left {
  flex-shrink: 0;
}

.utcart-upsell-card__image-wrap {
  width: 68px;
  height: 68px;
  position: relative;
}

.utcart-upsell-card__image {
  width: 68px;
  height: 68px;
  border-radius: var(--utcart-radius-12);
  object-fit: cover;
}

.utcart-upsell-card__badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: var(--utcart-radius-6);
  background: #ffe0b2;
  border: 1px solid var(--utcart-white);
  white-space: nowrap;
}

.utcart-upsell-card__badge-text {
  font-size: var(--utcart-fs-12);
  font-weight: 600;
  text-transform: uppercase;
  color: #ce7100;
}

.utcart-upsell-card__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.utcart-upsell-card__title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.utcart-upsell-card__text {
  flex: 1;
  font-size: var(--utcart-fs-13);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}

.utcart-upsell-card__prices {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.utcart-upsell-card__price--old {
  font-size: var(--utcart-fs-13);
  font-weight: 500;
  text-decoration: line-through;
  opacity: 0.4;
  letter-spacing: 0.02em;
}

.utcart-upsell-card__price {
  font-size: var(--utcart-fs-16);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.utcart-upsell-card__action {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.utcart-upsell-card__add {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--utcart-black);
  -webkit-tap-highlight-color: transparent;
  min-height: 36px;
}

.utcart-upsell-card__add b {
  font-size: var(--utcart-fs-12);
  font-weight: 700;
  text-decoration: underline;
  letter-spacing: 1.2px;
  line-height: 1.7;
  text-transform: uppercase;
}

.utcart-upsell-card__add:hover b {
  text-decoration-thickness: 2px;
}


/* ======================
   FOOTER (STICKY)
   ====================== */
.utcart-footer {
  border-top: 1px solid rgba(51, 51, 51, 0.08);
  background: #f0f0f0;
  padding: 10px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.utcart-footer__additional {
  display: flex;
  flex-direction: column;
}

.utcart-footer__shipping-line,
.utcart-footer__discount-line,
.utcart-footer__total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.utcart-footer__discount-value {
  font-size: var(--utcart-fs-13);
  font-weight: 600;
}

.utcart-footer__label {
  font-size: var(--utcart-fs-13);
  font-weight: 400;
}

.utcart-footer__shipping-value {
  font-size: var(--utcart-fs-13);
  font-weight: 600;
}

/* COD checkbox */
.utcart-footer__cod-line {
  padding: 12px 0;
}

.utcart-footer__cod-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.utcart-footer__cod-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.utcart-footer__cod-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--utcart-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
  color: transparent;
}

.utcart-footer__cod-input:checked + .utcart-footer__cod-box {
  background: var(--utcart-teal);
  border-color: var(--utcart-teal);
  color: var(--utcart-white);
}

.utcart-footer__cod-text {
  font-size: var(--utcart-fs-13);
  font-weight: 600;
}

.utcart-footer__cod-extra {
  font-size: var(--utcart-fs-12);
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.6;
}

/* Total section */
.utcart-footer__total-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.utcart-footer__total-label {
  font-size: var(--utcart-fs-16);
  font-weight: 500;
}

.utcart-footer__total-price {
  font-size: var(--utcart-fs-20);
  font-weight: 700;
}


/* ======================
   BUTTONS (shared)
   ====================== */
.utcart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: var(--utcart-font);
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s ease;
}

.utcart-btn:hover {
  opacity: 0.9;
}

.utcart-btn--primary {
  height: var(--utcart-touch-min);
  border-radius: var(--utcart-radius-pill);
  background: var(--utcart-black);
  color: var(--utcart-white);
  font-size: var(--utcart-fs-15);
  padding: 6px 20px;
  width: 100%;
}

.utcart-btn--primary:hover {
  opacity: 0.85;
}

.utcart-btn--disabled {
  background: #ccc !important;
  color: #888 !important;
  cursor: not-allowed;
}

.utcart-btn--shake {
  animation: utcart-shake 0.5s ease;
}

@keyframes utcart-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(5px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
}

.utcart-gift-confirm-wrap {
  padding: 12px 16px;
  text-align: center;
}

.utcart-gift-confirm-msg {
  display: block;
  font-size: var(--utcart-fs-12);
  color: var(--utcart-crimson);
  font-weight: 500;
  margin-bottom: 8px;
}

.utcart-btn--small {
  height: 38px;
  border-radius: var(--utcart-radius-pill);
  background: var(--utcart-black);
  color: var(--utcart-white);
  font-size: var(--utcart-fs-13);
  padding: 0 16px;
  flex-shrink: 0;
  white-space: nowrap;
}


/* ======================
   GIFT SELECTION VIEW
   ====================== */
.utcart-gift-selection {
  position: absolute;
  inset: 0;
  background: var(--utcart-gray-bg);
  display: flex;
  flex-direction: column;
  z-index: 2;
  transform: translateX(100%);
  transition: transform var(--utcart-transition);
}

.utcart-gift-selection.utcart-gift-selection--visible {
  display: flex;
  transform: translateX(0);
}

.utcart-gift-selection__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}

/* Gift selection footer */
.utcart-footer--gift {
  padding-top: 14px;
}

.utcart-footer--gift .utcart-footer__shipping-line {
  margin-bottom: 6px;
}


/* --- Gift Selection Item --- */
.utcart-gift-sel-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #f3f3f3;
  border-radius: var(--utcart-radius-20);
  margin: 4px 16px;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  filter: saturate(0.3);
}

.utcart-gift-sel-item--selected {
  border-color: var(--utcart-green);
  background: var(--utcart-green-bg);
  filter: saturate(1);
}

.utcart-gift-sel-item--unavailable {
  opacity: 0.3;
  pointer-events: none;
}

.utcart-gift-sel-item__image {
  width: 105px;
  height: 105px;
  border-radius: var(--utcart-radius-12);
  object-fit: cover;
  flex-shrink: 0;
}

.utcart-gift-sel-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.utcart-gift-sel-item__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.utcart-gift-sel-item__name {
  font-size: var(--utcart-fs-14);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.utcart-gift-sel-item__price-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utcart-gift-sel-item__price {
  font-size: var(--utcart-fs-16);
  font-weight: 700;
}

.utcart-gift-sel-item__price--old {
  font-size: var(--utcart-fs-13);
  font-weight: 500;
  text-decoration: line-through;
  opacity: 0.4;
}

.utcart-gift-sel-item__tag {
  font-size: var(--utcart-fs-13);
  font-weight: 600;
  color: var(--utcart-green);
}

.utcart-gift-sel-item__actions {
  display: flex;
  gap: 20px;
}

.utcart-gift-sel-item__select {
  height: var(--utcart-touch-min);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--utcart-black);
  -webkit-tap-highlight-color: transparent;
}

.utcart-gift-sel-item__select b {
  font-size: var(--utcart-fs-12);
  font-weight: 700;
  text-decoration: underline;
  letter-spacing: 1.2px;
  line-height: 1.7;
  text-transform: uppercase;
}

.utcart-gift-sel-item--selected .utcart-gift-sel-item__select b {
  color: var(--utcart-green);
}

.utcart-gift-sel-item__select:hover b {
  text-decoration-thickness: 2px;
}


/* ======================
   SKELETON LOADING
   ====================== */
.utcart-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: utcart-shimmer 1.5s infinite;
  border-radius: var(--utcart-radius-12);
}

@keyframes utcart-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.utcart-skeleton--image {
  width: 84px;
  height: 84px;
}

.utcart-skeleton--text {
  height: 14px;
  width: 60%;
}

.utcart-skeleton--text-short {
  height: 14px;
  width: 30%;
}


/* ======================
   TRANSITIONS & ANIMATIONS
   ====================== */

/* Body scroll lock when cart is open */
body.utcart-body-locked {
  overflow: hidden;
  touch-action: none;
}

/* Smooth entry for items being added */
.utcart-line-item--entering {
  animation: utcart-fade-in 0.3s ease;
}

@keyframes utcart-fade-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Item being removed */
.utcart-line-item--removing {
  animation: utcart-fade-out 0.2s ease forwards;
}

@keyframes utcart-fade-out {
  to {
    opacity: 0;
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    overflow: hidden;
  }
}


/* ======================
   RESPONSIVE (Desktop)
   ====================== */
@media (min-width: 768px) {
  .utcart-line-item__image {
    width: 96px;
    height: 96px;
  }

  .utcart-gift-sel-item {
    margin: 6px 20px;
    padding: 16px;
  }

  .utcart-empty {
    padding: 80px 60px;
  }
}

/* Hide erroneous stock message on PDP */
.out_in_stock {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   PACK BUILDER — el pack como una línea más del carrito
   Diseño de Julia: Figma 13083-11156 (cerrado) y 13095-7713 (abierto).
   Medidas tomadas del propio Figma a 375px: icono 72×72, sangrado del panel 46px,
   imagen de la lista 42px, panel #F7F7F7, raíl del árbol #F2F2F2.
   ══════════════════════════════════════════════════════════════════ */
.utcart-pack { margin: 0 0 18px; }

.utcart-pack__line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }

.utcart-pack__icon {
  width: 72px; height: 72px; border-radius: 10px;
  border: 1.5px solid #4eaca9; background: #edf6f6;
  display: flex; align-items: center; justify-content: center;
}
.utcart-pack__icon img { width: 48px; height: auto; display: block; }

.utcart-pack__info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.utcart-pack__name { font: 700 15px/1.2 Poppins, sans-serif; color: #202020; }
/* «Pack» va en la serif itálica, la misma del subtítulo del hero del builder (Figma 13083-11156). */
.utcart-pack__name i { font-family: gelica, Fraunces, Georgia, serif; font-style: italic; font-weight: 700; }
/* 40×18 en el Figma: el line-height explícito es lo que evita que crezca a 25. */
.utcart-pack__badge {
  background: #4eaca9; color: #fff; font: 600 11px/1 Poppins, sans-serif;
  padding: 4px 6px; border-radius: 7px;
}
/* El padding grande da los 44px de área táctil y el margen negativo lo devuelve al layout, así
   el texto cae donde lo pone el Figma sin sacrificar el tamaño del objetivo. */
.utcart-pack__toggle {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 0; padding: 14px 0; margin: -3px 0 -14px; min-height: 0;
  font: 400 13px/1.2 Poppins, sans-serif; color: #202020; cursor: pointer;
}
.utcart-pack__chevron { transition: transform .18s ease; flex: none; }
.utcart-pack--open .utcart-pack__chevron { transform: rotate(90deg); }

.utcart-pack__prices { text-align: right; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; }
.utcart-pack__was { font-size: 12px; color: #a9a9a9; }
.utcart-pack__now { font-family: Poppins, sans-serif; font-size: 17px; font-weight: 700; color: #202020; }
/* «Eliminar» del pack: mismo sitio, tamaño y estilo que el de un producto normal (UX 9-sep-2026). */
.utcart-pack__remove {
  margin-top: auto; padding: 14px 0; margin-bottom: -14px; display: inline-flex; align-items: center;
  background: none; border: 0; min-height: 0;
  font: 600 11px/1.2 Poppins, sans-serif; letter-spacing: .08em;
  text-transform: uppercase; color: #202020; text-decoration: underline; cursor: pointer;
}
.utcart-pack__remove:hover { color: #c0392b; }
.utcart-pack__remove[hidden] { display: none; }

/* ---- Contenido desplegado: lista SOLO informativa ---- */
.utcart-pack__contents { margin: 10px 0 0 46px; position: relative; }
.utcart-pack__contents[hidden] { display: none; }
/* raíl vertical que enlaza el pack con su contenido */
.utcart-pack__contents::before {
  content: ""; position: absolute; left: -11px; top: -6px; bottom: 18px;
  width: 2px; background: #f2f2f2;
}
.utcart-pack__list {
  list-style: none; margin: 0; padding: 10px; background: #f7f7f7; border-radius: 12px;
}
/* Fila de 42 (la imagen) + 6 de separación = paso de 48, como el Figma. Antes eran 60. */
.utcart-pack__item { display: flex; align-items: center; gap: 7px; padding: 0; margin-bottom: 6px; position: relative; }
.utcart-pack__item:last-child { margin-bottom: 0; }
.utcart-pack__item-text { min-width: 0; flex: 1; }
.utcart-pack__item-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.utcart-pack__item-qty { flex: none; font: 400 13px/1.15 Poppins, sans-serif; color: #949494; }
.utcart-pack__item::before {
  content: ""; position: absolute; left: -21px; top: 50%;
  width: 11px; height: 2px; background: #f2f2f2;
}
.utcart-pack__item-img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex: none; background: #fff; }
.utcart-pack__item-name { font: 600 14px/1.15 Poppins, sans-serif; color: #202020; min-width: 0; }
.utcart-pack__item-days { display: block; font: 400 12px/1.25 Poppins, sans-serif; color: #8d8d8d; margin-top: 1px; }

.utcart-pack__actions { display: flex; justify-content: flex-end; padding-top: 4px; }
/* «Editar el pack»: acción secundaria, dentro del desplegable (lleva al builder). */
.utcart-pack__edit {
  display: inline-flex; align-items: center; padding: 10px 0; min-height: 44px;
  font: 600 11px/1.2 Poppins, sans-serif; letter-spacing: .08em;
  text-transform: uppercase; color: #202020; text-decoration: underline; cursor: pointer;
}

.utcart-pack__confirm {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; padding-top: 2px; margin-left: 84px;
  font-family: Poppins, sans-serif; font-size: 13px; color: #202020;
}
.utcart-pack__confirm[hidden] { display: none; }
/* Pregunta a ancho completo y los dos botones en una sola fila debajo. */
.utcart-pack__confirm > span { flex-basis: 100%; }
.utcart-pack__confirm-yes,
.utcart-pack__confirm-no {
  background: none; border: 0; padding: 8px 0; min-height: 40px;
  font-family: Poppins, sans-serif; font-size: 13px; cursor: pointer; text-decoration: underline;
}
.utcart-pack__confirm-yes { color: #c0392b; font-weight: 600; }
.utcart-pack__confirm-no { color: #8d8d8d; margin-left: auto; }
