@charset "UTF-8";
/* Gratis.ba V2 - Modern E-Commerce Stylesheet */

:root {
  --color-primary: #0f3b7d;
  --color-primary-light: #2563eb;
  --color-brand-green: #059669;
  --color-brand-amber: #d97706;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Hide scrollbar utility */
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-none::-webkit-scrollbar {
  display: none;
}


/* Pulse animation for urgency badges */
@keyframes pulse-subtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.025);
  }
}
.animate-pulse-subtle {
  animation: pulse-subtle 2.2s infinite ease-in-out;
}

/* Explicit z-index utility support */
.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-25 { z-index: 25 !important; }
.z-30 { z-index: 30 !important; }
.z-40 { z-index: 40 !important; }
.z-50 { z-index: 50 !important; }

/* Glassmorphism */
.glass-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Bundle Selector Card Styling */
.bundle-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}
.bundle-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
}
.bundle-card.selected {
  border-color: #2563eb;
  background-color: #eff6ff;
  box-shadow: 0 4px 20px -2px rgba(37, 99, 235, 0.15);
}

/* Custom Radio Dot */
.custom-radio {
  width: 22px;
  height: 22px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.bundle-card.selected .custom-radio {
  border-color: #2563eb;
}
.bundle-card.selected .custom-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #2563eb;
}

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Fade in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

/* Drawer transitions */
#cartDrawer {
  transition: visibility 0.3s ease-in-out;
}
#cartDrawerPanel {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sticky Bottom Bar on Mobile */
.mobile-sticky-bar {
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

/* Autocomplete Dropdown Styling */
.autocomplete-container {
  position: relative;
  width: 100%;
}
.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  max-height: 230px;
  overflow-y: auto;
  display: none;
}
.autocomplete-suggestions.suggestions-dropup {
  top: auto !important;
  bottom: 100% !important;
  border-top: 1px solid #cbd5e1 !important;
  border-bottom: none !important;
  border-radius: 16px 16px 0 0 !important;
  box-shadow: 0 -12px 28px -4px rgba(0, 0, 0, 0.14), 0 -8px 10px -6px rgba(0, 0, 0, 0.08) !important;
}
.autocomplete-suggestion {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.autocomplete-suggestion:last-child {
  border-bottom: none;
}
.autocomplete-suggestion:hover,
.autocomplete-suggestion.highlighted {
  background-color: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}
.autocomplete-suggestion .suggestion-zip {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background-color: #ecfdf5;
  padding: 2px 7px;
  border-radius: 6px;
}
.autocomplete-loading {
  padding: 12px 14px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
  font-style: italic;
}

/* Upsell Card Image Slider & Navigation */
.upsell-img-slider {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.upsell-img-slider::-webkit-scrollbar {
  display: none !important;
}
.upsell-slide-item {
  flex: 0 0 100% !important;
  width: 100% !important;
  height: 100% !important;
  scroll-snap-align: center !important;
  scroll-snap-stop: always !important;
}
.upsell-arrow-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 9999px !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #1e293b !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 25 !important;
  padding: 0 !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
}
.upsell-arrow-btn:hover {
  background-color: #ffffff !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}
.upsell-arrow-btn:active {
  transform: translateY(-50%) scale(0.95) !important;
}
.upsell-arrow-prev {
  left: 6px !important;
  right: auto !important;
}
.upsell-arrow-next {
  right: 6px !important;
  left: auto !important;
}
.upsell-dots-wrap {
  position: absolute !important;
  bottom: 8px !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  z-index: 25 !important;
  pointer-events: auto !important;
}
.upsell-dots-wrap button {
  height: 6px !important;
  border-radius: 9999px !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}
.upsell-dots-wrap button.active {
  width: 16px !important;
  background-color: #2563eb !important;
}
.upsell-dots-wrap button.inactive {
  width: 6px !important;
  background-color: rgba(203, 213, 225, 0.85) !important;
}
.upsell-dots-wrap button.inactive:hover {
  background-color: #94a3b8 !important;
}



/* Hide scrollbars on horizontal scrollers (used on homepage sliders / chips) */
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ================= FLOATING RECENT SALES TOAST ================= */
#recentSalesToast {
  position: fixed !important;
  top: 104px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 45;
  max-width: 270px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
@media (min-width: 640px) {
  #recentSalesToast {
    top: 100px !important;
    right: 20px !important;
    max-width: 320px;
  }
}

