/* Reset and base styles */
*,
*:before,
*:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: -apple-system, "Microsoft YaHei", BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

a {
  text-decoration: none;
  color: #333333;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 850px) {
  html {
    font-size: unset;
  }

  .isMobile {
    display: none;
  }

  .isdesktop {
    display: block;
  }
}

/* 屏幕小于 850px 时 */
@media (max-width: 850px) {
  html {
    font-size: 0.26666666vw !important;
  }


  .isMobile {
    display: block;
  }

  .isdesktop {
    display: none;
  }
}


/* Container styles */
/* .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
} */

/* Common UI components */
.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #4a90e2;
  color: white;
}

.btn-primary:hover {
  background-color: #3a80d2;
}

.btn-outline {
  background-color: white;
  color: #4a90e2;
  border: 1px solid #4a90e2;
}

.btn-outline:hover {
  background-color: #f0f7ff;
}

/* Form elements */
input, textarea, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: #4a90e2;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.mt-10 {
  margin-top: 10px;
}
.pt75{
  padding-top: 75px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mcontant{
  padding-top: 53rem;
}
/* Hot tag */
.hot-tag {
  background-color: #ff5252;
  color: white;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: bold;
}

/* QR code specific styles */
.qr-code-wrapper {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  height: 200px;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .hidden-mobile {
    display: none;
  }
  
  .flex-mobile-col {
    flex-direction: column;
  }
}

@media (min-width: 769px) {
  .hidden-desktop {
    display: none;
  }
}

/* scrollbar */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 20px;
}
