:root {
  --store-hero-height: 240px;
  --primary-color: #c00000;
  --primary-color-rgb: 192, 0, 0;
  --gradient-primary: linear-gradient(135deg, #c00000 0%, #ff4444 100%);
  --gradient-secondary: linear-gradient(
    135deg,
    rgba(192, 0, 0, 0.1) 0%,
    rgba(255, 68, 68, 0.05) 100%
  );
  --shadow-light: 0 4px 20px rgba(192, 0, 0, 0.08);
  --shadow-medium: 0 8px 32px rgba(192, 0, 0, 0.12);
  --shadow-heavy: 0 12px 48px rgba(192, 0, 0, 0.16);
  --border-radius: 16px;
  --border-radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --text-dark: #1a1a1a;
  --text-secondary: #6b7280;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(192, 0, 0, 0.1);
}

.wall-of-the-store header {
  position: relative;
}

/* Modern Store Hero Section */
.store-hero {
  position: relative;
  /* height: var(--store-hero-height); */
  background: var(--bg-gradient);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: auto;
  padding: 30px 15px 0px 5px;
}

.store-hero .cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(120%) brightness(0.9) contrast(1.1);
  opacity: 0.95;
  transition: var(--transition);
}

.store-hero:hover .cover {
  transform: scale(1.02);
  filter: saturate(130%) brightness(0.95) contrast(1.15);
}

/* .store-hero .overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 25% 25%, rgba(255,255,255,0.4), transparent 65%),
    linear-gradient(135deg, rgba(192,0,0,0.15), rgba(255,68,68,0.05)),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
  backdrop-filter: blur(8px);
} */

.store-hero .profile {
  position: relative;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  z-index: 10;
  min-height: 300px;
}

.store-hero .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
  object-fit: cover;
  transition: var(--transition);
}

.store-hero:hover .avatar {
  transform: scale(1.05);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.store-hero .title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.5vw + 1rem, 1.75rem);
  line-height: 1.2;
  margin-bottom: 8px;
}

.store-hero .stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.store-hero .stat-badge {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.store-hero .stat-badge:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-follow {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--primary-color);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-follow:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-chat {
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  border: 0;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(var(--primary-color-rgb), 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.btn-chat:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-color-rgb), 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Modern Tab System */
.store-tab-select {
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 12px 16px;
  font-weight: 600;
  color: var(--text-dark);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.store-tab-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.store-tabs .nav-link {
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-right: 8px;
  transition: var(--transition);
  background: transparent;
  border: 2px solid transparent;
}

.store-tabs .nav-link:hover {
  color: var(--primary-color);
  background: rgba(var(--primary-color-rgb), 0.05);
  transform: translateY(-2px);
}

.store-tabs .nav-link.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(var(--primary-color-rgb), 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Bento Grid Cards */
.bento-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(15px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  opacity: 0.8;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-heavy);
  border-color: rgba(var(--primary-color-rgb), 0.2);
}

.glass {
  /* Enhanced glass effect for backwards compatibility */
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(15px);
}

/* Category Scroller */
.category-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 16px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--primary-color-rgb), 0.3) transparent;
}

.category-scroller::-webkit-scrollbar {
  height: 4px;
}

.category-scroller::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
}

.category-scroller::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-color-rgb), 0.3);
  border-radius: 2px;
}

.category-chip {
  white-space: nowrap;
  border-radius: 999px;
  border: 2px solid rgba(var(--primary-color-rgb), 0.1);
  padding: 10px 18px;
  background: var(--white);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-light);
}

.category-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(var(--primary-color-rgb), 0.3);
  background: rgba(var(--primary-color-rgb), 0.02);
}

.category-chip.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(var(--primary-color-rgb), 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.section-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-actions .btn {
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.btn-ghost {
  background: transparent;
  border: 2px solid rgba(var(--primary-color-rgb), 0.2);
  color: var(--primary-color);
}

.btn-ghost:hover {
  background: rgba(var(--primary-color-rgb), 0.05);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

/* Enhanced Product Grid */
.store-products .modern-product-card {
  background: var(--white);
  border: 1px solid rgba(var(--primary-color-rgb), 0.08);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.store-products .modern-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-heavy);
  border-color: rgba(var(--primary-color-rgb), 0.2);
}

.store-products .product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.store-products .product-image-container {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.store-products .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.store-products .modern-product-card:hover .product-image {
  transform: scale(1.05);
}

.store-products .image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: var(--transition);
  font-weight: 600;
}

.store-products .modern-product-card:hover .image-overlay {
  opacity: 1;
}

.store-products .product-actions-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition);
  -webkit-transition: var(--transition);
  -moz-transition: var(--transition);
  -ms-transition: var(--transition);
  -o-transition: var(--transition);
  -webkit-transform: translateX(20px);
  -moz-transform: translateX(20px);
  -ms-transform: translateX(20px);
  -o-transform: translateX(20px);
  z-index: 10;
}

.store-products .modern-product-card:hover .product-actions-overlay {
  opacity: 1;
  transform: translateX(0);
}

.store-products .quick-add-btn,
.store-products .wishlist-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  cursor: pointer;
}

