/** Shopify CDN: Minification failed

Line 514:0 Unexpected "@media"

**/
.gift-tier-system {
  padding: 20px;
}

.gift-tier-system:not(.drawer) {
  border-top: 1px solid #e0e0e0;
  margin: 2rem auto;
}

.gift-progress-wrapper {
  margin-bottom: 24px;
}

.gift-progress-bar {
  width: 100%;
  height: 8px;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.gift-progress-fill {
  height: 100%;
  background-color: #2ecc71;
  transition: width 0.3s ease;
  border-radius: 10px;
}

.gift-progress-text {
  font-weight: 700;
  font-size: calc(var(--typeBaseSize) + 1px);
  color: #333;
  margin: 0;
  margin-bottom: 15px;
  text-align: center;
}

.gift-tiers-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gift-tier-card {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  transition: all 0.3s ease;
}

.gift-tier-card.unlocked {
  border-color: #2ecc71;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.gift-tier-card.locked {
  opacity: 0.75;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.tier-badge {
  background-color: #f0f0f0;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.tier-threshold {
  font-weight: 700;
  color: #666;
}

.tier-status {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.tier-status.unlocked {
  background-color: #d4edda;
  color: #155724;
}

.tier-status.locked {
  background-color: #f8d7da;
  color: #721c24;
}

.gift-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gift-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.gift-details {
  flex: 1;
}

.gift-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.gift-subtitle {
  font-size: 13px;
  color: #666;
  margin: 0 0 6px 0;
}

.gift-price {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gift-price-strikethrough {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.gift-price-free {
  font-weight: 700;
  color: #2ecc71;
  font-size: 15px;
}

.gift-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gift-option {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: all 0.2s ease;
  min-height: 130px;
}

.gift-option:hover:not(.gift-oos) {
  border-color: #2ecc71;
  background-color: #f8fff8;
}

.gift-option.selected {
  border-color: #2ecc71;
  background-color: #e8f8e8;
}

.gift-option.gift-oos {
  opacity: 0.5;
}

.gift-option-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.gift-option-details {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.gift-tier-system.drawer .gift-option-details {
  flex-direction: column;
  align-items: flex-start;
}

.gift-option-info {
  flex: 1;
}

.gift-option-title {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.gift-option-price {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gift-select-btn {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.gift-select-btn:hover {
  background-color: #27ae60;
}

.gift-select-btn.selected {
  background-color: #555;
  cursor: default;
}

.gift-select-btn.locked-btn,
.gift-select-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.gift-tier-card.locked .gift-select-btn {
  pointer-events: none;
}

.cart__gift-badge {
  margin-bottom: 10px;
}

.gift-oos-label {
  font-size: 12px;
  color: #dc3545;
  font-weight: 600;
}

.gift-error {
  padding: 12px;
  text-align: center;
  color: #dc3545;
}

.gift-error p {
  margin: 4px 0;
  font-size: 13px;
}

.gift-sku-display {
  font-size: 11px;
  color: #999;
  font-family: monospace;
}

.gift-error-state {
  opacity: 0.6;
  border: 1px dashed #dc3545 !important;
}

.loading-text {
  color: #666;
  font-size: 14px;
}

.gift-placeholder,
.gift-placeholder-small {
  padding: 20px;
  text-align: center;
}

@media (max-width: 1200px) {
  .gift-tier-system {
    padding: 16px;
  }
  
  .tier-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .gift-option-details {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .gift-select-btn {
    width: 100%;
  }
}

@keyframes slideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slideOut {
    from {
      transform: translateX(0);
      opacity: 1;
    }
    to {
      transform: translateX(100%);
      opacity: 0;
    }
  }


  /* Gift item styling */
.cart__item--gift {
  background-color: #f9fafb;
  border: 2px solid #10b981;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.cart__gift-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 8px;
  letter-spacing: 0.5px;
}

.cart__gift-info {
  margin-top: 4px;
  color: #6b7280;
  font-style: italic;
}

.cart__gift-qty {
  display: inline-block;
  padding: 8px 16px;
  background: #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
}

.cart__qty-fixed {
  display: block;
}

.cart__gift-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.cart__price--gift {
  color: #10b981;
  font-weight: 700;
  font-size: 18px;
}

.cart__price--original {
  color: #9ca3af;
  font-size: 13px;
}

.cart__remove--gift {
  color: #dc2626;
  font-weight: 600;
}

.cart__remove--gift:hover {
  color: #991b1b;
}

.gift-option.gift-slide {
  width: calc(100% - 40px);
  min-width: calc(100% - 40px);
  margin-right: 15px;
}

.gift-option.gift-slide.single-gift {
  width: 100%;
  min-width: 100%;
  margin-right: 15px;
}

/* Gift Slider Styles - Mobile Only */
@media screen and (max-width: 1200px) {
  .gift-slider-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .gift-choices.gift-slider {
    display: flex;
  }

  /* Flickity viewport */
  .gift-slider .flickity-viewport {
    overflow: visible !important; 
    position: relative;
  }

  /* Flickity slider track */
  .gift-slider .flickity-slider {
    display: flex;
    align-items: stretch;
  }

  /* Page dots */
  .gift-slider .flickity-page-dots {
    bottom: -30px;
  }

  .gift-slider .flickity-page-dots .dot {
    width: 8px;
    height: 8px;
    opacity: 0.3;
    background: #333;
    margin: 0 4px;
  }

  .gift-slider .flickity-page-dots .dot.is-selected {
    opacity: 1;
    background: #000;
  }
}

/* Desktop - Grid layout */
@media screen and (min-width: 1200px) {
  .gift-tier-system:not(.drawer) .gift-choices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .gift-tier-system:not(.drawer) .gift-option {
    width: 100%;
  }

  .gift-tier-system:not(.drawer) .gift-slider-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .gift-option {
    display: flex;
  } 
}

/* Gift Slider Styles */

/* Drawer: Always show slider at all resolutions */
.gift-tier-system.drawer .gift-slider-wrapper {
  width: 100%;
  overflow: hidden;
}

.gift-tier-system.drawer .gift-choices.gift-slider {
  display: flex;
  gap: 0;
}

/* Drawer specific styles */
.gift-tier-system.drawer {
  padding: 15px;
}

.gift-tier-system.drawer .gift-tier-card {
  margin-bottom: 20px;
}

.gift-tier-system.drawer .gift-option-image {
  max-width: 120px;
}

.gift-tier-system.drawer .gift-slider,
@media screen and (max-width: 1200px) {
  .gift-tier-system:not(.drawer) .gift-slider {
    overflow: visible;
  }
}

@media screen and (max-width: 480px) {
  .cart__drawer {
    width: 100%;
  }
}