/**
 * GELLIES CART POPUP STYLES
 * Styles pour le système de panier popup responsive
 * Compatible avec la charte graphique Gellies
 */

:root {
  --gc-overlay: rgba(46, 73, 106, 0.6);
  --gc-bg: #ffffff;
  --gc-border: #e7eef6;
  --gc-shadow: 0 20px 60px rgba(46, 73, 106, 0.15);
  --gc-primary: #74BDEE;
  --gc-secondary: #9DBDFF;
  --gc-success: #51B280;
  --gc-text: #27415e;
  --gc-text-light: #375371;
  --gc-radius: 16px;
  --gc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Very short viewports (e.g., high zoom or small screens) */
@media (max-height: 700px) {
  .gc-popup { max-height: 95vh; }
  .gc-actions { padding: 12px 16px 16px; }
}

/* ==================== OVERLAY & POPUP BASE ==================== */
.gc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gc-overlay);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px;
  transition: var(--gc-transition);
}

.gc-overlay.gc-visible {
  opacity: 1;
  visibility: visible;
}

/* Prevent body scroll when cart is open */
.po-cart-no-scroll {
  overflow: hidden;
}

.gc-popup {
  position: fixed;
  background: var(--gc-bg);
  border-radius: var(--gc-radius);
  box-shadow: var(--gc-shadow);
  z-index: 10001;
  font-family: 'Nunito', sans-serif;
  max-width: 440px;
  width: calc(100% - 32px);
  /* Use a tall viewport cap; content will scroll inside */
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--gc-transition);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
}

.gc-overlay.gc-visible .gc-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ==================== RESPONSIVE POSITIONING ==================== */
/* Desktop - à droite */
@media (min-width: 769px) {
  .gc-popup {
    top: 20px;
    right: 20px;
    bottom: auto;
    left: auto;
  }
}

/* Mobile - en bas */
@media (max-width: 768px) {
  .gc-overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }
  .gc-popup {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    transform: translateY(100%) scale(1);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-width: 100%;
    width: 100%;
    max-height: calc(90vh - env(safe-area-inset-bottom));
  }
  
  .gc-overlay.gc-visible .gc-popup {
    transform: translateY(0) scale(1);
  }
  
  /* Safe area for iOS */
  .gc-actions { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* ==================== HEADER ==================== */
.gc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 2px solid var(--gc-border);
  flex-shrink: 0;
}

.gc-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--gc-text);
}

.gc-close {
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f8fc;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gc-text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--gc-transition);
}

.gc-close:hover {
  background: var(--gc-primary);
  color: #fff;
  transform: scale(1.05);
}

/* ==================== CONTENT ==================== */
.gc-content {
  padding: 0;
  /* Let content take remaining space and scroll, so buttons stay visible */
  flex: 1;
  min-height: 0; /* required for flex children to allow scrolling */
  overflow-y: auto;
}

/* ==================== ITEMS ==================== */
.gc-items {
  padding: 16px 24px 0;
}

.gc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f4f8;
}

.gc-item:last-child {
  border-bottom: none;
}

.gc-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.gc-item-details {
  flex: 1;
  min-width: 0;
}

/* Badges under item title */
.gc-badges {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 9999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
}

.gc-badge-vet {
  background: #22647F; 
  color: #ffffff;      /* text and icon color */
}

.gc-badge-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex: 0 0 auto;
  fill: currentColor; /* ensure icon fills white */
}

.gc-badge-text { 
  color: #ffffff; 
}

.gc-item-name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gc-text);
  line-height: 1.3;
}

.gc-item-price {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--gc-primary);
}

.gc-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gc-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gc-border);
  background: #f9fbfd;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gc-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--gc-transition);
}

.gc-qty-btn:hover {
  border-color: var(--gc-primary);
  background: var(--gc-primary);
  color: #fff;
}

.gc-qty {
  font-size: 14px;
  font-weight: 700;
  color: var(--gc-text);
  min-width: 20px;
  text-align: center;
}

.gc-remove {
  width: 28px;
  height: 28px;
  border: none;
  background: #fef1f1;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--gc-transition);
  margin-left: 4px;
}

.gc-remove:hover {
  background: #fee;
  transform: scale(1.1);
}

/* ==================== INCENTIVE BAR ==================== */
.gc-incentive {
  margin: 16px 24px;
  padding: 16px;
  background: linear-gradient(135deg, #f0f9f4 0%, #e8f5ed 100%);
  border: 2px solid var(--gc-success);
  border-radius: 12px;
  transition: var(--gc-transition);
}

.gc-incentive-bar {
  width: 100%;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.gc-incentive-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gc-success), #3d8b5c);
  border-radius: 3px;
  transition: width 0.5s ease;
  width: 0%;
}

