:root.rk-ui {
  --rk-bg: #f5f1ea;
  --rk-bg-soft: #fbf8f3;
  --rk-surface: #fffdf9;
  --rk-surface-strong: #ffffff;
  --rk-text: #211f1c;
  --rk-muted: #746f68;
  --rk-brand: #ee9d2b;
  --rk-brand-dark: #d98210;
  --rk-border: #eadfce;
  --rk-shadow: 0 14px 38px rgba(78, 57, 28, 0.10);
  background: var(--rk-bg);
}

.rk-customer-service-closed,
[hidden].rk-customer-service-closed {
  display: none !important;
}

/* Customer service is closed: remove icon-only and floating entrances. */
.rk-ui .img_box:has(> .customer_service),
.rk-ui .customer_service,
.rk-ui .customer-service,
.rk-ui .customerService,
.rk-ui .kefu-icon,
.rk-ui .servece_box,
.rk-ui .icon-kefu {
  display: none !important;
}

.rk-ui body {
  color: var(--rk-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(238, 157, 43, 0.09), transparent 30rem),
    var(--rk-bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.download-content {
  display: none !important;
}

/* Buyer mobile: remove the app-download promotion card. */
.rk-buyer-h5 .download_wrap {
  display: none !important;
}

/* Buyer desktop */
.rk-buyer-pc .home.view {
  background: transparent !important;
}

.rk-buyer-pc .header-fiexd {
  background: rgba(255, 253, 249, 0.93) !important;
  border-bottom: 1px solid rgba(227, 214, 194, 0.85);
  box-shadow: 0 8px 26px rgba(71, 52, 27, 0.07);
  backdrop-filter: blur(14px);
}

.rk-buyer-pc .header-search .el-input__inner {
  height: 42px !important;
  border: 1px solid var(--rk-border) !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: 0 5px 16px rgba(73, 54, 30, 0.06);
}

.rk-buyer-pc .header-search button,
.rk-buyer-pc .header-search .el-button {
  border-radius: 10px !important;
  background: linear-gradient(135deg, #f4aa3f, var(--rk-brand-dark)) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 14px rgba(217, 130, 16, 0.25);
}

.rk-buyer-pc .main-banner {
  margin-top: 18px !important;
  border: 1px solid var(--rk-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--rk-shadow);
  background: var(--rk-surface);
}

.rk-buyer-pc .main-banner-left,
.rk-buyer-pc .main-banner-right,
.rk-buyer-pc .main-banner img {
  overflow: hidden;
}

.rk-buyer-pc .main-classification {
  margin-top: 28px !important;
}

.rk-buyer-pc .main-classification-title {
  margin-bottom: 14px;
  padding: 0 4px;
}

.rk-buyer-pc .main-classification-title h2,
.rk-buyer-pc .main-classification-title > div:first-child {
  color: var(--rk-text) !important;
  font-weight: 750 !important;
  letter-spacing: -0.02em;
}

.rk-buyer-pc .home-category-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  height: auto !important;
  padding-bottom: 30px;
}

.rk-buyer-pc .main-classification-item {
  width: 100% !important;
  height: 252px !important;
  min-width: 0 !important;
  padding: 12px !important;
  flex-direction: column !important;
  border: 1px solid var(--rk-border) !important;
  border-radius: 18px !important;
  background: var(--rk-surface-strong) !important;
  box-shadow: 0 8px 20px rgba(73, 54, 30, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rk-buyer-pc .main-classification-item:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 157, 43, 0.55) !important;
  box-shadow: 0 16px 30px rgba(73, 54, 30, 0.12);
}

.rk-buyer-pc .main-classification-item .img-content {
  width: 100% !important;
  height: 190px !important;
  overflow: hidden;
  border-radius: 13px;
  background: #f7f4ef;
}

.rk-buyer-pc .main-classification-item .img-content img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: transform 0.25s ease;
}

.rk-buyer-pc .main-classification-item:hover .img-content img {
  transform: scale(1.035);
}

.rk-buyer-pc .main-classification-item > span {
  width: 100%;
  margin-top: 12px;
  color: var(--rk-text) !important;
  font-size: 15px !important;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Buyer mobile */
.rk-buyer-h5 body {
  background: #ece6dd !important;
}

.rk-buyer-h5 #app {
  width: 100%;
  max-width: 1180px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--rk-bg-soft);
  box-shadow: 0 0 45px rgba(54, 40, 22, 0.12);
}

