.header .gta-icon-menu {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --gta-header-h: 48px;
    --auth-width: 300px;
  }

  .header .gta-icon-menu {
    display: block;
  }


  .header .header-right {
    gap: var(--sp-4);
  }

  .header .header-quick-nav a {
    margin-right: var(--sp-3);
  }

  .header .header-auth-actions {
    gap: var(--sp-3);
  }

  .header .header-quick-nav {
    font-size: var(--fz-xs);
  }

  .auth {
    display: block;
    /* width: calc(var(--auth-width) - var(--auth-padding-x) ) !important; */
  }

  .header-quick-nav {
    display: none;
  }

  .header .gta-icon-menu {
    font-size: 26px;
  }

  .header .header-inner {
    height: var(--gta-header-h);
  }

  .header .header-logo-link {
    margin-left: 5px;
  }
}


.gta-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #075443;
  font-family: inherit;
  white-space: nowrap;
  vertical-align: middle;
  flex-shrink: 0;
}

.gta-brand-logo .gta-brand-logo-icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.gta-brand-logo-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.gta-brand-logo-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
}

.gta-brand-logo-subtitle {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .gta-brand-logo-copy {
    gap: 1px;
  }

  .gta-brand-logo {
    gap: 5px;
  }

  .gta-brand-logo .gta-brand-logo-icon {
    width: 36px;
    height: 36px;
  }

  .gta-brand-logo-title {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .gta-brand-logo-subtitle {
    font-size: 9px;
    letter-spacing: 0.6px;
  }
}

.webSite-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  min-height: 200px;
}

.webSite-empty-state .empty-state-icon {
  font-size: 160px;
  margin-bottom: 16px;
}

.webSite-empty-state .empty-state-message {
  font-size: 14px;
  color: #999;
  margin: 0;
  text-align: center;
}


.shop-card-Header {
  min-height: 200px;
  max-height: 320px;
  padding: 12px;
  margin-left: 10px;
  overflow: hidden;
  overflow-y: auto;
}

.shop-card-Header.loading{
  position: relative;
  min-height: 200px;
}

.shop-card-Header.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: #1890ff;
  border-radius: 50%;
  animation: shop-card-loading-spin 0.8s linear infinite;
}

@keyframes shop-card-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 整体滚动条宽度 */
.shop-card-Header::-webkit-scrollbar {
  display: block;
  width: 8px;
  height: 8px;
}

/* 滚动条轨道 */
.shop-card-Header::-webkit-scrollbar-track {
  background: transparent;
}

/* 滑块 */
.shop-card-Header::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  transition: background 0.3s;
}

/* hover 效果 */
.shop-card-Header::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.45);
}

.shop-card-Header .shop-card--item {
  display: flex;
  flex-direction: column;
  height: unset;
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.shop-card-Header .shop-card--item:last-child {
  border: unset;
}

.shop-card-Header .shop-card--item:hover {
  opacity: 0.8;
}

.shop-card-Header .shop-card--item--title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-card-Header .shop-card--item--body {
  display: flex;
  gap: 12px;
  flex: 1;
}

.shop-card-Header .shop-card--item--img {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
}

.shop-card-Header .shop-card--item--content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.shop-card-Header .shop-card--item--subtitle {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-card-Header .shop-card--item--date {
  font-size: 12px;
}

.shop-card-Header .shop-card--item--info {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

.shop-card-Header .shop-card--item .info-item {
  display: inline-flex;
  align-items: center;
  margin-right: 5px;
}

.shop-card-Header .shop-card--item--price {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-align: right;
  margin-top: -6px;
}

.shop-card-Header__footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.shop-card-Header__summary {
  text-align: left;
  padding: 5px 0;
  padding-left: 20px;
}

.shop-card-Header__count {
  font-size: 14px;
  color: #666;
}

.shop-card-Header__count span {
  font-weight: 600;
  color: #333;
}

.shop-card-Header__total {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.shop-card-Header__btn {
  width: 150px;
  font-size: 14px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-brand);
  transition: all 0.2s ease;
  cursor: pointer;
  min-height: 60px;
}

.shop-card-Header__btn:hover {
  background: var(--brand-500);
}

.shop-card-popover .gta-popover-main{
  padding: 0;
  overflow: hidden;
}

.shop-card-popover button{
  background: unset;
  display: inline-flex;
  align-items: center;
  height: var(--hdr-ctl-h);
  color: var(--color-fg-muted);
  text-decoration: none;
  transition: color .2s ease;
  vertical-align: middle;
  cursor: pointer;
  padding: unset;
  background: unset;
  border: none;
}

.shop-card-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  min-height: 200px;
}

.shop-card-empty .cart-empty-icon {
  font-size: 50px;
  margin-bottom: 16px;
}

.shop-card-empty .cart-empty-text {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.shop-card-Header .shop-card--list {
  /* 无限滚动容器，由父容器控制滚动 */
}

/* 无限滚动加载样式 */
.shop-card-loading {
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  color: #999;
}

.shop-card-no-more {
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  color: #999;
}


.view-record-header {
  overflow-y: auto;
  max-height: 400px;
  padding: 12px;
}

.view-record--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #999;
}

.view-record--empty .empty-text {
  margin-top: 12px;
  font-size: 14px;
}

.view-record--empty i {
  font-size: 140px;
}

 

/* 整体滚动条宽度 */
.view-record-header::-webkit-scrollbar {
  display: block;
  width: 8px;
  height: 8px;
}

/* 滚动条轨道 */
.view-record-header::-webkit-scrollbar-track {
  background: transparent;
}

/* 滑块 */
.view-record-header::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  transition: background 0.3s;
}

/* hover 效果 */
.view-record-header::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.45);
}