.gc-incentive-text {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #2d5a3d;
  line-height: 1.4;
}

.gc-incentive-success .gc-incentive-text {
  display: none !important;
}

.gc-incentive-success {
  background: linear-gradient(135deg, #e8f5ed 0%, #d4f2dc 100%);
  border-color: var(--gc-success);
  animation: gc-pulse 0.6s ease;
}

.gc-incentive-success .gc-incentive-progress {
  width: 100% !important;
}

.gc-incentive-success-text {
  display: none;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--gc-success);
  text-align: center;
}

.gc-incentive-success .gc-incentive-success-text {
  display: block !important;
}

@keyframes gc-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ==================== TOTALS ==================== */
.gc-total {
  padding: 16px 24px;
  border-top: 2px solid var(--gc-border);
}

.gc-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--gc-text-light);
}

.gc-total-line:last-child {
  margin-bottom: 0;
}

.gc-total-line.gc-final {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--gc-border);
  font-size: 16px;
  font-weight: 800;
  color: var(--gc-text);
}

.gc-shipping {
  font-size: 12px;
  opacity: 0.8;
}

/* Free shipping label appearance */
.gc-shipping--free {
  color: var(--gc-success);
  font-weight: 800;
  opacity: 1;
}

/* ==================== ACTIONS ==================== */
.gc-actions {
  padding: 16px 24px 24px;
  display: flex;
  gap: 12px;
  border-top: 2px solid var(--gc-border);
  flex-shrink: 0;
}

