/* ================================================
   TOMBASE.CSS - Base styles for shop
   All inline styles consolidated here
   ================================================ */

/* =======================
   Base
   ======================= */
body {
  font-family: "Roboto", sans-serif;
}

/* =======================
   SweetAlert2
   ======================= */
.swal2-container {
  z-index: 20000 !important;
}

/* =======================
   Button Effects
   ======================= */
.btnGlow {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.btnPulseBorder {
  animation: pulseBorderSoft 2s ease-in-out infinite;
}

@keyframes pulseBorderSoft {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.20), 0 0 8px 2px rgba(99, 102, 241, 0.12);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 0 18px 8px rgba(99, 102, 241, 0.18), 0 0 30px 14px rgba(168, 85, 247, 0.12);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.20), 0 0 8px 2px rgba(99, 102, 241, 0.12);
  }
}

.borderFlashOrange {
  animation: flashBorderOrange 1.4s ease-in-out infinite;
}

@keyframes flashBorderOrange {
  0% {
    box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.0), 0 0 6px 2px rgba(251, 146, 60, 0.25);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.35), 0 0 18px 8px rgba(251, 146, 60, 0.45), 0 0 30px 14px rgba(255, 120, 0, 0.25);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.0), 0 0 6px 2px rgba(251, 146, 60, 0.25);
  }
}

/* =======================
   Floating Icons
   ======================= */
.float-icons-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  pointer-events: none;
  z-index: 9999;
}

.float-icon {
  position: fixed;
  pointer-events: auto;
}

.float-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #fff;
}

.float-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =======================
   Bonus Modal
   ======================= */
#bonusFloatIcon {
  position: fixed;
  left: 16px;
  bottom: 80px;
  z-index: 9998;
  width: 156px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

#bonusFloatIcon:hover {
  transform: scale(1.05);
}

#bonusFloatIcon i {
  font-size: 1.5rem;
}

#bonusFloatClose {
  position: absolute;
  top: -6px;
  right: -50px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#bonusModalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
}

#bonusModalOverlay.show {
  display: flex;
}

#bonusModal {
  background: #fff;
  border-radius: 1rem;
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#bonusModal .bonus-header {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#bonusModal .bonus-header .title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}

#bonusModal .bonus-close {
  background: transparent;
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

#bonusModal .bonus-body {
  padding: 1.25rem;
}

#bonusModal .bonus-body p {
  color: #374151;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

#bonusModal .bonus-options {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

#bonusModal .bonus-option {
  flex: 1;
  min-width: 100px;
  padding: 1rem 0.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #f9fafb;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

#bonusModal .bonus-option:hover {
  border-color: #a5b4fc;
  background: #eef2ff;
}

#bonusModal .bonus-option.selected {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

#bonusModal .bonus-option .icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

#bonusModal .bonus-option .icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#bonusModal .bonus-option .label {
  font-weight: 600;
  font-size: 0.9rem;
}

#bonusModal .bonus-btns {
  display: flex;
  gap: 0.75rem;
}

#bonusModal .bonus-btns button {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

#bonusModal .bonus-btns .btn-cancel {
  background: #4b5563;
  color: #fff;
}

#bonusModal .bonus-btns .btn-confirm {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: #fff;
}

#bonusModal .bonus-btns button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#bonusModal .bonus-turns {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* =======================
   Horizontal Scroll List
   ======================= */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}


