/* ALADDIN 2026-12-03: «Товары из Китая» — в цветах Aladdin (--primary из настроек сайта) */
.china-field { display: flex; align-items: stretch; gap: 8px; }
.china-input { flex: 1 1 auto; height: 48px; font-size: 16px; }
.china-mic {
  flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid #dfdfe6; border-radius: .25rem;
  background: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.china-mic:hover { border-color: var(--primary); }
.china-mic.active { background: var(--primary); color: #fff; border-color: var(--primary); animation: china-pulse 1.2s infinite; }
@keyframes china-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, .15); } 50% { box-shadow: 0 0 0 6px rgba(0, 0, 0, 0); } }
.china-submit { flex: 0 0 auto; height: 48px; padding: 0 24px; font-weight: 700; }
.china-login-note { color: #6c757d; }

.china-price { color: var(--primary); }
.china-badge {
  display: inline-block; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 20px; padding: 2px 12px; margin-bottom: 8px;
}
.china-best { display: flex; gap: 20px; align-items: flex-start; }
.china-best-img { flex: 0 0 200px; }
.china-best-img img { width: 200px; height: 200px; object-fit: cover; border-radius: .25rem; background: #f5f5f5; }
.china-best-info { flex: 1 1 auto; min-width: 0; }
.china-reasons { padding-inline-start: 18px; margin-bottom: 0; font-size: 14px; }
.china-plan summary { cursor: pointer; }

.china-sort { width: auto; min-width: 200px; }
.china-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.china-card {
  display: flex; flex-direction: column; text-align: start; background: #fff; border: 1px solid #ececf1;
  border-radius: .25rem; padding: 0; overflow: hidden; cursor: pointer; transition: box-shadow .2s, transform .2s; color: inherit;
}
.china-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.china-card-img { display: block; aspect-ratio: 1 / 1; background: #f5f5f5; }
.china-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.china-card-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; }
.china-card-title {
  font-size: 14px; color: #1b1b28; line-height: 1.35; height: 2.7em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.china-card .china-price { font-size: 17px; }
.china-card-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: #6c757d; }
.china-platform { font-weight: 700; color: #1b1b28; }
.china-card-days { font-size: 12px; color: #1b1b28; background: var(--soft-primary, #f8f0f0); border-radius: 4px; padding: 3px 8px; align-self: flex-start; }

.china-modal { position: fixed; inset: 0; z-index: 1060; background: rgba(0, 0, 0, .5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.china-modal[hidden] { display: none; }
.china-modal-box { position: relative; width: 100%; max-width: 900px; max-height: 92vh; overflow: auto; padding: 24px; }
.china-modal-close { position: absolute; top: 8px; inset-inline-end: 12px; border: 0; background: none; font-size: 30px; line-height: 1; color: #6c757d; cursor: pointer; }
.china-noscroll { overflow: hidden; }
.china-item { display: flex; gap: 24px; }
.china-item-gallery { flex: 0 0 380px; max-width: 380px; }
.china-item-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: .25rem; background: #f5f5f5; }
.china-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.china-thumb { width: 60px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; cursor: pointer; overflow: hidden; }
.china-thumb.active { border-color: var(--primary); }
.china-thumb img { width: 100%; height: 100%; object-fit: cover; }
.china-item-info { flex: 1 1 auto; min-width: 0; }
.china-qty { display: inline-flex; border: 1px solid #dfdfe6; border-radius: .25rem; overflow: hidden; }
.china-qty button { width: 40px; border: 0; background: #f5f5f7; font-size: 18px; cursor: pointer; }
.china-qty input { width: 64px; border: 0; text-align: center; -moz-appearance: textfield; }
.china-qty input::-webkit-outer-spin-button, .china-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* баннер на главной */
.china-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--primary); color: #fff; border-radius: .25rem; padding: 32px 40px; overflow: hidden; position: relative;
}
.china-banner::after {
  content: ''; position: absolute; inset-inline-end: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none;
}
.china-banner-title { font-size: 28px; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.china-banner-text { font-size: 16px; opacity: .92; margin-bottom: 0; }
.china-banner-btn { position: relative; z-index: 1; background: #fff; color: var(--primary); font-weight: 700; padding: 12px 28px; border-radius: .25rem; white-space: nowrap; }
.china-banner-btn:hover { color: var(--hov-primary, var(--primary)); background: #fff; text-decoration: none; opacity: .92; }

@media (max-width: 767px) {
  .china-best { flex-direction: column; }
  .china-best-img, .china-best-img img { width: 100%; flex-basis: auto; height: auto; aspect-ratio: 1 / 1; }
  .china-item { flex-direction: column; }
  .china-item-gallery { flex-basis: auto; max-width: none; }
  .china-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .china-submit { padding: 0 14px; }
  .china-banner { padding: 24px; }
  .china-banner-title { font-size: 22px; }
  .china-sort { min-width: 0; }
}
