/* ==========================================================================
   Giftory Theme Stylesheet — Inspired by Unimart
   ========================================================================== */

:root {
  --primary-color: #215ada;
  --primary-hover: #163d94;
  --primary-light: #eaf0fc;
  --primary-50: #f4f7fd;
  --secondary-color: #0e1932;
  --accent-color: #ff4c1a;
  --accent-hover: #e03b0d;
  --accent-light: #fff0ec;
  --text-dark: #000000;
  --text-body: #555555;
  --text-muted: #888888;
  --body-bg: #fdfdfd;
  --card-bg: #ffffff;
  --border-color: #e6e9f0;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 10px;
  --border-radius-pill: 50px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(33,90,218,0.08);
  --shadow-lg: 0 16px 40px rgba(14,25,50,0.1);
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--body-bg);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Top Notification Promo Bar
   ========================================================================== */
.top-promo-bar {
  background-color: var(--primary-color);
  font-size: 13.5px;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  z-index: 1020;
}

.site-logo {
  font-family: var(--font-main);
}
.logo-icon {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3066e0 100%);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(33,90,218,0.3);
}

.btn-shop-categories {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}
.btn-shop-categories:hover, .btn-shop-categories:focus {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: var(--primary-50);
}

.dropdown-menu-custom {
  min-width: 240px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.dropdown-menu-custom .dropdown-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: background 0.2s, padding-left 0.2s;
}
.dropdown-menu-custom .dropdown-item:hover {
  background-color: var(--primary-50);
  color: var(--primary-color);
  padding-left: 1.25rem !important;
}