.rk-buyer-h5 .box,
.rk-buyer-h5 .home {
  background: var(--rk-bg-soft) !important;
}

.rk-buyer-h5 .home .van-nav-bar {
  left: 50% !important;
  width: 100% !important;
  max-width: 1180px;
  transform: translateX(-50%);
  background: rgba(249, 245, 238, 0.94) !important;
  border-bottom: 1px solid var(--rk-border);
  box-shadow: 0 5px 18px rgba(64, 46, 24, 0.07);
  backdrop-filter: blur(14px);
}

.rk-buyer-h5 .search-contain {
  padding-top: 10px;
}

.rk-buyer-h5 .van-search,
.rk-buyer-h5 .van-search__content {
  background: transparent !important;
}

.rk-buyer-h5 .van-search__content {
  border: 1px solid var(--rk-border);
  box-shadow: 0 6px 18px rgba(62, 46, 27, 0.06);
}

.rk-buyer-h5 .banner-div,
.rk-buyer-h5 .my-swipe,
.rk-buyer-h5 .swiper_image,
.rk-buyer-h5 .swiper_image img {
  border-radius: 22px !important;
  overflow: hidden;
}

.rk-buyer-h5 .banner-div {
  border: 1px solid var(--rk-border);
  box-shadow: var(--rk-shadow);
}

.rk-buyer-h5 .ks_daohang {
  margin-top: 18px !important;
  padding: 14px 10px 10px;
  border: 1px solid var(--rk-border);
  border-radius: 18px;
  background: var(--rk-surface);
  box-shadow: 0 9px 24px rgba(66, 48, 25, 0.07);
}

.rk-buyer-h5 .ks_danghang_img_contain {
  border-radius: 13px;
  background: #f7f2e9;
}

.rk-buyer-h5 .ks_daohang-item-text {
  color: var(--rk-text) !important;
  font-weight: 600;
}

.rk-buyer-h5 .navbar {
  left: 50% !important;
  width: 100% !important;
  max-width: 1180px;
  transform: translateX(-50%);
  border-top: 1px solid var(--rk-border);
  background: rgba(255, 253, 249, 0.94) !important;
  box-shadow: 0 -10px 28px rgba(62, 45, 23, 0.10);
  backdrop-filter: blur(16px);
}

.rk-buyer-h5 .navbar .on,
.rk-buyer-h5 .navbar .on * {
  color: var(--rk-brand-dark) !important;
}

/* Mobile buyer footer: the About Us block is intentionally disabled. */
html.rk-buyer-h5 .site-footer .footer-links > section:last-child {
  display: none !important;
}

/* Seller desktop */
.rk-seller-pc .login-info-content {
  background: var(--rk-bg-soft) !important;
}

.rk-seller-pc .bg-content {
  position: relative;
  overflow: hidden;
}

.rk-seller-pc .bg-content::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(25, 22, 18, 0.40), rgba(160, 94, 16, 0.32)),
    linear-gradient(to top, rgba(24, 20, 16, 0.28), transparent 55%);
  pointer-events: none;
}

.rk-seller-pc .bg-content .txt-content,
.rk-seller-pc .bg-content .circles {
  position: relative;
  z-index: 2;
}

.rk-seller-pc .login-content {
  background:
    radial-gradient(circle at 100% 0%, rgba(238, 157, 43, 0.12), transparent 25rem),
    var(--rk-bg-soft) !important;
}

.rk-seller-pc .login-container {
  width: 486px !important;
  height: auto !important;
  padding: 28px !important;
  box-sizing: border-box;
  border: 1px solid var(--rk-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--rk-shadow);
  backdrop-filter: blur(12px);
}

.rk-seller-pc .login-tab {
  color: var(--rk-muted);
}

.rk-seller-pc .login-tab .active,
.rk-seller-pc .login-tab [class*="active"] {
  color: var(--rk-brand-dark) !important;
  border-color: var(--rk-brand) !important;
}

