/* ==========================================================================
   ShopShudo E-Commerce Platform - Design System & Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-red: #e6193c;
  --primary-red-hover: #c41230;
  --primary-navy: #1b2a4a;
  --primary-navy-dark: #0f192e;
  --primary-navy-light: #283e6b;
  --accent-gold: #ffb800;
  --accent-green: #10b981;
  --accent-pink: #e02585;
  --bg-light: #f4f6fa;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.06);
  --shadow-md: 0 4px 16px rgba(27, 42, 74, 0.1);
  --shadow-lg: 0 10px 30px rgba(27, 42, 74, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s ease-in-out;
}

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

body {
  font-family: 'Hind Siliguri', 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Top Utility Bar & Main Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
}

.top-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-red), #ff4d6d);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(230, 25, 60, 0.3);
}

.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--primary-red);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.search-box {
  flex: 1;
  max-width: 650px;
  position: relative;
}

.search-form {
  display: flex;
  width: 100%;
  border: 2px solid var(--primary-red, #e6193c);
  border-radius: 25px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 16px -2px rgba(230, 25, 60, 0.12);
  transition: all 0.25s ease;
}

.search-form:focus-within {
  box-shadow: 0 6px 20px -2px rgba(230, 25, 60, 0.25);
  border-color: #dc2626;
}

.search-category-select {
  border: none;
  background: #f8fafc;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-navy, #1b2a4a);
  outline: none;
  border-right: 1px solid #e2e8f0;
  cursor: pointer;
  max-width: 150px;
}

.search-category-select:hover {
  background: #f1f5f9;
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}

.search-input {
  width: 100%;
  height: 42px;
  padding: 0 18px;
  border: none;
  font-size: 13.5px;
  color: var(--primary-navy, #1b2a4a);
  outline: none;
  background: transparent;
}

.search-btn {
  height: 42px;
  padding: 0 22px;
  background: linear-gradient(135deg, #e6193c, #f43f5e);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-btn:hover {
  background: linear-gradient(135deg, #dc2626, #e6193c);
}

.search-btn i {
  font-size: 14px;
}

/* Popular Search Suggestions Dropdown */
.search-suggestions-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.15);
  padding: 14px 18px;
  z-index: 999;
  display: none;
}

.search-box:focus-within .search-suggestions-box {
  display: block;
  animation: fadeIn 0.25s ease;
}

.suggestions-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
}

