@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

form {
  width: 100%;
}

body {
  font-family: "Euclid Circular A", "Avenir Next", Roboto, -apple-system,
    BlinkMacSystemFont, "Helvetica Neue", helvetica, segoe ui, arial,
    "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
  background-color: #f0f1f3;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  background-color: #f0f1f3;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 16px 8px;
  box-sizing: border-box;
  animation: fadeIn 0.5s ease-in-out;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-container {
  text-align: center;
  margin-bottom: 30px;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 8px;
  box-sizing: border-box;
}

.input-group {
  position: relative;
  margin-bottom: 15px;
}

.input-group input {
  width: 100%;
  background-color: #fff;
  border: 1px solid #c0c0f0;
  border-radius: 32px;
  padding: 14px 16px;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
  border-color: #8e2de2;
  box-shadow: 0 0 8px rgba(142, 45, 226, 0.3);
}

.input-group input::placeholder {
  color: #999;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
}

.toggle-password1 {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
}

.banner-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 0px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.banner-img {
  max-width: 100%;
  height: auto;
  border-radius: 0px;
}

/* Banner Overlays */
.banner-overlays {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.overlay-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hot-badge {
  background: linear-gradient(135deg, #ff4757, #ff6b35);
}

.new-badge {
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
}

.overlay-badge i {
  font-size: 10px;
}

.overlay-badge span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .login-container {
    max-width: 100vw;
    padding: 8px 2vw;
    border-radius: 0;
  }
  .logo {
    width: 48px;
    height: 48px;
  }
  .input-group input {
    font-size: 15px;
    padding: 12px 12px;
  }
  .banner-box {
    border-radius: 0px;
  }
  .banner-img {
    border-radius: 0px;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .login-container {
    max-width: 70vw;
    padding: 16px 4vw;
    border-radius: 8px;
  }
  .logo {
    width: 56px;
    height: 56px;
  }
  .input-group input {
    font-size: 16px;
    padding: 14px 16px;
  }
  .banner-box {
    border-radius: 0px;
  }
  .banner-img {
    border-radius: 0px;
  }
}

.options {
  text-align: right;
  margin-bottom: 20px;
}

.forgot-password {
  color: #757575;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #4a00e0;
}

.login-button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  background: linear-gradient(to right, #4a00e0, #8e2de2);
  margin-bottom: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.register-button {
  width: 100%;
  padding: 15px;
  border: 1px solid #c0c0f0;
  border-radius: 50px;
  color: #8e2de2;
  background-color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.register-button:hover {
  background-color: #f2e9f9;
  color: #4a00e0;
}

/* Large Desktop */
@media (min-width: 1025px) and (max-width: 1440px) {
  .login-container {
    max-width: 550px;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  .logo {
    width: 64px;
    height: 64px;
  }
  .input-group input {
    font-size: 16px;
  }
  .banner-box {
    border-radius: 0px;
  }
  .banner-img {
    border-radius: 0px;
  }
}

/* Extra Large Desktop (>1440px) */
@media (min-width: 1441px) {
  .login-container {
    max-width: 650px;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  }
  .logo {
    width: 72px;
    height: 72px;
  }
  .logo-container {
    margin-bottom: 40px;
  }
  .input-group {
    margin-bottom: 20px;
  }
  .input-group input {
    font-size: 18px;
    border-radius: 40px;
  }
  .login-button,
  .register-button {
    font-size: 18px;
    padding: 18px;
  }
  .banner-box {
    border-radius: 0px;
    margin-top: 0px;
  }
  .banner-img {
    border-radius: 0px;
  }
  .forgot-password {
    font-size: 15px;
  }
  .options {
    margin-bottom: 30px;
  }
}

/* Register Form Specific Styles */
.input-group label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
  font-weight: normal;
}

.toggle-visibility,
.toggle-password {
  position: absolute;
  top: calc(50% + 12px);
  right: 20px;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.input-group {
  position: relative;
  margin-bottom: 15px;
}

.input-group input {
  width: 100%;
  background-color: #fff;
  border: 1px solid #c0c0f0;
  border-radius: 32px;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
  border-color: #8e2de2;
  box-shadow: 0 0 8px rgba(142, 45, 226, 0.3);
}

.forgot-button {
  width: 100%;
  padding: 15px;
  border: 1px solid #c0c0f0;
  border-radius: 50px;
  color: #8e2de2;
  background-color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.forgot-button:hover {
  background-color: #f2e9f9;
  color: #4a00e0;
}

/* Enhanced responsive for large screens */
@media (min-width: 1441px) {
  .input-group {
    margin-bottom: 20px;
  }

  .input-group label {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .input-group input {
    font-size: 18px;
    border-radius: 40px;
  }

  .toggle-visibility,
  .toggle-password {
    right: 24px;
    font-size: 16px;
    top: calc(50% + 15px);
    width: 24px;
    height: 24px;
  }

  .login-button,
  .register-button,
  .forgot-button {
    font-size: 18px;
    padding: 18px;
    margin-bottom: 18px;
  }
}

/* Home Page Styles */
.home-page {
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-header {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: white;
  padding: 20px;
  border-radius: 0 0 20px 20px;
  width: 100%;
  box-sizing: border-box;
}

.header-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.profile-avatar-header {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff6b9d, #c06aff, #00bfff, #ffd700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-avatar-header i {
  font-size: 28px;
  color: white;
}

.class-badge {
  flex: 1;
  background: linear-gradient(135deg, #ff1744, #ff4081);
  border-radius: 8px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(255, 23, 68, 0.3);
}

.class-badge-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon i {
  font-size: 14px;
  color: white;
}

.badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.badge-title {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.badge-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}

.badge-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-arrow i {
  font-size: 14px;
  color: white;
}

/* Top Row: Logo left, Greeting + Avatar right */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.header-logo-section {
  flex-shrink: 0;
}

.header-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  padding: 4px;
}

.header-greeting-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.greeting-text {
  font-size: 16px;
  font-weight: 500;
  color: white;
}

.user-avatar {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

/* Bottom Row: Search Bar left, Cart Icon right */
.header-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  background: white;
  color: #333;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-input::placeholder {
  color: #999;
}

.search-icon {
  color: #999;
  font-size: 14px;
  z-index: 1;
}

.cart-section {
  flex-shrink: 0;
}

.cart-icon {
  font-size: 24px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  padding: 8px;
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.1);
}

.cart-icon:hover {
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-input::placeholder {
  color: #999;
}

.search-icon {
  color: #999;
  font-size: 14px;
  z-index: 1;
}

.cart-section {
  flex-shrink: 0;
}

.cart-icon {
  font-size: 24px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  padding: 8px;
}

.cart-icon:hover {
  transform: scale(1.1);
}

/* Search Section in Main Content */
.search-section {
  margin: 0;
}

.search-container-main {
  background: white;
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-container-main:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.search-icon-main {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}

.search-input-main {
  border: none;
  outline: none;
  background: transparent;
  color: #333;
  font-size: 16px;
  flex: 1;
  padding: 0;
}

.search-input-main::placeholder {
  color: #666;
  font-size: 16px;
}

.home-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.main-content {
  flex: 1;
  padding-bottom: 50px;
  width: 100%;
  box-sizing: border-box;
}

.main-content2 {
  flex: 1;
  padding: 0 20px;
  padding-bottom: 100px;
  width: 100%;
  box-sizing: border-box;
}

.main-content3 {
  flex: 1;
  padding: 0 20px;
  padding-bottom: 100px;
  width: 100%;
  box-sizing: border-box;
}

.profile-section,
.products-section,
.wallet-section,
.banner-section {
  width: 100%;
  margin: 16px 0;
  box-sizing: border-box;
}

.profile-section {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
}

.profile-details {
  flex: 1;
  margin-left: 0.5rem;
}

.profile-details h2 {
  margin: 0;
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.profile-details p {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: #666;
}

.vip-badge {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
  margin: 16px 0;
  width: 100%;
}

.stat-item {
  background: white;
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  color: white;
  font-size: 18px;
}

.stat-icon.red {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.stat-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.stat-icon.green {
  background: linear-gradient(135deg, #10b981, #22c55e);
}

.stat-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.stat-value {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

/* Categories Section */
.categories-section {
  margin: 20px 0;
  padding: 0 15px;
}

.categories-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  text-align: left;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 100%;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.category-item:hover {
  transform: scale(1.05);
}

.category-item:hover .category-icon {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.category-item:active {
  transform: scale(0.98);
}

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 24px;
  color: white;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-name {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  color: #555;
}

.blue-gradient {
  background: linear-gradient(135deg, #4299e1, #3182ce);
}

.teal-gradient {
  background: linear-gradient(135deg, #38b2ac, #319795);
}

.orange-gradient {
  background: linear-gradient(135deg, #ed8936, #dd6b20);
}

.pink-gradient {
  background: linear-gradient(135deg, #ed64a6, #d53f8c);
}

.products-section {
  background: white;
  border-radius: 16px;
  padding: 20px 0px 20px 0px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-header h3 {
  margin: 0;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding-left: 4px;
}

.section-header h3 i {
  color: #fbbf24;
}

.see-all {
  color: #666;
  text-decoration: none;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  padding-right: 14px;
}

.product-card {
  position: relative;
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ef4444;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
}

.product-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 16px;
  width: 100%;
}

.product-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-price {
  color: #ef4444;
  font-weight: bold;
  font-size: 18px;
  margin-top: 4px;
}

.wallet-section {
  border-radius: 16px;
  padding: 20px;
  color: white;
  background: linear-gradient(135deg, #4285f4, #8e2de2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wallet-info {
  display: flex;
  flex-direction: column;
}

.wallet-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.wallet-amount {
  font-size: 28px;
  font-weight: bold;
}

.wallet-buttons {
  display: flex;
  gap: 8px;
}

.wallet-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.wallet-btn.deposit {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.wallet-btn.withdraw {
  background: white;
  color: #6366f1;
}

.deal-banner {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  border-radius: 16px;
  padding: 20px;
  color: white;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.deal-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.deal-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.deal-text h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
}

.deal-text p {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  display: flex;
  justify-content: space-around;
  padding: 12px 0 8px 0;
  border-top: 1px solid #e5e7eb;
  z-index: 1000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #6b7280;
  font-size: 10px;
  padding: 4px 8px;
  transition: color 0.3s;
  min-width: 60px;
}

.nav-item.active {
  color: #6366f1;
}

.nav-item i {
  font-size: 20px;
  margin-bottom: 4px;
}

/* Responsive for larger screens */
@media (min-width: 768px) {
  .home-page {
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }

  .bottom-nav {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
  }

  .categories-grid {
    gap: 20px;
  }

  .category-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }

  .category-name {
    font-size: 13px;
  }
}

/* Profile Page Styles */
.profile-page {
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

.profile-header {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: white;
  padding: 20px 0;
  border-radius: 0 0 20px 20px;
  width: 100%;
}

.profile-header .header-content {
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
}

.back-btn {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 8px;
}

.profile-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.profile-content {
  flex: 1;
  padding: 20px 24px;
  max-width: 100%;
  box-sizing: border-box;
  width: 100%;
}

.profile-form {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.form-group {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.form-group:last-child {
  border-bottom: none;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 500;
}

.input-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-value {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.input-wrapper i {
  color: #ccc;
  font-size: 14px;
}

.logout-section {
  margin-top: 20px;
}

.logout-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Responsive for profile page */
@media (min-width: 768px) {
  .profile-page {
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }
}

/* Withdraw Page Styles */
.withdraw-top-icons {
  display: flex;
  justify-content: space-around;
  background: white;
  margin-bottom: 20px;
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 12px;
}

.top-icon-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: #000000;
  font-size: 14px;
}

.top-icon-item i {
  font-size: 20px;
  color: #000000;
}

.wallet-section {
  padding: 20px;
  margin-bottom: 20px;
}

.wallet-card {
  background: linear-gradient(135deg, #4285f4, #8e2de2);
  border-radius: 16px;
  padding: 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wallet-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.wallet-crown {
  font-size: 20px;
  color: #ffd700;
}

.wallet-balance {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #b2b2bb;
}

.wallet-balance i {
  font-size: 20px;
  color: #ffd700;
}

.wallet-stats {
  display: flex;
  gap: 20px;
}

.wallet-stat {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  border-radius: 12px;
  flex: 1;
}

.wallet-stat i {
  font-size: 16px;
  opacity: 0.8;
}

.stat-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.stat-label {
  font-size: 12px;
  opacity: 0.8;
}

.stat-value {
  font-size: 16px;
  font-weight: bold;
}

.bank-section {
  padding: 0px;
  background: white;
  border-radius: 16px;
}

.bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 10px 0px 10px;
}

.bank-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.bank-title i {
  color: #6366f1;
}

.add-bank-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #22c55e;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.add-bank-btn:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

.bank-empty {
  background: white;
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.empty-icon {
  margin-bottom: 16px;
}

.empty-icon i {
  font-size: 48px;
  color: #ccc;
}

.empty-text p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.empty-text p:first-child {
  font-weight: 600;
  margin-bottom: 4px;
}

/* Bank Card Styles */
.bank-card {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid #60a5fa;
  margin-bottom: 16px;
}

.bank-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bank-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.bank-icon {
  width: 20px;
  height: 20px;
  color: #6366f1;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.bank-details {
  flex: 1;
}

.bank-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.account-number {
  font-size: 14px;
  color: #333;
  margin-bottom: 2px;
  font-weight: 500;
}

.account-name {
  font-size: 12px;
  color: #666;
  margin-bottom: 0;
}

.bank-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.action-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s;
}

.action-btn.verified {
  background: #22c55e;
  color: white;
}

.action-btn.verified:hover {
  background: #16a34a;
  transform: scale(1.1);
}

.action-btn.delete {
  background: #ef4444;
  color: white;
}

.action-btn.delete:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Withdraw Amount Section */
.withdraw-amount-section {
  margin-top: 20px;
}

.amount-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px 0;
}

.amount-input-container {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.amount-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 32px;
  font-weight: bold;
  color: #333;
  text-align: center;
  background: transparent;
  padding: 10px 0;
}

.amount-input::placeholder {
  color: #ccc;
}

.withdraw-info {
  background: #fef7ed;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid #f59e0b;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #92400e;
}

.info-item i {
  color: #f59e0b;
}

.info-list {
  margin: 0;
  padding-left: 20px;
  color: #92400e;
}

.info-list li {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.withdraw-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.withdraw-submit-btn:hover {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

/* Security Section */
.security-section {
  padding: 20px;
  margin-top: 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 100px;
}

.security-header {
  text-align: center;
  margin-bottom: 16px;
}

.security-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  color: white;
  font-size: 24px;
}

.security-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.security-description {
  text-align: center;
  margin-bottom: 24px;
}

.security-description p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 4px 0;
}

.security-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  color: #00ff00;
  font-size: 20px;
}

.feature-text {
  text-align: center;
}

.feature-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.feature-subtitle {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* Order Tracking Page Styles */
.tracking-page {
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

.tracking-header {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: white;
  padding: 20px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
}
.header-content h1 {
  display: flex;
  text-align: center;
  align-items: center;
}

.tracking-header .header-content {
  padding: 0 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 46px;
  height: 46px;
  border-radius: 6px;
}

.tracking-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.tab-navigation {
  display: flex;
  justify-content: space-evenly;
  background: #dddcdc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 32px;
  margin: 20px 0;
  width: calc(100% - 40px);
  margin-left: 20px;
  margin-right: 20px;
}

.tab-btn {
  padding: 8px 12px;
  background: none;
  border: none;
  font-size: 14px;
  color: #000000;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  width: 100%;
  margin: 4px;
}

.tab-btn.active {
  font-weight: 600;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 32px;
}

.order-card {
  border-radius: 16px;
  margin-bottom: 16px;
  padding: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  /* border-left: 4px solid #e7ff5f; */
  overflow: hidden;
}

.order-cardx {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  border-radius: 16px;
  margin-bottom: 16px;
  padding: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  /* border-left: 4px solid #2dff7d; */
  overflow: hidden;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.order-number {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 700;
}

.order-numberx {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000000;
  font-weight: 700;
}

.order-number i {
  color: #6366f1;
  font-size: 14px;
}

.order-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-delivery {
  background: #fef3c7;
  color: #d97706;
}

.status-deliveryx {
  background: linear-gradient(135deg, #ff6b35, #ec4899);
  color: #ffffff;
}

.order-body {
  padding: 0px 20px 20px 20px;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-direction: row;
  justify-content: start;
}

.product-icon {
  width: 48px;
  height: 48px;
  background: #dddcdc;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon i {
  font-size: 20px;
  color: #6b7280;
}

.product-details h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
}

.product-price {
  margin: 0;
  font-size: 14px;
  color: #ffffff;
}

.product-pricex {
  margin: 0;
  font-size: 14px;
  color: #000000;
}

.order-timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #ffffff;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #000000;
}

.timeline-itemx {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #ffffff;
}

.timeline-item i {
  width: 16px;
  font-size: 14px;
  color: #9ca3af;
}

/* Responsive for tracking page */
@media (min-width: 768px) {
  .tracking-page {
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }
}

/* Profile Stats Vertical Layout */
.stats-section-vertical {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: white;
}

.stat-item-vertical {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  gap: 16px;
}

.stat-item-vertical .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
}

.stat-item-vertical:first-child {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.stat-item-vertical .stat-content {
  flex: 1;
}

.stat-item-vertical .stat-label {
  font-size: 14px;
  color: #666;
}

.stat-item-vertical .stat-value {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.logout-section-inline {
  margin-top: 8px;
}

.logout-btn-new {
  width: 100%;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logout-btn-new:hover {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Recommended Products Section */
.recommended-section {
  background: white;
  padding: 1rem;
  border-bottom: 2px solid #d8d8d8;
}

.recommended-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.recommended-item {
  background: white;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.recommended-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-image-container {
  position: relative;
  margin-bottom: 12px;
}

.recommended-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
}

.discount-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ef4444;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: bold;
}

.favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.favorite-btn:hover {
  background: white;
  color: #ef4444;
}

.recommended-details h4 {
  font-size: 13px;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.4;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.price-info {
  margin-bottom: 8px;
}

.old-price {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-right: 8px;
}

.new-price {
  font-size: 16px;
  color: #ef4444;
  font-weight: bold;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars i {
  font-size: 12px;
  color: #fbbf24;
}

.review-count {
  font-size: 12px;
  color: #666;
}

/* Report Page Styles */
.report-card {
  background: linear-gradient(135deg, #ff6b35, #ec4899);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  color: white;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.report-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.stat-col {
  flex: 1;
  text-align: left;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
  line-height: 1.3;
  color: white;
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.user-info-section {
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}

.user-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.user-info-row:last-child {
  margin-bottom: 0;
}

.user-label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.user-amount {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.user-id {
  font-size: 14px;
  color: #666;
}

.user-status {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* style.css - Lazada UI Clone */
:root {
  --primary-color: #f3005b; /* สีชมพู Lazada */
  --bg-color: #f5f5f5;
  --text-main: #212121;
  --text-sub: #757575;
  --orange: #ff6b00;
}

/* Header Styles */
.laz-header {
  background: white;
  padding: 10px 15px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.search-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.laz-logo {
  height: 30px;
  width: auto;
}

.search-input-box {
  flex-grow: 1;
  background: #f3f3f3;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  color: #888;
  font-size: 14px;
  border: 1px solid #ddd;
}

.search-input-box input {
  border: none;
  background: transparent;
  width: 100%;
  margin-left: 8px;
  outline: none;
}

/* Quick Menu Icons (Coins, Coupon, etc.) */
/* Search Section */
.search-section {
  background: white;
  padding: 12px 15px 8px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  border: 2px solid #ff4081;
  padding: 4px;
  background: white;
}

.hot-tag {
  background: linear-gradient(135deg, #ff1744, #ff4081);
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
  flex-shrink: 0;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-text {
  flex: 1;
  color: #666;
  font-size: 13px;
  padding-right: 30px;
}

.search-input::placeholder {
  color: #999;
}

.search-icon {
  color: #666;
  font-size: 16px;
  cursor: pointer;
}

.search-btn {
  background: linear-gradient(135deg, #ff1744, #ff4081);
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.search-tags {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: none;
}

.search-tags::-webkit-scrollbar {
  display: none;
}

.tag-item {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f5f5f5;
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tag-item i {
  font-size: 10px;
  color: #666;
}

.tag-item:hover {
  background: #e0e0e0;
}

.quick-menu {
  background: white;
  padding: 10px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.coin-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  background-color: #fffbef;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.center-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 42px;
}

.coin-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.coin-icon i {
  color: #ff6b00;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-wrap {
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, #ff9100, #ffac4e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.coin-info {
  flex: 1;
}

.coin-amount {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  display: flex;
  flex-direction: row;
}

.coin-subtitle {
  font-size: 14px;
  color: #333;
  font-weight: bold;
}

.coin-reward {
  font-size: 14px;
  width: 100%;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  background: #fff5f8;
  width: 100%;
}

.menu-itemm {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 2px;
  background: #fff5f8;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  flex: 1;
  padding: 1rem;
}
.menu-itemm:nth-child(2) {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.menu-itemm:nth-child(1) {
  margin-left: 0.5rem;
}

.menu-itemm:nth-child(3) {
  margin-right: 0.5rem;
}

.menu-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.menu-item span {
  font-size: 11px;
  color: #333;
  text-align: center;
}

/* Banner Slider */
.banner-container {
  background: white;
  padding: 10px;
}
.banner-box {
  display: none;
  border-radius: 0px;
  overflow: hidden;
}
.banner-img {
  width: 100%;
  border-radius: 0px;
  display: block;
}

/* Welcome Benefits (3 Columns) */
.welcome-section {
  background: white;
  padding: 15px;
}

.section-title {
  font-weight: bold;
  color: #d84d80;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.benefit-card {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 5px;
  text-align: center;
  position: relative;
  background: white;
}

.benefit-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  margin-bottom: 5px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.price-text {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 13px;
}

.discount-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--primary-color);
  color: white;
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 2px;
}

.discount-badge-inline {
  background: var(--primary-color);
  color: white;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 2px;
  font-weight: 500;
}

.coupon-cardd {
  background: #fff0f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.btn-collect {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 4px 15px;
  border-radius: 12px;
  font-size: 12px;
  margin-top: 5px;
  cursor: pointer;
}

/* Horizontal Scroll Categories */
.h-scroll-section {
  background: white;
  padding: 15px;
}
.h-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 5px;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  cursor: grab;
  user-select: none;
}
.h-scroll-container:active {
  cursor: grabbing;
}
.h-scroll-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome */
}
.cat-card {
  min-width: 100px;
  border: 1px solid #eee;
  border-radius: 6px;
  text-align: center;
  padding-bottom: 8px;
  position: relative;
}
.cat-tag {
  background: var(--primary-color);
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 6px 0 6px 0;
}

/* Product Feed (2 Columns) */
.product-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feed-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 10px;
}

.feed-img {
  width: 100%;
  object-fit: fill;
}

.feed-details {
  padding: 8px;
}

.feed-title {
  font-size: 13px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

.feed-price {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: bold;
  margin-top: 5px;
}

.feed-old-price {
  font-size: 10px;
  color: #999;
  text-decoration: line-through;
}

/* Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  border-top: 1px solid #eee;
  z-index: 1000;
}
.nav-item {
  text-align: center;
  color: #999;
  text-decoration: none;
  font-size: 10px;
}
.nav-item.active {
  color: var(--primary-color);
}
.nav-item i {
  font-size: 18px;
  margin-bottom: 3px;
  display: block;
}
.container-sm {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.coupon-card {
  display: flex;
  width: 100%;
  background-color: #fcd9e5;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-direction: row;
  padding-top: 1rem;
  flex-direction: column;
}
.coupon-cardd {
  display: flex;
  width: 100%;
  background-color: #fcd9e5;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-direction: row;
  padding-top: 2rem;
}

/* --- ส่วนซ้าย: ปรับเป็น 50% --- */
.card-left {
  width: 50%; /* เปลี่ยนจาก 80px เป็น 50% */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 0; /* อยู่ชั้นล่าง */
  padding-left: 2%;
}

.icon-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #ddd;
  border: 2px solid white;
}

/* --- ส่วนขวา: ปรับเป็น 50% --- */
.card-right {
  width: 50%; /* เปลี่ยนจาก flex-grow เป็น 50% */
  background: 
      /* Layer บน: แสงวงกลมสีขาวจางๆ ตรงมุมซ้ายบน */ radial-gradient(
      circle at 20% 0%,
      rgba(255, 255, 255, 0.4) 0%,
      transparent 50%
    ),
    /* Layer ล่าง: พื้นหลังไล่สีปกติ */
      linear-gradient(90deg, #ff6b9d 0%, #ff3366 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 30px; /* ลด padding ขวาลงนิดหน่อยเพราะพื้นที่แคบลง */
  height: 55px;

  /* รอยตัดเฉียง */
  clip-path: polygon(15px 0, 100% 0, 100% 100%, 0% 100%);

  /* ดึงมาทางซ้ายให้ทับรอยต่อตรงกลาง */
  margin-left: -20px;
  position: relative;
  z-index: 1; /* อยู่ชั้นบน */
}

.text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tier-title {
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
}

.diamond-icon {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 100%;
}

.voucher-price {
  font-size: 13px;
  font-weight: 5 00;
  opacity: 0.9;
  white-space: nowrap; /* ป้องกันข้อความขึ้นบรรทัดใหม่ */
}

.arrow-icon {
  font-size: 20px;
  font-weight: 300;
  opacity: 0.8;
  margin-left: 5px;
  cursor: pointer;
}

/* คอนเทนเนอร์หลัก */
.menu-container {
  display: flex;
  width: 100%;
  background-color: #fff;
  height: 130px;
  /* ไม่มี border-radius ที่กรอบใหญ่ตามขอ */
}

/* การแบ่งช่อง 3 ช่องเท่าๆ กัน */
.menu-item {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 2px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.menu-item:last-child {
  border-right: none;
}

/* --- ช่องที่ 1: FREE COINS --- */
.coin-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-free-coins {
  background-color: #ff6b9d;
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px; /* ปุ่มในรูปมีความมนนิดหน่อย */
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}
.btn-free-coins:hover {
  background-color: #ff3366;
}
/* สร้างเหรียญจำลองด้วย CSS */
.coin-decor {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 150px;
  display: flex;
  justify-content: center;
}
.coin {
  width: 25px;
  height: 25px;
  background: radial-gradient(circle at 30% 30%, #ffd700, #ffa500);
  border-radius: 50%;
  border: 2px solid #e6ac00;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.coin:nth-child(2) {
  margin-top: 10px;
  z-index: 1;
}

/* --- ส่วนหัว (Tab ด้านบน) ของช่อง 2 และ 3 --- */
.header-tab {
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  margin-bottom: 5px;
  /* สร้างทรงสี่เหลี่ยมคางหมูหัวกลับนิดๆ */
  clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
}

.tab-pink {
  background-color: #ffcedf;
  color: #333;
}

.tab-blue {
  background-color: #cfeaf7;
  color: #333;
}

/* --- เนื้อหาตัวเลข --- */
.main-value {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ไอคอนเล็กๆ หลังตัวเลข */
.small-icon {
  display: inline-block;
  font-size: 8px;
  padding: 1px 3px;
  border-radius: 2px;
  color: white;
  font-weight: bold;
  vertical-align: middle;
}
.icon-percent {
  background-color: #ff3366;
}
.icon-wallet {
  background-color: #0099ff;
}

/* --- ข้อความรอง --- */
.sub-text {
  font-size: 10px;
  color: black;
  margin-top: 2px;
  white-space: nowrap;
}

/* --- ข้อความ Action (เก็บ >, เปิดใช้งาน >) --- */
.action-text {
  font-size: 11px;
  font-weight: 600;
  color: #000;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arrow-circle {
  background-color: #333;
  color: white;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quick Access Section */
.quick-access-section {
  background: white;
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
  gap: 10px;
  width: 100%;
  border-top: 2px solid #d8d8d8;
  border-bottom: 2px solid #d8d8d8;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  user-select: none;
}

.quick-access-section:active {
  cursor: grabbing;
}

.quick-access-section::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari/Edge */
}

.access-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 60px;
  flex-shrink: 0;
  padding: 1rem;
}

.access-icon-wrapper {
  position: relative;
}

.promo-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #ff1744, #ff4081);
  color: white;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 8px;
  font-weight: bold;
  z-index: 1;
}

.access-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.access-icon i {
  font-size: 24px;
  color: white;
}

.access-label {
  font-size: 10px;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

/* Order Status Section */
.order-status-section {
  background: white;
  padding: 15px 20px;
  border-bottom: 2px solid #d8d8d8;
}

.section-header-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-header-order h3 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.view-all-link {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
}

.view-all-link i {
  font-size: 10px;
}

.order-status-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

@media (max-width: 400px) {
  .order-status-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.status-icon {
  width: 45px;
  height: 45px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon i {
  font-size: 20px;
  color: #797979;
}

.status-label {
  font-size: 10px;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

/* Favorites Section */
.favorites-section {
  background: white;
  width: 100%;
  border-bottom: 2px solid #d8d8d8;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

@media (max-width: 400px) {
  .favorites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.favorite-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.favorite-icon {
  width: 45px;
  height: 45px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.favorite-icon i {
  font-size: 20px;
  color: #666;
}

.favorite-count {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: #ff1744;
  color: white;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 8px;
  min-width: 15px;
  text-align: center;
}

.favorite-label {
  font-size: 10px;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

/* LazFin Section */
.lazfin-section {
  background: white;
  display: flex;
  width: 100%;
  flex-direction: column;
  border-bottom: 2px solid #d8d8d8;
}

.lazfin-header {
  padding-top: 15px;
  padding-left: 20px;
}

.lazfin-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lazfin-header i {
  font-size: 14px;
  color: #666;
}

.lazfin-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 1rem;
}

@media (max-width: 400px) {
  .lazfin-content {
    grid-template-columns: 2fr 2fr;
  }
}

.lazfin-card {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lazfin-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lazfin-amount {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lazfin-sublabel {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

.topup-btn {
  color: #0099ff;
  font-weight: 500;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
  background: #d1f5fb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topup-btn:hover {
  text-decoration: underline;
}

/* Menu Grid Section */
.menu-grid-section {
  background: white;
  padding: 15px 0;
  margin-bottom: 10px;
}

.menu-grid-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.menu-grid-scroll:active {
  cursor: grabbing;
}

.menu-grid-scroll::-webkit-scrollbar {
  display: none;
}

.menu-grid-page {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
  flex-shrink: 0;
}

.menu-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
}

.menu-grid-item i {
  font-size: 24px;
  color: #797979;
}

.menu-grid-item span {
  font-size: 11px;
  color: #333;
  line-height: 1.2;
}

.menu-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 15px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #333;
  width: 20px;
  border-radius: 3px;
}