.gc-btn {
  flex: 1;
  height: 48px;
  border: none;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--gc-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gc-btn-secondary {
  background: #f5f8fc;
  color: var(--gc-text-light);
  border: 2px solid var(--gc-border);
}

.gc-btn-secondary:hover {
  background: #e7eef6;
  border-color: var(--gc-primary);
  color: var(--gc-text);
}

.gc-btn-primary {
  background: var(--gc-primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(116, 189, 238, 0.3);
}

.gc-btn-primary:hover {
  background: #5fa8e3;
  box-shadow: 0 8px 25px rgba(116, 189, 238, 0.4);
  transform: translateY(-1px);
}

/* Disabled state for all buttons (prevent double clicks) */
.gc-btn:disabled,
.gc-btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: none;
}

/* Inline spinner used inside primary button when submitting */
.gc-spinner {
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 50%;
  /* Arc spinner: only two quadrants visible for a clear motion */
  border: 2px solid transparent;
  border-top-color: #fff;
  border-right-color: #fff;
  animation: gc-spin 0.6s linear infinite;
}

@keyframes gc-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==================== MOBILE OPTIMIZATIONS ==================== */
@media (max-width: 768px) {
  .gc-header {
    padding: 16px 20px 12px;
  }
  
  .gc-items {
    padding: 12px 20px 0;
  }
  
  .gc-incentive {
    margin: 12px 20px;
    padding: 12px;
  }
  
  .gc-total {
    padding: 12px 20px;
  }
  
  .gc-actions {
    padding: 12px 20px 20px;
    flex-direction: column;
  }
  
  .gc-btn {
    height: 52px;
    font-size: 18px;
    padding: 0 20px;
  }
  
  .gc-item-name {
    font-size: 13px;
  }
  
  .gc-item-price {
    font-size: 12px;
  }

  .gc-badge { font-size: 10px; padding: 6px 10px; }
  .gc-badge-icon { width: 14px; height: 14px; }
  
  /* Boutons de contrôle plus grands sur mobile */
  .gc-qty-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .gc-remove {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .gc-close {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* ==================== PETITS MOBILES ==================== */
@media (max-width: 480px) {
  .gc-btn {
    height: 48px;
    font-size: 15px;
  }
  
  .gc-qty-btn {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  
  .gc-remove {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .gc-item-controls {
    gap: 6px;
  }

  .gc-badge { font-size: 10px; padding: 6px 10px; }
  .gc-badge-icon { width: 14px; height: 14px; }
  
  .gc-incentive {
    margin: 10px 16px;
    padding: 10px;
  }
  
  .gc-actions {
    padding: 10px 16px 16px;
    gap: 8px;
  }
}

/* ==================== CONFETTI CANVAS ==================== */
.gc-confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10001;
  display: none;
}

/* ==================== ANIMATIONS ==================== */
.gc-item {
  opacity: 0;
  transform: translateX(-10px);
  animation: gc-slide-in 0.3s ease forwards;
}

.gc-item:nth-child(1) { animation-delay: 0.1s; }
.gc-item:nth-child(2) { animation-delay: 0.2s; }
.gc-item:nth-child(3) { animation-delay: 0.3s; }
.gc-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes gc-slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==================== SCROLLBAR CUSTOM ==================== */
.gc-content::-webkit-scrollbar {
  width: 6px;
}

.gc-content::-webkit-scrollbar-track {
  background: #f9fbfd;
}

.gc-content::-webkit-scrollbar-thumb {
  background: var(--gc-border);
  border-radius: 3px;
}

.gc-content::-webkit-scrollbar-thumb:hover {
  background: var(--gc-primary);
}

/* ==================== EMPTY CART STATE ==================== */
.gc-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--gc-text-light);
}

.gc-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.gc-empty-text {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

/* ==================== FOCUS STATES ==================== */
.gc-close:focus,
.gc-qty-btn:focus,
.gc-remove:focus,
.gc-btn:focus {
  outline: 2px solid var(--gc-primary);
  outline-offset: 2px;
}

/* ==================== FLOATING CART FAB ==================== */
.gc-fab {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--gc-primary);
  box-shadow: 0 8px 25px rgba(46, 73, 106, 0.18), 0 4px 12px rgba(116, 189, 238, 0.12);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gc-fab--visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

/* Micro-pop on appear */
@keyframes gc-fab-pop { 
  0% { transform: scale(1); } 
  50% { transform: scale(1.08); } 
  100% { transform: scale(1); } 
}
.gc-fab--pop { 
  animation: gc-fab-pop 250ms cubic-bezier(0.34, 1.56, 0.64, 1); 
}

/* Hover/focus: slight elevation and subtle color change */
.gc-fab:hover {
  background: #f8fbff;
  box-shadow: 0 8px 25px rgba(46, 73, 106, 0.2), 0 4px 12px rgba(116, 189, 238, 0.15);
  transform: scale(1.05) translateY(-1px);
}

.gc-fab:focus-visible {
  outline: 2px solid var(--gc-primary);
  outline-offset: 2px;
  box-shadow: 0 8px 25px rgba(46, 73, 106, 0.2), 0 4px 12px rgba(116, 189, 238, 0.15);
}

.gc-fab:active {
  transform: scale(0.98);
  transition: transform 100ms ease;
}

/* Icon */
.gc-fab-icon { 
  display: flex; 
  align-items: center;
  justify-content: center;
  line-height: 0; 
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.gc-fab-icon svg {
  width: 24px;
  height: 24px;
}

/* Label (desktop pill only; text color darker for readability) */
.gc-fab-label { 
  display: inline-block; 
  font-family: 'Nunito', sans-serif;
  font-weight: 700; 
  font-size: 16px;
  color: var(--gc-text); 
  white-space: nowrap; 
  line-height: 1;
}

/* Quantity badge */
.gc-fab-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 10px;
  background: var(--gc-primary);
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 8px rgba(116, 189, 238, 0.4);
  pointer-events: none;
  z-index: 1;
}

@keyframes gc-badge-bump { 
  0% { transform: scale(1); } 
  50% { transform: scale(1.2); } 
  100% { transform: scale(1); } 
}
.gc-fab-badge--bump { 
  animation: gc-badge-bump 300ms cubic-bezier(0.34, 1.56, 0.64, 1); 
}

/* Desktop safe margins and pill mode */
@media (min-width: 769px) {
  .gc-fab {
    bottom: calc(32px + env(safe-area-inset-bottom));
    right: 32px;
    width: 64px;
    height: 64px;
    border-radius: 50%; /* Cercle parfait sur desktop */
  }
  
  .gc-fab.gc-fab--pill {
    border-radius: 32px;
    width: auto;
    height: 64px;
    padding: 0 20px 0 16px;
    gap: 10px;
  }
  
  .gc-fab.gc-fab--pill .gc-fab-icon {
    position: relative;
    width: 24px;
    height: 24px;
  }
  
  .gc-fab-badge {
    top: -8px;
    right: -8px;
    min-width: 22px;
    height: 22px;
    font-size: 12px;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .gc-fab {
    width: 58px;
    height: 58px;
    border-radius: 18px; /* Plus carré-arrondi sur mobile */
    bottom: calc(18px + env(safe-area-inset-bottom));
    right: 18px;
    box-shadow: 0 6px 20px rgba(46, 73, 106, 0.25), 0 3px 10px rgba(116, 189, 238, 0.15);
  }
  
  .gc-fab-icon svg {
    width: 26px;
    height: 26px;
  }
  
  .gc-fab-badge {
    font-size: 11px;
    min-width: 20px;
    height: 20px;
    top: -8px;
    right: -8px;
  }
}

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
  .gc-fab { transition: none; transform: none; }
  .gc-fab--pop { animation: none; }
  .gc-fab-badge--bump { animation: none; }
}

/* ==================== STICKY ADD TO CART (LANDING) ==================== */
.sticky-atc {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(46, 73, 106, 0.15);
  padding: 16px 20px;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  border-top: 1px solid rgba(46, 73, 106, 0.1);
}

.sticky-atc.visible {
  transform: translateY(0);
}

.sticky-atc-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-atc-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-atc-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: none;
}

.sticky-atc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticky-atc-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sticky-atc-title {
  font-weight: 700;
  font-size: 16px;
  color: #2E496A;
  margin: 0;
  line-height: 1.2;
}

.sticky-atc-price {
  font-weight: 700;
  font-size: 20px;
  color: #74BDEE;
  margin: 0;
}

.sticky-atc-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-atc-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F7FAFC;
  border: 1.5px solid #D7E3F2;
  border-radius: 8px;
  padding: 8px 12px;
}

.sticky-atc-qty-btn {
  background: #ffffff;
  border: 1.5px solid #D7E3F2;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  font-weight: 900;
  color: #2E496A;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.sticky-atc-qty-btn:hover {
  background: #74BDEE;
  border-color: #74BDEE;
  color: #ffffff;
}

.sticky-atc-qty-value {
  font-weight: 700;
  font-size: 16px;
  color: #2E496A;
  min-width: 24px;
  text-align: center;
}

.sticky-atc-button {
  background: linear-gradient(135deg, #74BDEE 0%, #5AA3D9 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(116, 189, 238, 0.3);
}

.sticky-atc-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(116, 189, 238, 0.4);
}

.sticky-atc-button:active {
  transform: translateY(0);
}

.sticky-atc-button-plus {
  font-size: 20px;
  line-height: 1;
}

@media (min-width: 769px) {
  .sticky-atc-image { display: block; }
  .sticky-atc-title { font-size: 18px; }
  .sticky-atc-button-text-mobile { display: none; }
}

@media (max-width: 768px) {
  .sticky-atc {
    padding: 14px 16px;
    min-height: 80px;
  }

  .sticky-atc-container {
    gap: 12px;
    align-items: center;
  }

  .sticky-atc-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .sticky-atc-image {
    display: block !important;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
  }

  .sticky-atc-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .sticky-atc-title {
    display: none;
  }

  .sticky-atc-price {
    display: block !important;
    font-size: 19px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
  }

  .sticky-atc-actions {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
  }

  .sticky-atc-qty {
    display: none;
  }

  .sticky-atc-qty-btn {
    width: 38px;
    height: 38px;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sticky-atc-qty-value {
    font-size: 17px;
    min-width: 32px;
    justify-content: center;
  }

  .sticky-atc-button {
    flex: 1;
    width: 100%;
    padding: 10px 24px;
    font-size: 18px;
    font-weight: 900;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sticky-atc-button-text {
    display: none;
  }

  .sticky-atc-button-text-mobile {
    display: inline;
  }

  .sticky-atc-button-plus {
    margin-right: 6px;
    font-size: 18px;
    font-weight: 900;
  }
}

@media (max-width: 480px) {
  .sticky-atc {
    padding: 10px 12px;
    min-height: 70px;
  }

  .sticky-atc-container {
    gap: 8px;
  }

  .sticky-atc-image {
    width: 46px;
    height: 46px;
  }

  .sticky-atc-price {
    font-size: 17px;
  }

  .sticky-atc-actions {
    gap: 8px;
  }

  .sticky-atc-qty {
    padding: 6px;
    gap: 6px;
  }

  .sticky-atc-qty-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .sticky-atc-qty-value {
    font-size: 15px;
    min-width: 28px;
    text-align: center;
  }

  .sticky-atc-button {
    padding: 8px 20px;
    font-size: 16px;
    height: 40px;
  }

  .sticky-atc-button-text-mobile {
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
  }

  .sticky-atc-button-plus {
    margin-right: 5px;
    font-size: 16px;
    font-weight: 900;
  }
}