.rk-seller-pc .login-input .el-input__inner,
.rk-seller-pc .verification-code .el-input__inner {
  border: 1px solid var(--rk-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 5px 15px rgba(64, 47, 26, 0.05);
}

.rk-seller-pc .login-input .el-input__inner:focus,
.rk-seller-pc .verification-code .el-input__inner:focus {
  border-color: var(--rk-brand) !important;
  box-shadow: 0 0 0 4px rgba(238, 157, 43, 0.13);
}

.rk-seller-pc .login-button {
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #f5ad43, var(--rk-brand-dark)) !important;
  box-shadow: 0 10px 24px rgba(217, 130, 16, 0.28) !important;
}

/* Seller mobile */
.rk-seller-h5 body {
  background:
    radial-gradient(circle at 50% -10%, rgba(238, 157, 43, 0.18), transparent 26rem),
    #ebe5dc !important;
}

.rk-seller-h5 #app {
  width: 100%;
  max-width: 540px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--rk-bg-soft);
  box-shadow: 0 0 45px rgba(53, 39, 22, 0.16);
}

.rk-seller-h5 .login-container {
  min-height: 100vh !important;
  background:
    radial-gradient(circle at 50% 8%, rgba(238, 157, 43, 0.13), transparent 17rem),
    var(--rk-bg-soft) !important;
}

.rk-seller-h5 .header-area,
.rk-seller-h5 .header-content {
  height: 64px !important;
  box-sizing: border-box;
}

.rk-seller-h5 .header-area {
  padding: 10px 18px;
  border-bottom: 1px solid rgba(234, 223, 206, 0.80);
  background: rgba(255, 253, 249, 0.90);
  backdrop-filter: blur(14px);
}