.view-record-header .view-record--item {
  display: flex;
  gap: 12px;
  height: unset !important;
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.view-record-header .view-record--item:last-child{
  border: unset;
}

.view-record-header .view-record--item:hover {
  opacity: 0.8;
}
.view-record-header .view-record--item .view-record--item--img{
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio:16/9;
}
.view-record-header .view-record--item img{
  object-fit: cover!important;
}
.view-record-header .view-record--item > div:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.view-record-header .view-record--item .view-record--item--title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.header-quick-nav .record-btn{
  display: inline-flex;
  align-items: center;
  height: var(--hdr-ctl-h);
  color: var(--color-fg-muted);
  text-decoration: none;
  transition: color .2s ease;
  vertical-align: middle;
  cursor: pointer;
  padding: unset;
  background: unset;
  border: none;
}

.currency-switch-header {
  display: inline-flex;
  align-items: center;
  height: var(--hdr-ctl-h);
  /* margin-right: 12px; */
}

.currency-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /* padding: 0px 10px; */
  background: transparent;
  border: none;
  color: var(--color-fg-muted);
  font-size: var(--fz-sm);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: color 0.2s ease;
  border-radius: var(--radius-sm);
} 

.currency-switch-btn:hover {
  color: var(--color-fg);
  background: var(--color-surface-2);
}

.currency-current {
  font-weight: 600;
  height: var(--hdr-ctl-h);
  line-height: var(--hdr-ctl-h);
}

.currency-dialog-tabs {
  display: flex;
  gap: 32px;
  padding: 0;
}

.currency-tab-btn {
  position: relative;
  padding: 0 0 12px;
  background: transparent;
  border: none;
  color: var(--color-fg-muted);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.currency-tab-btn:hover:not(:disabled) {
  color: var(--color-fg);
}

.currency-tab-btn.active {
  color: var(--brand-800);
  font-weight: 600;
}

.currency-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-800);
}

.currency-tab-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.currency-dialog-content {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 8px;
}

.currency-dialog-content::-webkit-scrollbar {
  width: 6px !important;
  display: block !important;
}

.currency-dialog-content::-webkit-scrollbar-track {
  background: transparent;
}

.currency-dialog-content::-webkit-scrollbar-thumb {
  display: block !important;
  background: rgba(22, 111, 64, 0.1);
  border-radius: 3px;
  width: 6px;
  height: auto;
}

.currency-dialog-content::-webkit-scrollbar-thumb:hover {
  background: var(--color-fg-muted);
}

.currency-coming-soon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  color: var(--color-fg-muted);
}

.currency-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  color: var(--color-fg-muted);
}

.currency-section {
  margin-bottom: 24px;
}

.currency-section:last-child {
  margin-bottom: 0;
}

.currency-section-title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-fg-muted);
}

.currency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.currency-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--color-fg);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  gap: 12px;
}

.currency-item:hover {
  background: var(--color-surface-2);
  border-color: var(--color-border);
}

.currency-item.selected {
  background: rgba(22, 111, 64, 0.1);
  border-color: var(--brand-800);
  color: var(--brand-800);
}

.currency-code {
  font-weight: 600;
}

.currency-name {
  color: var(--color-fg-muted);
  font-weight: 400;
  width: 80px;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.currency-item.selected .currency-name {
  color: var(--brand-800);
}

.currency-switch-header--price {
  height: auto;
  min-width: 0;
}
.currency-switch-header--price .currency-switch-btn {
  min-height: 28px;
  padding: 0;
  font-size: 12px;
  color: #52606c;
  white-space: nowrap;
}
.currency-switch-header--price .currency-current {
  height: auto;
  line-height: normal;
}
.currency-switch-header--price .currency-current-name {
  max-width: 5em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.currency-price-sheet {
  padding: 0 16px 16px;
}
.currency-price-sheet .currency-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}
.currency-price-sheet .currency-item {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-height: 60px;
  padding: 10px 42px 10px 14px;
  border-radius: 10px;
}
.currency-price-sheet .currency-name {
  order: -1;
  width: auto;
  max-width: 100%;
  font-size: 16px;
}
.currency-price-sheet .currency-code {
  font-size: 13px;
  color: #647569;
}
.currency-price-sheet .currency-item.selected {
  background: linear-gradient(110deg, #eaf8ef, #f5fbf7);
  border-color: #24965e;
  color: #137547;
  box-shadow: inset 0 0 0 1px rgba(36, 150, 94, 0.08), 0 2px 6px rgba(19, 117, 71, 0.06);
}
.currency-price-sheet .currency-item.selected .currency-name {
  color: #137547;
  font-weight: 600;
}
.currency-price-sheet .currency-item.selected .currency-code {
  color: #48715a;
}
.currency-price-sheet .currency-item:focus-visible {
  outline: 2px solid #24965e;
  outline-offset: 2px;
}
.currency-price-sheet .currency-item.selected::after {
  content: '✓';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #168653;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}
.currency-price-description {
  margin: 0 0 16px;
  color: #69766f;
  font-size: 12px;
}

@media (max-width: 640px) {
  .currency-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