.main-nav-links .nav-item-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  padding: 6px 0;
  position: relative;
}
.main-nav-links .nav-item-link:hover,
.main-nav-links .nav-item-link.active {
  color: var(--primary-color);
}
.main-nav-links .nav-item-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.search-box-wrapper {
  width: 200px;
  transition: width 0.3s ease;
}
.search-box-wrapper:focus-within {
  width: 260px;
}
.search-input {
  font-size: 13.5px;
  background-color: #f6f7fa;
  border: 1px solid transparent;
  padding-top: 8px;
  padding-bottom: 8px;
}
.search-input:focus {
  background-color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(33,90,218,0.12);
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f6f7fa;
  color: var(--text-dark);
  border: none;
  transition: all 0.2s ease;
}
.icon-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.badge-count {
  position: absolute;
  top: -2px;
  right: -4px;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.badge-orange {
  background-color: var(--accent-color);
}

/* ==========================================================================
   Hero Section (Unimart Big Rounded Banner with Side Dots & Navigation)
   ========================================================================== */
.hero-wrapper {
  padding: 15px 0 35px;
}

.hero-main-card {
  background-color: #e5e7eb;
  background: linear-gradient(135deg, #e9ecef 0%, #e2e6ea 50%, #dde2e6 100%);
  border-radius: 28px;
  min-height: 480px;
  position: relative;
  overflow: visible; /* allows cutouts to extend seamlessly if needed */
  display: block;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  min-height: 480px;
  border-radius: 28px;
  overflow: hidden;
}

.hero-slide {
  display: none;
  width: 100%;
  min-height: 480px;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active {
  display: block;
  opacity: 1;
}

/* Left Vertical Navigation Dots Tab */
.hero-side-dots {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
  background-color: #ffffff;
  padding: 18px 10px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background-color: var(--primary-color, #215ada);
  box-shadow: 0 0 0 4px rgba(33, 90, 218, 0.2);
  transform: scale(1.25);
}

.hero-tagline {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: calc(2rem + 1.4vw);
  font-weight: 700;
  line-height: 1.22;
  color: #111827;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero-price-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.hero-old-price {
  font-size: 1.15rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.hero-sale-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color, #215ada);
}

.hero-discount-pill {
  background-color: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-btn-buy {
  background-color: var(--primary-color, #215ada);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 28px;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(33, 90, 218, 0.35);
}

.hero-btn-buy:hover {
  background-color: var(--primary-hover, #163d94);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(33, 90, 218, 0.45);
}

.hero-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-product-img {
  max-height: 380px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.hero-main-card:hover .hero-product-img {
  transform: scale(1.03);
}

/* Bottom-Right Navigation Arrows Tab */
.hero-nav-arrows {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  background-color: #ffffff;
  padding: 12px 18px;
  border-top-left-radius: 24px;
  border-bottom-right-radius: 28px;
  box-shadow: -3px -3px 15px rgba(0, 0, 0, 0.04);
}

.hero-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #c7d2fe;
  color: var(--primary-color, #215ada);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-arrow-btn:hover {
  background-color: var(--primary-color, #215ada);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: var(--border-radius-pill);
  transition: all 0.25s ease;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  box-shadow: 0 8px 20px rgba(33,90,218,0.35);
  transform: translateY(-2px);
}

.btn-secondary-dark {
  background-color: var(--secondary-color);
  color: #ffffff;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
}
.btn-secondary-dark:hover {
  background-color: #1a2c56;
  color: #ffffff;
}

.btn-light-pill {
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--border-radius-pill);
  padding: 8px 20px;
  border: none;
}
.btn-light-pill:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* ==========================================================================
   Popular by Categories (Image 1 Style)
   ========================================================================== */
.section-subtitle {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary-color);
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.category-slider-card {
  display: block;
  text-decoration: none;
  color: var(--text-dark);
}
.category-img-box {
  position: relative;
  background-color: #f2f5f9;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}
.category-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-slider-card:hover .category-img-box img {
  transform: scale(1.08);
}

/* Floating Hover Arrow Circle (Image 1) */
.category-hover-arrow {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(33,90,218,0.4);
  transform: scale(0.85);
  opacity: 0;
  transition: all 0.3s ease;
}
.category-slider-card:hover .category-hover-arrow {
  opacity: 1;
  transform: scale(1);
}

.category-name-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  margin-top: 12px;
  transition: color 0.2s ease;
}
.category-slider-card:hover .category-name-label {
  color: var(--primary-color);
}

/* ==========================================================================
   Shop Category Grid (Image 3 Style)
   ========================================================================== */
.category-hero-banner {
  background: linear-gradient(rgba(14,25,50,0.65), rgba(14,25,50,0.65)), url('https://images.unsplash.com/photo-1513519245088-0e12902e5a38?w=1600&auto=format&fit=crop&q=80') center/cover;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-radius: 0 0 32px 32px;
  margin-bottom: 50px;
}

.cat-circle-card {
  background-color: #eaf0fc;
  border-radius: 20px;
  padding: 35px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #dce6f9;
  display: block;
  text-decoration: none;
}
.cat-circle-card:hover {
  transform: translateY(-8px);
  background-color: #dfe9fa;
  box-shadow: var(--shadow-md);
}
.cat-circle-thumb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: #ffffff;
  margin: 0 auto 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}
.cat-circle-card:hover .cat-circle-thumb {
  transform: scale(1.06);
}
.cat-circle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Product Cards
   ========================================================================== */
.product-card {
  background-color: #ffffff;
  border-radius: 18px;
  border: 1px solid #e8eef8;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  box-shadow: 0 2px 8px rgba(14,25,50,0.03);
}
.product-card:hover {
  border-color: #c4d7fa;
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(33,90,218,0.12);
}

.product-img-wrapper {
  position: relative;
  background-color: #f7f9fd;
  height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}

.product-badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ff4c1a 0%, #ff6b3d 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(255,76,26,0.3);
  z-index: 2;
}

.product-btn-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  z-index: 2;
}
.product-btn-wishlist:hover {
  background-color: #ffeae5;
  color: #ff4c1a;
  border-color: #ff4c1a;
  transform: scale(1.1);
}

.product-content {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat-name {
  font-size: 11px;
  font-weight: 600;
  color: #7b8ea8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.product-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
.product-title a:hover {
  color: var(--primary-color);
}

.product-price-row {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.product-curr-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
}
.product-old-price {
  font-size: 0.85rem;
  color: #8fa0b5;
  text-decoration: line-through;
}

.btn-add-to-cart {
  background-color: #eef3fc;
  color: var(--primary-color);
  border: 1px solid #d8e5f8;
  font-weight: 600;
  font-size: 13.5px;
  border-radius: var(--border-radius-pill);
  padding: 9px 16px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-add-to-cart:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 6px 16px rgba(33,90,218,0.28);
  transform: translateY(-1px);
}

/* ==========================================================================
   Deal / Promo Highlight Section
   ========================================================================== */
.deal-card {
  background: linear-gradient(135deg, #0e1932 0%, #162a56 100%);
  border-radius: 28px;
  color: #ffffff;
  padding: 50px;
  position: relative;
  overflow: hidden;
}
.deal-timer-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 70px;
  text-align: center;
}
.deal-timer-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
}
.deal-timer-lbl {
  font-size: 11px;
  text-transform: uppercase;
  color: #a0aec0;
}

/* ==========================================================================
   Feature Highlights Bar
   ========================================================================== */
.feature-item {
  padding: 24px 20px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: #c4d7fa;
}
.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0e1932;
  color: #9aa9c3;
  padding-top: 70px;
  margin-top: 80px;
}
.footer-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 22px;
}
.footer-links a {
  color: #9aa9c3;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 50px;
  font-size: 13.5px;
}
.social-link-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.social-link-circle:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
}

/* SweetAlert2 Modal Theme (Giftory Royal Blue Theme) */
.giftory-swal-popup {
  border-radius: 24px !important;
  padding: 36px 30px !important;
  font-family: 'Poppins', sans-serif !important;
  box-shadow: 0 25px 60px rgba(14, 25, 50, 0.22) !important;
  border: 1px solid #eef1f6 !important;
}
.giftory-swal-confirm {
  border-radius: 50px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  box-shadow: 0 4px 15px rgba(255, 76, 26, 0.3) !important;
}
.giftory-swal-cancel {
  border-radius: 50px !important;
  padding: 12px 26px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  background-color: #f1f4fa !important;
  color: #516282 !important;
  border: 1px solid #dce4f2 !important;
}
.giftory-swal-cancel:hover {
  background-color: #e2e8f5 !important;
  color: #0e1932 !important;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & TOOLTIP
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}
.floating-whatsapp-btn:hover {
  color: #ffffff;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #0e1932;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   GIFT FINDER & OCCASION CARDS
   ========================================================================== */
.gift-finder-card {
  background: linear-gradient(135deg, #0e1932 0%, #1e3a8a 100%);
  border-radius: 24px;
  color: #ffffff;
  padding: 40px 30px;
  box-shadow: 0 20px 45px rgba(14, 25, 50, 0.2);
}
.finder-option-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.finder-option-btn:hover, .finder-option-btn.active {
  background: #ff4c1a;
  border-color: #ff4c1a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 76, 26, 0.4);
}

.occasion-pill-card {
  background: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 20px;
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  color: #2c3e50;
  display: block;
}
.occasion-pill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(33, 90, 218, 0.12);
  border-color: #c8d8f8;
  color: #215ada;
}
.occasion-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.3s ease;
}
.occasion-pill-card:hover .occasion-icon-wrap {
  transform: scale(1.15) rotate(5deg);
}

/* ==========================================================================
   ORDER TRACKING TIMELINE
   ========================================================================== */
.order-tracking-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0 20px;
}
.order-tracking-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 30px;
  right: 30px;
  height: 4px;
  background: #e2e8f0;
  z-index: 1;
}
.tracking-step {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 20%;
}
.tracking-step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 18px;
  transition: all 0.3s ease;
}
.tracking-step.completed .tracking-step-icon {
  background: #22c55e;
  border-color: #22c55e;
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.2);
}
.tracking-step.current .tracking-step-icon {
  background: #215ada;
  border-color: #215ada;
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(33, 90, 218, 0.25);
  animation: pulseTracking 2s infinite;
}
@keyframes pulseTracking {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.tracking-step-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.tracking-step.completed .tracking-step-label,
.tracking-step.current .tracking-step-label {
  color: #0f172a;
}

/* ==========================================================================
   SMOOTH PRODUCT CARD IMAGE HOVER TRANSITION
   ========================================================================== */
.product-img-box {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

.product-primary-img,
.product-hover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.25, 1, 0.5, 1) !important;
  will-change: opacity, transform;
}

.product-primary-img {
  position: relative;
  z-index: 1;
  opacity: 1;
}

.product-hover-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

/* On hover of card or image wrapper: smooth crossfade and subtle premium zoom */
.product-card:hover .product-primary-img,
.card:hover .product-primary-img,
.product-img-wrapper:hover .product-primary-img,
.position-relative:hover > a .product-primary-img {
  transform: scale(1.06);
}

.product-card:hover .product-hover-img,
.card:hover .product-hover-img,
.product-img-wrapper:hover .product-hover-img,
.position-relative:hover > a .product-hover-img {
  opacity: 1;
  transform: scale(1.06);
}

/* When has hover image, optionally dim primary slightly for perfect blending */
.has-hover-img:hover .product-primary-img {
  opacity: 0.15;
}