.store-products .quick-add-btn:hover,
.store-products .wishlist-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.store-products .product-info-wrapper {
  padding: 11px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.store-products .product-name a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

.store-products .product-name a:hover {
  color: var(--primary-color);
}

.store-products .current-price {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 4px;
}

.store-products .original-price {
  color: var(--text-secondary);
  text-decoration: line-through;
  font-size: 13px;
}

.store-products .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  z-index: 5;
}

.store-products .badge-hot {
  background: linear-gradient(135deg, #ff4444, #cc0000);
}

.store-products .badge-new {
  background: linear-gradient(135deg, #00c851, #007e33);
}

.store-products .badge-sale {
  background: linear-gradient(135deg, #ffbb33, #ff8800);
}

.store-products .discount-percent {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 68, 68, 0.95);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  z-index: 5;
}

/* Vouchers */
.voucher-chip {
  background: rgba(var(--primary-color-rgb), 0.1);
  border: 2px dashed rgba(var(--primary-color-rgb), 0.4);
  color: var(--primary-color);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
}

.voucher-chip:hover {
  background: rgba(var(--primary-color-rgb), 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

/* Floating Chat Button */
.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
  background: var(--gradient-primary);
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(var(--primary-color-rgb), 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: none;
}

.chat-fab:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 48px rgba(var(--primary-color-rgb), 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Micro Interactions & Animations */
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 8px 32px rgba(var(--primary-color-rgb), 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 0 0 rgba(var(--primary-color-rgb), 0.3);
  }
  50% {
    box-shadow: 0 12px 48px rgba(var(--primary-color-rgb), 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 0 8px rgba(var(--primary-color-rgb), 0);
  }
}

.chat-fab {
  animation: pulseGlow 3s infinite;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-product-card {
  animation: slideInUp 0.6s ease-out forwards;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.category-chip.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

/* Store Info List */
.store-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-color-rgb), 0.08);
  transition: var(--transition);
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: var(--shadow-light);
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(var(--primary-color-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 16px;
  flex-shrink: 0;
}

.info-content {
  flex-grow: 1;
}

.info-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 2px;
}

.info-value {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
}

.info-value.status-active {
  color: #10b981;
}

.info-value.status-inactive {
  color: #ef4444;
}

.rating-stars {
  color: #fbbf24;
  font-size: 12px;
  margin-left: 4px;
}

/* Voucher Cards */
.voucher-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.voucher-card {
  display: flex;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
  transition: var(--transition);
  position: relative;
}

.voucher-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(var(--primary-color-rgb), 0.2);
}

.voucher-left {
  width: 80px;
  background: var(--gradient-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  position: relative;
  overflow: hidden;
}

.voucher-pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 4px,
    rgba(255, 255, 255, 0.1) 4px,
    rgba(255, 255, 255, 0.1) 8px
  );
}

.voucher-code {
  color: white;
  font-weight: 800;
  font-size: 11px;
  text-align: center;
  line-height: 1.2;
  z-index: 2;
  position: relative;
}

.voucher-type {
  color: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  margin-top: 2px;
  z-index: 2;
  position: relative;
}

.voucher-right {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.voucher-desc {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.voucher-expire {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.btn-collect-voucher {
  align-self: flex-start;
  background: rgba(var(--primary-color-rgb), 0.1);
  border: 1px solid rgba(var(--primary-color-rgb), 0.3);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-collect-voucher:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.btn-collect-voucher:disabled,
.btn-collect-voucher.collected {
  background: #10b981;
  border-color: #10b981;
  color: white;
  cursor: not-allowed;
  opacity: 0.8;
}

.voucher-card::before,
.voucher-card::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #f8f9fa;
  border-radius: 50%;
  z-index: 5;
}

.voucher-card::before {
  left: 72px;
}

.voucher-card::after {
  right: -8px;
}

/* Load More Button */
.btn-load-more {
  background: var(--white);
  border: 2px solid rgba(var(--primary-color-rgb), 0.2);
  color: var(--primary-color);
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-light);
}

.btn-load-more:hover:not(:disabled) {
  background: rgba(var(--primary-color-rgb), 0.05);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-load-more:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Enhanced responsive for voucher cards */
@media (max-width: 576px) {
  .voucher-card {
    font-size: 12px;
  }

  .voucher-left {
    width: 70px;
    padding: 10px 6px;
  }

  .voucher-code {
    font-size: 10px;
  }

  .voucher-type {
    font-size: 8px;
  }

  .voucher-right {
    padding: 10px 12px;
  }

  .voucher-desc {
    font-size: 12px;
  }

  .voucher-expire {
    font-size: 10px;
  }

  .btn-collect-voucher {
    font-size: 11px;
    padding: 5px 10px;
  }

  .store-info-list {
    gap: 12px;
  }

  .info-item {
    padding: 10px;
  }

  .info-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

/* Enhanced Section Headers */
.section-title-group {
  flex-grow: 1;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 4px 0 0 0;
  font-weight: 500;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group .form-select {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  min-width: 120px;
  transition: var(--transition);
}

.filter-group .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

/* Product Stats Bar */
.product-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(var(--primary-color-rgb), 0.05);
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.2;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(var(--primary-color-rgb), 0.2);
  margin: 0 16px;
}

/* Bestseller Badges */
.bestseller-badges {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.rank-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.rank-badge.gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
}

.rank-badge.silver {
  background: linear-gradient(135deg, #c0c0c0 0%, #8a8a8a 100%);
}

.rank-badge.bronze {
  background: linear-gradient(135deg, #cd7f32 0%, #a0522d 100%);
}
.modern-product-card .stars, .modern-product-card .rating-text {
font-size: 10px;
}
.modern-product-card .product-name {
  margin-bottom: 0;
}
/* Enhanced responsive for new elements */
@media (max-width: 768px) {
  .product-stats-bar {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .stat-item {
    min-width: calc(33.333% - 8px);
  }

  .stat-divider {
    display: none;
  }

  .stat-number {
    font-size: 16px;
  }

  .stat-label {
    font-size: 11px;
  }

  .filter-group {
    display: none !important;
  }

  .bestseller-badges {
    justify-content: flex-start;
  }

  .badge-group {
    justify-content: flex-start;
    gap: 8px;
  }

  .rank-badge {
    padding: 6px 12px;
    font-size: 11px;
  }
  .store-hero .profile {
    min-height: initial;
  }
  .store-hero {
    padding-left: 0;
  }
}

@media (max-width: 576px) {
}

/* Responsive Design */
@media (max-width: 1200px) {
  .store-hero .avatar {
    width: 80px;
    height: 80px;
  }

  .store-hero .title {
    font-size: 1.35rem;
  }
  .store-products .product-name a,
  .modern-product-card .product-name {
    margin-bottom: 0;
  }
  .store-products .current-price {
    font-size: clamp(0.8rem, 0.7385rem + 0.3077vw, 1rem);
  }
}

@media (max-width: 768px) {
  :root {
    --store-hero-height: 200px;
    --border-radius-xl: 20px;
  }

  .store-hero {
    margin-bottom: 1.5rem;
  }

  .store-hero .profile {
    left: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .store-hero .avatar {
    width: 72px;
    height: 72px;
  }

  .store-hero .title {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .store-hero .stats {
    gap: 8px;
    margin-bottom: 8px;
  }

  .store-hero .stat-badge {
    padding: 6px 10px;
    font-size: 11px;
  }

  .hero-actions {
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }

  .btn-follow,
  .btn-chat {
    padding: 8px 12px;
    font-size: 12px;
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .bento-card {
    padding: 20px;
    border-radius: var(--border-radius);
  }

  .category-scroller {
    gap: 8px;
  }

  .category-chip {
    padding: 8px 14px;
    font-size: 13px;
  }

  .chat-fab {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
    font-size: 18px;
  }

  .wall-of-the-store-box-wrapper .container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  :root {
    --store-hero-height: 180px;
  }

  .store-hero .profile {
    left: 12px;
    bottom: 12px;
    right: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .store-hero .avatar {
    width: 64px;
    height: 64px;
  }

  .store-hero .title {
    font-size: 1.1rem;
  }

  .store-hero .stats {
    gap: 6px;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .store-hero .stat-badge {
    padding: 5px 8px;
    font-size: 10px;
    white-space: nowrap;
  }

  .hero-actions {
    gap: 6px;
    width: 100%;
    margin-top: 6px;
  }

  .btn-follow,
  .btn-chat {
    padding: 6px 10px;
    font-size: 11px;
    flex: 1;
    min-height: 32px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .store-info-list {
    gap: 12px;
  }

  .info-item {
    padding: 10px;
  }

  .info-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .voucher-card {
    font-size: 12px;
  }

  .voucher-left {
    width: 70px;
    padding: 10px 6px;
  }

  .voucher-code {
    font-size: 10px;
  }

  .voucher-type {
    font-size: 8px;
  }

  .voucher-right {
    padding: 10px 12px;
  }

  .voucher-desc {
    font-size: 12px;
  }

  .voucher-expire {
    font-size: 10px;
  }

  .btn-collect-voucher {
    font-size: 11px;
    padding: 5px 10px;
  }
  .section-title-group {
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 12px;
  }

  .product-stats-bar {
    padding: 10px 12px;
    gap: 8px;
  }

  .stat-item {
    min-width: calc(50% - 4px);
  }

  .stat-number {
    font-size: 14px;
  }

  .stat-label {
    font-size: 10px;
  }

  .rank-badge {
    padding: 5px 10px;
    font-size: 10px;
  }
  .store-products .product-name a {
    font-size: 12px;
  }
  .bento-card {
    padding: 12px;
  }
  .modern-product-card .stars {
    font-size: 9px;
  }
  .store-products .product-info-wrapper {
    padding: 10px;
  }
  .category-chip {
    padding: 7px 13px;
    font-size: 10px;
  }
  .store-hero {
    overflow: visible;
  }
  .store-hero .profile {
    bottom: -143px;
  }
  .store-hero .cover {
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
  }
  .mobile-tab-select {
    margin-top: 160px;
  }
  .store-hero .title {
    color: var(--text-dark);
  }
  .store-hero .avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
  }

}