.rk-seller-h5 .header-content {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.rk-seller-h5 .header-title {
  margin: 0 !important;
  color: var(--rk-text) !important;
  font-size: 20px !important;
  font-weight: 750 !important;
}

.rk-seller-h5 .register-container .header-title,
.rk-seller-h5 .login-container .header-title {
  color: #ffffff !important;
}

.rk-seller-h5 .language-selector {
  width: auto !important;
  height: auto !important;
  margin-left: auto;
}

.rk-seller-h5 .main-content {
  min-height: calc(100vh - 64px) !important;
  height: auto !important;
  padding: 24px 20px 30px;
  box-sizing: border-box;
}

.rk-seller-h5 .logo-area,
.rk-seller-h5 .logo-container {
  width: 100% !important;
  height: auto !important;
  min-height: 112px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.rk-seller-h5 .logo-image {
  width: 230px !important;
  height: auto !important;
  max-height: 92px;
  object-fit: contain !important;
}

.rk-seller-h5 .login-form-container {
  width: 100% !important;
  height: auto !important;
  padding: 24px !important;
  box-sizing: border-box;
  border: 1px solid var(--rk-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--rk-shadow);
}

.rk-seller-h5 .login-type-tabs,
.rk-seller-h5 .form-content,
.rk-seller-h5 .input-group,
.rk-seller-h5 .input-wrapper,
.rk-seller-h5 .custom-input,
.rk-seller-h5 .light.input-item,
.rk-seller-h5 .links-area {
  width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
}

/* Keep the country selector compact so the bound account field remains visible. */
.rk-seller-h5 .light.input-item {
  min-height: 48px;
  padding: 0 14px !important;
  border: 1px solid rgba(202, 210, 240, 0.8) !important;
  border-radius: 13px !important;
  background: rgba(248, 250, 255, 0.96) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rk-seller-h5 .light.input-item:focus-within {
  border-color: var(--rk-brand) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(238, 157, 43, 0.13), 0 7px 18px rgba(77, 55, 25, 0.07);
}

.rk-seller-h5 .light.input-item > .area-code {
  width: auto !important;
  height: 46px !important;
  max-width: 108px;
  flex: 0 0 auto !important;
  padding-right: 12px !important;
  border-right: 1px solid rgba(202, 210, 240, 0.75);
}

.rk-seller-h5 .light.input-item > .area-code > p {
  margin: 0 8px 0 0 !important;
  white-space: nowrap;
}

.rk-seller-h5 .light.input-item > .van-cell {
  width: auto !important;
  min-width: 0 !important;
  min-height: 46px;
  margin-left: 12px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
}

.rk-seller-h5 .light.input-item .van-cell__value,
.rk-seller-h5 .light.input-item .van-field__body,
.rk-seller-h5 .light.input-item .van-field__control {
  width: 100% !important;
  min-width: 0 !important;
}

.rk-seller-h5 .light.input-item .van-field__control {
  height: 28px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  outline: 0;
}

.rk-seller-h5 .login-type-tabs {
  display: flex !important;
  gap: 20px;
  margin-bottom: 20px;
  color: var(--rk-muted);
  font-weight: 650;
}

.rk-seller-h5 .input-group {
  margin-bottom: 4px;
  gap: 8px;
}

.rk-seller-h5 .input-label {
  color: #3f4858 !important;
  font-weight: 650 !important;
  line-height: 1.35;
}

.rk-seller-h5 .van-cell,
.rk-seller-h5 input {
  border-radius: 13px !important;
}

.rk-seller-h5 .van-cell {
  border: 1px solid var(--rk-border) !important;
  background: #fff !important;
  box-shadow: 0 5px 15px rgba(64, 47, 26, 0.05);
}

.rk-seller-h5 .login-form-container button {
  min-height: 48px;
  border: 0 !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #f5ad43, var(--rk-brand-dark)) !important;
  box-shadow: 0 9px 22px rgba(217, 130, 16, 0.25);
}

.rk-seller-h5 .login-form-container .link-button {
  width: auto !important;
  min-height: 36px;
  height: auto !important;
  padding: 5px 6px !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #9a5700 !important;
  font-weight: 700 !important;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.rk-seller-h5 .links-area {
  min-height: 48px;
  gap: 14px !important;
  margin-top: 0 !important;
  align-items: center !important;
}

.rk-seller-h5 .register-link {
  min-width: 0;
  display: flex !important;
  flex: 1 1 auto;
  align-items: center !important;
  gap: 4px;
  flex-wrap: wrap;
}

.rk-seller-h5 .register-link .text-hint {
  color: #687183 !important;
  line-height: 1.45;
}

@media (max-width: 420px) {
  .rk-seller-h5 .main-content {
    padding: 18px 14px 26px;
  }

  .rk-seller-h5 .login-form-container {
    padding: 20px 16px !important;
    border-radius: 18px;
  }

  .rk-seller-h5 .login-type-tabs {
    gap: 8px;
  }

  .rk-seller-h5 .links-area {
    align-items: flex-start !important;
  }
}

/* Merchant onboarding */
.rk-promote body {
  background: var(--rk-bg) !important;
}

.rk-promote .merchantSettled {
  background: transparent !important;
}

.rk-promote .mer-chant-header {
  isolation: isolate;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  background: #2d241b;
  box-shadow: 0 16px 38px rgba(41, 31, 19, 0.18);
}

.rk-promote .mer-chant-header .bg-image {
  z-index: 0 !important;
  object-fit: cover;
}

.rk-promote .mer-chant-header .content {
  z-index: 2;
}

.rk-promote .mer-chant-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(34, 25, 17, 0.72), rgba(34, 25, 17, 0.34) 50%, rgba(34, 25, 17, 0.08));
}

.rk-promote .mer-chant-header .down-header {
  z-index: 3;
}

.rk-promote .mer-chant-header .down-header .left img {
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.9);
}

.rk-promote .mer-chant-header .content-text {
  z-index: 3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.rk-promote .mer-chant-header .content-text p {
  color: rgba(255, 255, 255, 0.84) !important;
}

.rk-promote .mer-chant-header .title {
  color: #f5a534 !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

.rk-promote .step-div {
  position: relative;
  z-index: 3;
}

.rk-promote .merchantSettled-wap .content2 {
  border: 1px solid var(--rk-border);
  border-radius: 24px !important;
  background: rgba(255, 253, 249, 0.96) !important;
  box-shadow: var(--rk-shadow);
}

.rk-promote .merchantSettled-wap .el-input__inner,
.rk-promote .merchantSettled-wap .el-textarea__inner {
  border-color: var(--rk-border) !important;
  border-radius: 11px !important;
  background: #fff !important;
}

.rk-promote .merchantSettled-wap .el-input__inner:focus,
.rk-promote .merchantSettled-wap .el-textarea__inner:focus {
  border-color: var(--rk-brand) !important;
  box-shadow: 0 0 0 4px rgba(238, 157, 43, 0.12);
}

.rk-promote .merchantSettled-wap .el-button--primary {
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #f5ad43, var(--rk-brand-dark)) !important;
  box-shadow: 0 9px 22px rgba(217, 130, 16, 0.24);
}

@media (max-width: 900px) {
  .rk-buyer-pc .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rk-buyer-pc .main-classification-item {
    height: 224px !important;
  }

  .rk-buyer-pc .main-classification-item .img-content {
    height: 164px !important;
  }
}

@media (max-width: 560px) {
  .rk-seller-h5 .main-content {
    padding: 20px 14px 26px;
  }

  .rk-seller-h5 .login-form-container {
    padding: 20px 16px !important;
  }
}