.suggestions-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suggestion-tag {
  background: #f1f5f9;
  color: var(--primary-navy, #1b2a4a);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
}

.suggestion-tag:hover {
  background: var(--primary-red, #e6193c);
  color: #ffffff;
  border-color: var(--primary-red, #e6193c);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.header-action-btn:hover {
  background-color: rgba(27, 42, 74, 0.05);
}

.action-icon-wrap {
  position: relative;
  font-size: 24px;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--primary-red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Shop Page Layout & Filter Sidebar --- */
.shop-layout-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.shop-filter-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

/* --- Native Mobile App Navigation Bar --- */
.main-nav-bar {
  background-color: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.all-categories-btn {
  background-color: var(--primary-red);
  color: white;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: none;
  width: 260px;
  justify-content: space-between;
  transition: var(--transition);
}

.all-categories-btn:hover {
  background-color: var(--primary-red-hover);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link-item {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  position: relative;
}

.nav-link-item:hover, .nav-link-item.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-link-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-red);
}

.right-nav-info {
  color: white;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- Hero Section & Sidebar Grid --- */
.hero-section {
  padding: 16px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
}

.category-sidebar {
  background-color: var(--bg-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: var(--primary-navy, #1b2a4a);
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}

.sidebar-menu-item:last-child {
  border-bottom: none;
}

.sidebar-menu-item:hover {
  background-color: #fff0f3;
  color: var(--primary-red, #e6193c);
  padding-left: 18px;
}

.sidebar-left-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.sidebar-icon-box i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  text-align: center;
}

.sidebar-menu-item:hover .sidebar-icon-box {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.sidebar-arrow-icon {
  font-size: 11px;
  color: #cbd5e1;
  transition: all 0.25s ease;
}

.sidebar-menu-item:hover .sidebar-arrow-icon {
  color: var(--primary-red, #e6193c);
  transform: translateX(3px);
}

.sidebar-menu-item:hover .sidebar-icon {
  background-color: var(--primary-red, #e6193c);
  color: #ffffff;
  transform: scale(1.05);
}

/* Hero Carousel */
.hero-slider-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 650px;
  min-height: 650px;
  background-color: #000;
}

.hero-slide {
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
}

.hero-slide.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  font-size: 18px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  z-index: 10;
}

.slider-arrow:hover {
  background-color: var(--primary-red);
  color: white;
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

/* --- Slow Scrolling Notice Ticker Banner --- */
.notice-ticker-banner {
  display: flex;
  align-items: center;
  margin: 16px 0 8px;
  background: linear-gradient(135deg, #1b2a4a 0%, #0f172a 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 44px;
  position: relative;
}

.notice-badge {
  background: linear-gradient(135deg, #e6193c, #f43f5e);
  color: #ffffff;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  z-index: 5;
  box-shadow: 4px 0 12px rgba(230, 25, 60, 0.35);
  flex-shrink: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.notice-badge i {
  font-size: 14px;
}

.notice-ticker-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.notice-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: scrollNotice 30s linear infinite;
  will-change: transform;
}

.notice-ticker-banner:hover .notice-ticker-track {
  animation-play-state: paused;
}

.notice-item {
  color: #f1f5f9;
  font-size: 13.5px;
  font-weight: 500;
  padding: 0 16px;
}

.notice-item strong {
  color: #ffb800;
  font-weight: 700;
}

.notice-divider {
  color: #e6193c;
  font-weight: 900;
  font-size: 14px;
  opacity: 0.8;
}

@keyframes scrollNotice {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- Modern Category Showcase Section --- */
.category-thumbs-section {
  margin: 32px 0 40px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 24px 20px;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.section-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-badge-pill {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  color: var(--primary-red, #e6193c);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(230, 25, 60, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header-title h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-navy, #1b2a4a);
  letter-spacing: -0.3px;
  margin: 0;
}

.section-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-red, #e6193c);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.section-view-all:hover {
  background: var(--primary-red, #e6193c);
  color: #ffffff;
  border-color: var(--primary-red, #e6193c);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(230, 25, 60, 0.25);
}

/* --- Compact Horizontal Pill Cards Showcase --- */
.compact-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat-pill-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.cat-pill-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 32px -4px rgba(230, 25, 60, 0.16);
  border-color: rgba(230, 25, 60, 0.5);
  background: #ffffff;
}

.cat-pill-img-wrap {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  padding: 3px;
  background: var(--ring-gradient, linear-gradient(135deg, #3b82f6, #1d4ed8));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.cat-pill-card:hover .cat-pill-img-wrap {
  transform: scale(1.08) rotate(3deg);
}

.cat-pill-img-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
  background: #ffffff;
  transition: transform 0.35s ease;
}

.cat-pill-card:hover .cat-pill-img-wrap img {
  transform: scale(1.1);
}

.cat-pill-icon {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  background: var(--primary-navy, #1b2a4a);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  z-index: 5;
  transition: all 0.25s ease;
}

.cat-pill-icon i {
  color: #ffffff !important;
  display: inline-block;
}

.cat-pill-card:hover .cat-pill-icon {
  background: var(--primary-red, #e6193c);
  transform: scale(1.15);
}

.cat-pill-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.cat-pill-badge {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 800;
  color: var(--primary-red, #e6193c);
  background: rgba(230, 25, 60, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.cat-pill-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-navy, #1b2a4a);
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.cat-pill-card:hover .cat-pill-title {
  color: var(--primary-red, #e6193c);
}

.cat-pill-sub {
  font-size: 12px;
  color: var(--primary-red, #e6193c);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-pill-count {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-top: 2px;
}

.cat-pill-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.cat-pill-card:hover .cat-pill-arrow {
  background: var(--primary-red, #e6193c);
  color: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(230, 25, 60, 0.35);
}

@media (max-width: 992px) {
  .compact-pill-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 576px) {
  .compact-pill-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .cat-pill-card {
    padding: 14px 16px !important;
  }
}

/* --- Banner Strips --- */
/* --- Banner Strips --- */
.promo-strip-banner {
  width: 100%;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  margin-top: 36px;
  margin-bottom: 40px;
  box-shadow: 0 8px 24px -4px rgba(230, 25, 60, 0.2);
  transition: var(--transition);
}

.promo-strip-banner:hover {
  box-shadow: 0 12px 30px -4px rgba(230, 25, 60, 0.3);
}

/* --- Section Title Header --- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  margin-bottom: 24px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy, #1b2a4a);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-red, #e6193c);
  border-radius: 3px;
}

.view-more-btn {
  background-color: var(--primary-navy, #1b2a4a);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.view-more-btn:hover {
  background-color: var(--primary-red, #e6193c);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(230, 25, 60, 0.25);
}

/* --- Product Cards Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(1, 1fr); }
}

.product-card {
  background-color: var(--bg-white, #ffffff);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md, 16px);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px -4px rgba(27, 42, 74, 0.12);
  border-color: rgba(230, 25, 60, 0.35);
}

.discount-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #e6193c, #f43f5e);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 12px;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(230, 25, 60, 0.3);
  letter-spacing: 0.3px;
}

.product-img-box {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 10px;
  background-color: #f8fafc;
  position: relative;
  padding: 10px;
}

.product-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.08);
}

.quick-view-float-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--primary-navy, #1b2a4a);
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.25s ease;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-card:hover .quick-view-float-btn {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-float-btn:hover {
  background: var(--primary-red, #e6193c);
  color: #ffffff;
  border-color: var(--primary-red, #e6193c);
  transform: scale(1.1);
}

.product-card-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rating-stars {
  color: #f59e0b;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
}

.rating-val {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  margin-left: 4px;
}

.product-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.product-title a {
  color: var(--primary-navy, #1b2a4a);
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-card:hover .product-title a {
  color: var(--primary-red, #e6193c);
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}

.current-price {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--primary-red, #e6193c);
}

.old-price {
  font-size: 12.5px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.product-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 0;
}

.btn-add-cart {
  background-color: var(--primary-navy, #1b2a4a);
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-add-cart:hover {
  background-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-buy-now {
  background: linear-gradient(135deg, #e6193c, #f43f5e);
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(230, 25, 60, 0.25);
}

.btn-buy-now:hover {
  background: linear-gradient(135deg, #dc2626, #e6193c);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 25, 60, 0.4);
}

.btn-quick-view:hover {
  background-color: var(--primary-navy);
  color: white;
}

/* --- Featured Shops Grid --- */
.shops-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) { .shops-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .shops-grid { grid-template-columns: repeat(2, 1fr); } }

.shop-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.shop-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
}

.shop-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 2px solid var(--primary-navy);
}

.shop-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.shop-rating {
  font-size: 12px;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.btn-visit-shop {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-navy);
  border: 1px solid var(--primary-navy);
  padding: 4px 12px;
  border-radius: 12px;
  transition: var(--transition);
  display: inline-block;
}

.btn-visit-shop:hover {
  background-color: var(--primary-navy);
  color: white;
}

/* --- Floating Side Cart Button --- */
.floating-cart-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-navy);
  color: white;
  padding: 12px 10px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 99;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.floating-cart-btn:hover {
  background-color: var(--primary-red);
  padding-right: 14px;
}

/* --- Offcanvas Cart Drawer --- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 25, 46, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background-color: var(--bg-white);
  z-index: 1100;
  box-shadow: -5px 0 25px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 16px 20px;
  background-color: var(--primary-navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.cart-item:hover {
  border-color: rgba(230, 25, 60, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.cart-item-img-link {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  flex-shrink: 0;
  background: #f8fafc;
}

.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.cart-item-img-link:hover .cart-item-img {
  transform: scale(1.1);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy, #1b2a4a);
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.cart-item-title:hover {
  color: var(--primary-red, #e6193c);
}

.cart-item-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.cart-item-unit-price {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.cart-item-subtotal {
  color: var(--primary-red, #e6193c);
  font-weight: 800;
  font-size: 14px;
}

.cart-item-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  overflow: hidden;
}

.qty-btn {
  width: 26px;
  height: 26px;
  background: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-navy, #1b2a4a);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.qty-btn:hover {
  background: var(--primary-red, #e6193c);
  color: #ffffff;
}

.qty-num {
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-navy, #1b2a4a);
  min-width: 24px;
  text-align: center;
}

.remove-cart-item {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #ef4444;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s ease;
}

.remove-cart-item:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
  transform: scale(1.05);
}

.empty-cart-msg {
  text-align: center;
  padding: 50px 10px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background-color: #fafafa;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-navy);
}

.btn-checkout {
  width: 100%;
  background-color: var(--primary-red);
  color: white;
  border: none;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: block;
}

.btn-checkout:hover {
  background-color: var(--primary-red-hover);
}

/* --- Order Success Popup Modal --- */
.order-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-success-overlay.active {
  opacity: 1;
  visibility: visible;
}

.order-success-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.25);
  transform: scale(0.85) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.order-success-overlay.active .order-success-card {
  transform: scale(1) translateY(0);
}

.order-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-modal-close:hover {
  background: var(--primary-red, #e6193c);
  color: #ffffff;
}

.success-icon-badge {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #16a34a;
  font-size: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.25);
}

.order-success-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy, #1b2a4a);
  margin-bottom: 8px;
}

.order-success-header p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}

.order-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: #15803d;
  margin-bottom: 24px;
}

.order-id-pill strong {
  font-weight: 800;
  letter-spacing: 0.5px;
}

.order-details-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #475569;
}

.order-detail-row strong {
  color: var(--primary-navy, #1b2a4a);
  font-weight: 700;
}

.order-detail-row .highlight-total {
  color: var(--primary-red, #e6193c);
  font-size: 16px;
  font-weight: 800;
}

.order-modal-actions {
  display: flex;
  gap: 12px;
}

.btn-modal-home, .btn-modal-shop {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-modal-home {
  background: var(--primary-navy, #1b2a4a);
  color: #ffffff;
}

.btn-modal-home:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

.btn-modal-shop {
  background: linear-gradient(135deg, #e6193c, #f43f5e);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(230, 25, 60, 0.25);
}

.btn-modal-shop:hover {
  background: linear-gradient(135deg, #dc2626, #e6193c);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 25, 60, 0.4);
}

/* --- Quick View Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 25, 46, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 90%;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

/* --- Footer --- */
.main-footer {
  background-color: var(--primary-navy-dark);
  color: #cbd5e1;
  padding: 60px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--primary-red);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.app-download-btns {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.app-btn {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-form {
  display: flex;
  margin-top: 14px;
}

.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
}

.newsletter-btn {
  background-color: var(--primary-red);
  color: white;
  border: none;
  padding: 0 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness
   ========================================================================== */

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 240px 1fr !important;
  }
  .category-thumbs-grid {
    grid-template-columns: repeat(6, 1fr) !important;
  }
}

@media (max-width: 992px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }
  .search-box {
    order: 3;
    width: 100%;
    max-width: 100% !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
  }
  .category-sidebar {
    display: none;
  }
  .product-details-grid {
    grid-template-columns: 1fr !important;
  }
  .checkout-grid {
    grid-template-columns: 1fr !important;
  }
  .nav-inner {
    overflow-x: auto;
    white-space: nowrap;
  }
  .right-nav-info {
    display: none;
  }
  .category-thumbs-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px !important;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .category-thumbs-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
  }
  .cat-thumb-card {
    padding: 12px 6px 10px;
  }
  .cat-thumb-img-box {
    width: 58px;
    height: 58px;
  }
  .shops-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .promo-strip-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .site-header {
    padding-bottom: 8px;
  }
  /* Mobile Search Bar Expansion */
  .search-box {
    width: 100% !important;
    margin-top: 4px;
  }
  .search-form {
    height: 46px !important;
    border-radius: 25px !important;
  }
  .search-category-select {
    display: none !important;
  }
  .search-input {
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
  }
  .search-btn {
    height: 46px !important;
    padding: 0 18px !important;
    font-size: 16px !important;
  }
  .search-btn span {
    display: none !important;
  }
  .product-card {
    padding: 10px;
  }
  .product-title {
    font-size: 13px !important;
    height: auto !important;
  }
  .current-price {
    font-size: 15px !important;
  }
  .old-price {
    font-size: 12px !important;
  }
  .btn-add-cart {
    font-size: 12px !important;
    padding: 8px 6px !important;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Categories Dropdown Styling */
.categories-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: white;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  border-top: none;
  z-index: 999;
  display: none;
  flex-direction: column;
  padding: 8px 0;
}

.categories-dropdown-menu.active {
  display: flex !important;
}

.categories-dropdown-menu a {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px dashed #f1f5f9;
}

.categories-dropdown-menu a:hover {
  background: rgba(230, 25, 60, 0.06);
  color: var(--primary-red);
  padding-left: 22px;
}

.categories-dropdown-menu a i {
  color: var(--primary-red);
  width: 18px;
}

.mobile-menu-trigger {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-navy);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-menu-trigger:hover {
  background: var(--primary-red);
  color: white;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  height: 100vh;
  background: white;
  z-index: 1050;
  padding: 24px 20px;
  box-shadow: var(--shadow-lg);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 25, 46, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 992px) {
  .mobile-menu-trigger {
    display: flex;
  }
  .nav-links {
    display: none !important;
  }
  .account-hide-mobile {
    display: none !important;
  }
}

/* ==========================================================================
   Product Details Page Responsive Styling
   ========================================================================== */
.product-details-grid {
  display: grid;
  grid-template-columns: minmax(300px, 450px) 1fr minmax(260px, 300px);
  gap: 32px;
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.main-img-wrap {
  width: 100%;
  height: 400px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  margin-bottom: 16px;
}

.main-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.thumb-gallery-row {
  display: flex;
  gap: 12px;
}

.thumb-box {
  width: 76px;
  height: 76px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  padding: 4px;
  transition: all 0.2s ease;
}

.thumb-box.active, .thumb-box:hover {
  border-color: var(--primary-red);
}

.thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stock-discount-badge {
  background: rgba(230, 25, 60, 0.1);
  color: var(--primary-red);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.product-detail-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  flex-wrap: wrap;
}

.rating-dot {
  color: var(--text-muted);
}

.review-count {
  color: var(--text-muted);
}

.warranty-tag {
  color: #10b981;
  font-weight: 600;
}

.product-price-block {
  background: #f8fafc;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.detail-current-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-red);
}

.detail-old-price {
  font-size: 17px;
  text-decoration: line-through;
  color: var(--text-muted);
}

.detail-save-badge {
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
}

.product-specs-list {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 28px;
  line-height: 2;
  list-style-type: disc;
  padding-left: 20px;
}

.product-actions-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.detail-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 46px;
  background: #f8fafc;
}

.detail-qty-stepper button {
  width: 40px;
  height: 100%;
  border: none;
  background: #f1f5f9;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.detail-qty-stepper button:hover {
  background: #e2e8f0;
}

.detail-qty-stepper input {
  width: 46px;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  background: transparent;
}

.btn-detail-cart {
  flex: 1;
  height: 46px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.btn-detail-buy {
  flex: 1;
  height: 46px;
  background: var(--primary-navy);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-detail-buy:hover {
  background: #0f172a;
  color: white;
}

.product-delivery-sidebar {
  border-left: 1px solid var(--border-color);
  padding-left: 24px;
}

/* Mobile Sticky Bottom Action Bar */
.mobile-sticky-product-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.12);
  padding: 10px 16px;
  z-index: 999;
  display: none;
  align-items: center;
  gap: 12px;
}

.mobile-bar-price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mobile-bar-price strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-red);
}

.mobile-bar-btn {
  flex: 1;
  height: 40px;
  font-size: 13px;
  border-radius: 8px;
  padding: 0 8px !important;
}

.mobile-bar-btn-buy {
  flex: 1;
  height: 40px;
  background: linear-gradient(135deg, #e6193c, #f43f5e);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  gap: 6px;
  text-decoration: none;
}

/* Product Details Media Queries */
@media (max-width: 992px) {
  .product-details-grid {
    grid-template-columns: 1fr !important;
    padding: 20px !important;
    gap: 24px !important;
  }
  .product-delivery-sidebar {
    border-left: none !important;
    border-top: 1px solid var(--border-color) !important;
    padding-left: 0 !important;
    padding-top: 24px !important;
  }
}

@media (max-width: 768px) {
  .product-detail-title {
    font-size: 20px !important;
  }
  .main-img-wrap {
    height: 280px !important;
  }
  .thumb-box {
    width: 60px !important;
    height: 60px !important;
  }
  .detail-current-price {
    font-size: 24px !important;
  }
  .product-price-block {
    padding: 12px 16px !important;
    gap: 10px !important;
  }
  .product-actions-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .detail-qty-stepper {
    justify-content: center;
  }
  .mobile-sticky-product-bar {
    display: flex !important;
  }
  .site-footer, .main-footer {
    padding-bottom: 70px !important;
  }
}

/* ==========================================================================
   NATIVE MOBILE APP UI & GLOBAL RESPONSIVENESS
   ========================================================================== */

/* Fixed Native Mobile App Bottom Navigation Bar */
.mobile-app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  display: none;
  align-items: center;
  justify-content: space-around;
  z-index: 1050;
  padding: 0 4px;
}

.app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #64748b;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  flex: 1;
  height: 100%;
  transition: all 0.2s ease;
  position: relative;
}

.app-nav-icon {
  font-size: 18px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.app-cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--primary-red, #e6193c);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 10px;
  line-height: 1;
  min-width: 16px;
  text-align: center;
}

.app-nav-item.active, .app-nav-item:hover {
  color: var(--primary-red, #e6193c);
}

.app-nav-item.active .app-nav-icon {
  transform: translateY(-2px);
}

.app-nav-item:active {
  transform: scale(0.92);
}

/* Mobile App Global Touch & Responsive Tweaks */
@media (max-width: 768px) {
  body {
    padding-bottom: 68px !important;
    background: #f8fafc;
  }

  .mobile-app-bottom-nav {
    display: flex !important;
  }

  .floating-cart-btn {
    display: none !important;
  }

  .shop-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .shop-filter-sidebar {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  .cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }

  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .btn-add-cart, .btn-buy-now, .cat-thumb-card, .product-card {
    -webkit-tap-highlight-color: transparent;
  }

  .btn-add-cart:active, .btn-buy-now:active {
    transform: scale(0.96) !important;
  }

  .product-card {
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
  }

  .logo-text {
    font-size: 18px !important;
  }

  .logo-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
  }
}

/* ==========================================================================
   ORDER TRACKING TIMELINE STYLES
   ========================================================================== */
.tracking-stepper-wrap {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 32px 0 20px;
}

.tracking-stepper-wrap::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
  color: #94a3b8;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.step-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  line-height: 1.3;
}

.step-time {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.step-item.completed .step-icon {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.step-item.completed .step-title {
  color: #10b981;
}

.step-item.active .step-icon {
  background: var(--primary-red, #e6193c);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(230, 25, 60, 0.35);
  animation: pulseStep 1.8s infinite;
}

.step-item.active .step-title {
  color: var(--primary-navy, #1b2a4a);
}

@keyframes pulseStep {
  0% { box-shadow: 0 0 0 0 rgba(230, 25, 60, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(230, 25, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 25, 60, 0); }
}

@media (max-width: 768px) {
  .tracking-stepper-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-left: 20px;
  }
  .tracking-stepper-wrap::before {
    top: 20px;
    bottom: 20px;
    left: 40px;
    width: 3px;
    height: auto;
  }
  .step-item {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }
  .step-icon {
    margin-bottom: 0;
  }

  /* Mobile Media Query for Sticky Widgets */
  .sticky-messenger-btn {
    bottom: 135px !important;
    right: 16px !important;
    width: 46px !important;
    height: 46px !important;
    font-size: 23px !important;
  }
  .scroll-to-top-btn {
    bottom: 80px !important;
    right: 16px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 15px !important;
  }
}

/* --- Floating Sticky Widgets (Messenger & Scroll To Top) --- */
.sticky-messenger-btn {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0084ff, #00c6ff);
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 132, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 990;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-messenger-btn:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 12px 30px rgba(0, 132, 255, 0.6);
  color: #ffffff;
}

.messenger-tooltip {
  position: absolute;
  right: 60px;
  background: #1b2a4a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.sticky-messenger-btn:hover .messenger-tooltip {
  opacity: 1;
  visibility: visible;
  right: 64px;
}

.scroll-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary-navy, #1b2a4a);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(27, 42, 74, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 989;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-to-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background: var(--primary-red, #e6193c);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(230, 25, 60, 0.4);
}

/* --- Hero Slider Captions & Dots --- */
.hero-slide-caption {
  position: absolute;
  left: 36px;
  bottom: 36px;
  color: white;
  z-index: 10;
  max-width: 360px;
}

.hero-tag {
  display: inline-block;
  background: var(--primary-red);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hero-slide-caption h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.btn-hero-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.btn-hero-shop:hover {
  background: var(--primary-red);
  color: white;
  transform: translateY(-2px);
}

.hero-slider-dots {
  position: absolute;
  bottom: 16px;
  right: 24px;
  display: flex;
  gap: 6px;
  z-index: 15;
}

.hero-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dots .dot.active {
  background: var(--primary-red);
  width: 24px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .hero-slider-wrap {
    height: 260px !important;
    min-height: 260px !important;
  }
  .triple-banner-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .hero-slide-caption {
    left: 16px !important;
    bottom: 20px !important;
    max-width: 80% !important;
  }
  .hero-slide-caption h2 {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }
  .btn-hero-shop {
    padding: 6px 12px !important;
    font-size: 11px !important;
  }

  .track-input-grid, .track-meta-grid, .contact-cards-grid, .contact-main-grid {
    grid-template-columns: 1fr !important;
  }

  /* Section Header & Category Pill Mobile Layout */
  .section-header-wrap {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .section-header-title h2 {
    font-size: 16px !important;
  }
  .section-view-all {
    padding: 5px 12px !important;
    font-size: 12px !important;
  }
  .compact-pill-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .cat-pill-card {
    padding: 10px 12px !important;
    gap: 10px !important;
    border-radius: 16px !important;
  }
  .cat-pill-img-wrap {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
  }
  .cat-pill-title {
    font-size: 13px !important;
  }
  .cat-pill-sub {
    font-size: 10.5px !important;
  }
  .cat-pill-count {
    font-size: 9.5px !important;
  }
  .cat-pill-arrow {
    display: none !important;
  }
  .dual-promo-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .dual-promo-card-clean {
    height: 180px !important;
  }

  /* Flash Sale Section Mobile Layout Fix */
  .flash-sale-section {
    padding: 16px !important;
    border-radius: 18px !important;
    margin-top: 20px !important;
    margin-bottom: 24px !important;
  }

  .flash-badge-title {
    font-size: 17px !important;
  }
  .flash-badge-title i {
    font-size: 18px !important;
  }

  .flash-countdown-timer {
    padding: 4px 10px !important;
  }
  .flash-countdown-timer span {
    font-size: 11px !important;
  }
  .flash-countdown-timer div span {
    font-size: 12px !important;
    padding: 2px 5px !important;
  }

  .flash-sale-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .flash-product-card {
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .flash-product-card .product-img-box {
    height: 120px !important;
    margin-bottom: 8px !important;
  }

  .flash-product-card .product-title {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
  }

  .flash-product-card .btn-buy-now {
    padding: 8px !important;
    font-size: 11px !important;
    border-radius: 10px !important;
  }

  /* Cart Drawer Mobile Alignment with Bottom Nav Bar */
  .cart-drawer-overlay {
    height: calc(100% - 64px) !important;
    z-index: 1039 !important;
  }
  .cart-drawer {
    height: calc(100% - 64px) !important;
    bottom: 64px !important;
    top: 0 !important;
    z-index: 1040 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .cart-drawer-footer {
    padding: 16px 20px !important;
    padding-bottom: 16px !important;
  }
}

/* --- High-Attention Micro Animations & Focusing Effects --- */
@keyframes pulseBadge {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 25, 60, 0.4); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(230, 25, 60, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 25, 60, 0); }
}

@keyframes messengerPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 132, 255, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(0, 132, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 132, 255, 0); }
}

@keyframes greenBlinkGlow {
  0% {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transform: scale(1);
  }
  50% {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.85);
    transform: scale(1.03);
  }
  100% {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transform: scale(1);
  }
}

.btn-buy-now,
.btn-detail-buy,
.mobile-bar-btn-buy {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #ffffff !important;
  border: none !important;
  animation: greenBlinkGlow 1.8s infinite ease-in-out !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-buy-now:hover,
.btn-detail-buy:hover,
.mobile-bar-btn-buy:hover {
  background: linear-gradient(135deg, #059669, #047857) !important;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.9) !important;
  transform: translateY(-2px) scale(1.05) !important;
}

@keyframes cartIconPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.6); background: #10b981 !important; color: #ffffff !important; box-shadow: 0 0 15px rgba(16, 185, 129, 0.8); }
  100% { transform: scale(1); }
}

.cart-bounce-anim {
  animation: cartIconPop 0.45s ease-in-out !important;
}

@keyframes smokePuff {
  0% {
    opacity: 0.85;
    transform: scale(0.6) translate(0, 0);
  }
  100% {
    opacity: 0;
    transform: scale(2.5) translate(-18px, 22px);
  }
}

@keyframes rocketFlamePulse {
  0% { transform: translateX(-50%) scale(0.85); opacity: 0.75; }
  100% { transform: translateX(-50%) scale(1.35); opacity: 1; filter: blur(1px); }
}

/* --- Dual 250px Promo Banners Grid --- */
.dual-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 36px;
}

.dual-promo-card {
  position: relative;
  height: 250px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dual-promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.dual-promo-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
}

.dual-promo-card:hover .dual-promo-bg {
  transform: scale(1.08);
}

.dual-promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.dual-promo-content {
  position: relative;
  z-index: 5;
  max-width: 60%;
  color: #ffffff;
}

.dual-promo-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dual-promo-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dual-promo-desc {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 18px;
}

.dual-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-red, #e6193c);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.dual-promo-btn:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.dual-promo-img {
  position: relative;
  z-index: 5;
  width: 130px;
  height: 130px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.dual-promo-card:hover .dual-promo-img {
  transform: scale(1.08) rotate(3deg);
}

.dual-promo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

@media (max-width: 992px) {
  .dual-promo-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .dual-promo-card {
    height: 220px !important;
    padding: 24px !important;
  }
  .dual-promo-title {
    font-size: 18px !important;
  }
  .dual-promo-img {
    width: 100px !important;
    height: 100px !important;
  }
}

/* --- Premium Language Toggle Switch --- */
.lang-toggle-switch {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 24px;
  padding: 3px;
  gap: 2px;
  cursor: pointer;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
  outline: none;
}

.lang-toggle-switch:hover {
  border-color: var(--primary-red, #e6193c);
  box-shadow: 0 4px 14px rgba(230, 25, 60, 0.15);
}

.lang-switch-option {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 18px;
  color: #64748b;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.lang-switch-option.active {
  background: linear-gradient(135deg, #e6193c, #f43f5e);
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(230, 25, 60, 0.35);
}

/* --- Category Pill Cards & 1px Image Stroke Border --- */
.compact-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-pill-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1.5px solid #f1f5f9;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.cat-pill-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-red);
  box-shadow: 0 10px 25px rgba(230, 25, 60, 0.1);
}

.cat-pill-img-wrap {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  padding: 3px;
  background: #ffffff;
  border: 1px solid #cbd5e1 !important; /* Crisp 1px Stroke Border */
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.cat-pill-card:hover .cat-pill-img-wrap {
  border-color: var(--primary-red, #e6193c) !important; /* 1px Highlight on hover */
  box-shadow: 0 4px 14px rgba(230, 25, 60, 0.2);
}

.cat-pill-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.cat-pill-icon {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-navy, #1b2a4a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 5;
}

.cat-pill-icon i {
  color: #ffffff !important;
}

.cat-pill-info {
  flex-grow: 1;
  min-width: 0;
}

.cat-pill-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  background: #fff1f2;
  color: #e6193c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.cat-pill-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-navy, #1b2a4a);
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-pill-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-red, #e6193c);
  margin-bottom: 2px;
}

.cat-pill-count {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.cat-pill-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.cat-pill-card:hover .cat-pill-arrow {
  background: var(--primary-red);
  color: #ffffff;
  transform: translateX(3px);
}

/* --- Sub-Header Category Strip Bar --- */
.category-sub-bar {
  background: #ffffff;
  border-bottom: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  padding: 8px 0;
}

.cat-strip-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 2px 0;
}

.cat-strip-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.cat-strip-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--primary-navy, #1b2a4a);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.cat-strip-chip i {
  color: var(--primary-red, #e6193c);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.cat-strip-chip:hover {
  background: #fff1f2;
  border-color: var(--primary-red, #e6193c);
  color: var(--primary-red, #e6193c);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(230, 25, 60, 0.15);
}

.cat-strip-chip:hover i {
  transform: scale(1.15);
}

/* ==========================================================================
   Modern Ultra-Premium Footer Styles
   ========================================================================== */
.main-footer {
  background: #0b1329;
  color: #94a3b8;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-footer a {
  color: #cbd5e1;
  transition: all 0.25s ease;
}

.main-footer a:hover {
  color: #ffffff;
}

/* --- Top Features Banner --- */
.footer-top-features {
  background: linear-gradient(180deg, #0f192e 0%, #0b1329 100%);
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(230, 25, 60, 0.3);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(230, 25, 60, 0.15), rgba(230, 25, 60, 0.3));
  color: #e6193c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  border: 1px solid rgba(230, 25, 60, 0.2);
}

.feature-text h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 3px;
}

.feature-text p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.3;
}

/* --- Main Footer Grid Body --- */
.footer-main-body {
  padding: 50px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1.3fr 2.2fr;
  gap: 36px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.2px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #e6193c, #f43f5e);
  border-radius: 4px;
}

/* Brand Column */
.brand-col .logo-area .logo-icon {
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.brand-col .logo-text {
  color: #ffffff;
  font-size: 24px;
}

.brand-desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-social-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-title {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
}

.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.08);
  color: #ffffff;
}

.social-btn.facebook:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4); }
.social-btn.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4); }
.social-btn.youtube:hover { background: #ff0000; border-color: #ff0000; box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4); }
.social-btn.tiktok:hover { background: #000000; border-color: #333333; box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2); }
.social-btn.whatsapp:hover { background: #25d366; border-color: #25d366; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }

/* Footer Links List */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #94a3b8;
  transition: all 0.25s ease;
}

.footer-links li a i {
  font-size: 10px;
  color: #e6193c;
  transition: transform 0.25s ease;
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-links li a:hover i {
  transform: translateX(3px);
}

/* Newsletter Column */
.newsletter-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-newsletter-form {
  margin-bottom: 22px;
}

.newsletter-input-box {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 4px;
  transition: all 0.3s ease;
}

.newsletter-input-box:focus-within {
  border-color: #e6193c;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(230, 25, 60, 0.2);
}

.newsletter-input-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
}

.newsletter-input-box input::placeholder {
  color: #64748b;
}

.btn-newsletter {
  background: linear-gradient(135deg, #e6193c, #f43f5e);
  color: #ffffff;
  border: none;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-newsletter:hover {
  background: linear-gradient(135deg, #dc2626, #e6193c);
  transform: scale(1.02);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
}

.c-info-item i {
  color: #e6193c;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* --- Footer Bottom Bar --- */
.footer-bottom-bar {
  background: #070d1d;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.copyright-text {
  font-size: 13px;
  color: #64748b;
}

.copyright-text strong {
  color: #cbd5e1;
}

.payment-methods-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pay-title {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pay-badge.bkash { background: #e2136e; color: #fff; border-color: #e2136e; }
.pay-badge.nagad { background: #f7921e; color: #fff; border-color: #f7921e; }
.pay-badge.rocket { background: #8c3494; color: #fff; border-color: #8c3494; }
.pay-badge.visa { background: #1a1f71; color: #fff; border-color: #2b33a0; }
.pay-badge.mastercard { background: #eb001b; color: #fff; border-color: #eb001b; }
.pay-badge.cod { background: #059669; color: #fff; border-color: #059669; }

/* Responsive Adjustments for Footer */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}



