/* Custom Styles for Ông Anh Mê Công Nghệ Store */
:root {
  --primary: #d70018;
  --primary-hover: #c00a15;
  --primary-dark: #9f0811;
  --dark: #181b20;
  --dark-light: #242830;
  --accent-red: #d70018;
  --accent-green: #22c55e;
  --gray-bg: #f8fafc;
}

body {
  font-family: 'Arimo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings font: Quicksand */
h1, h2, h3, h4, h5, h6,
.font-heading,
.heading-font {
  font-family: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

/* Button & Pill styles */
.btn-yellow,
.btn-primary-red {
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
}
.btn-yellow:hover,
.btn-primary-red:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(215, 0, 24, 0.35);
}

.btn-dark-pill {
  background-color: var(--dark);
  color: #ffffff;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.2s ease-in-out;
}
.btn-dark-pill:hover {
  background-color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Simple Phlox Product Cards */
.product-card,
.product-card-simple {
  border-radius: 28px !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  background-color: #ffffff;
}

.product-card:hover,
.product-card-simple:hover {
  transform: translateY(-5px);
  border-color: #d1d5db !important;
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
}


/* Category Circle Animation */
.category-circle-item {
  transition: all 0.2s ease;
}
.category-circle-item:hover .icon-circle {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(254, 215, 0, 0.25);
  border-color: var(--primary);
}

/* Badge animations */
.badge-pulse {
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.05);
  }
}

/* Image zoom effect */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom {
  transition: transform 0.4s ease;
}
.product-card:hover .img-zoom,
.product-card-simple:hover .img-zoom,
.banner-card:hover .img-zoom {
  transform: scale(1.06);
}

/* Toast styling */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 280px;
  background: white;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease-out forwards;
  transition: all 0.3s ease;
}
.toast.hide {
  opacity: 0;
  transform: translateX(100%);
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Slide Drawer */
.cart-drawer-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
}
.cart-drawer {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Flip countdown numbers */
.timer-box {
  background-color: #f1f5f9;
  border-radius: 6px;
  font-weight: 700;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== HERO SECTION STYLES ==================== */
.hero-slide {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.hero-dot {
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

/* Category menu item arrow nudge on hover */
#hero-section ul li a:hover i.fa-chevron-right {
  transform: translateX(3px);
  color: #d70018;
}
#hero-section ul li a i.fa-chevron-right {
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Right featured card styling */
.hero-featured-card {
  border-color: #d70018;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.hero-featured-card:hover {
  box-shadow: 0 10px 30px -8px rgba(215, 0, 24, 0.22);
}

/* ==================== MODERN TECH CATEGORY CARDS ==================== */
.tech-cat-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.tech-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 30px -10px rgba(15, 23, 42, 0.1), 0 8px 16px -8px rgba(49, 201, 192, 0.15);
}

.tech-cat-card:active {
  transform: translateY(-2px);
}

/* ==================== 1500PX LAYOUT WIDTH ==================== */
.max-w-\[1500px\],
main {
  max-width: 1500px !important;
}



