/* Custom styles for Shop BCS Okie Men - Okiemen.com */
:root {
  --primary: #D70018;
  --primary-dark: #b50014;
  --primary-light: #fff0f1;
  --secondary: #FFD391;
  --accent: #0052f5;
  --dark: #1f2937;
  --gray-bg: #f8fafc;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f4f6f8;
  color: #333333;
}

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

/* Header marquee text */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

/* Product Card Enhancements */
.product-card {
  transition: all 0.25s ease-in-out;
  border: 1px solid #eef0f3;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(215, 0, 24, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  border-color: #ffd2d6;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  background-color: #fff;
}
.product-image-wrap img {
  transition: transform 0.35s ease;
}
.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

/* Pulse animation for hot badges */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.pulse-badge {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Floating contact buttons */
.floating-contact-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  position: relative;
}
.floating-contact-btn:hover {
  transform: scale(1.1);
}

.floating-contact-btn.zalo {
  background: #0088ff;
}
.floating-contact-btn.phone {
  background: #22c55e;
}
.floating-contact-btn.cart {
  background: var(--primary);
}

/* Ripple effect */
.btn-ripple {
  position: relative;
}
.btn-ripple::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: ripple 1.8s infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Modal Backdrop & Animation */
.modal-backdrop {
  backdrop-filter: blur(4px);
  background-color: rgba(15, 23, 42, 0.65);
}
.modal-content-anim {
  animation: modalEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Flash sale banner background */
.flash-sale-gradient {
  background: linear-gradient(135deg, #d70018 0%, #ff4b2b 100%);
}

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

/* Toast Notification */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast-item {
  animation: toastSlide 0.3s ease-out;
}
@keyframes toastSlide {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}
