/*容器类*/
.block {
  display: block;
}
.grid {
  display: grid;
}
.flex {
  display: flex;
}
.inline-block {
  display: inline-block;
}
.hidden {
  display: none;
}
/*方向类*/
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.flex-1 {
  flex: 1;
}
.items-center {
  align-items: center;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
/*尺寸相关*/
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.min-w-0 {
  min-width: 0;
}
.min-h-0 {
  min-height: 0;
}
.max-w-full {
  max-width: 100%;
}
.max-h-full {
  max-height: 100%;
}
/*对齐类*/
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.underline {
  text-decoration: underline;
}
.line-through {
  text-decoration: line-through;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.qd-section.color-scheme-1 {
  --color-text: 61, 56, 25;
  --color-tab-border-bottom: 187, 187, 187;
  --color-button-background: 61, 56, 25;
  --color-button-text: 243, 242, 224;
  --color-button-secondary-text: 61, 56, 25;
}
.qd-section {
  /* padding: 20px; */
  /* 主题色 */
  background-color: rgb(var(--color-background));
}

/*
* 媒体查询
* 小屏移动端的基础样式, 移动优先（Mobile First）
* 992x 及以上--PC;
* 768x~991x---Paid;
* 767x 及以下---Mobile
 */
/* Mobile First - 默认样式（767px及以下） */

/*组件支持PC/移动端隐藏*/
@media (max-width: 768px) { 
  [data-m-hide="true"][data-m-hide="true"] {
    display: none;
  }
}
/*qd-button 对齐方式, button的父级添加qd-button-parent类名*/
.qd-button-parent:has([data-position="center"]) {
  text-align: center;
}
.qd-button-parent:has([data-position="right"]) {
  text-align: right;
}
/* Tablet - 768px ~ 991px */
@media (min-width: 769px) {
  /*组件支持PC/移动端隐藏*/
  [data-pc-hide="true"][data-pc-hide="true"] {
    display: none;
  }
}
body[data-page-type="product"] .qd-section {
  max-width: 1800px!important;
  padding-inline: calc(var(--page-padding) + 106px);
  margin: auto;
}

.qd-custom-product-card {
  width: 200px;
}

/* PC - 992px及以上 */
@media (min-width: 992px) {
  .qd-section {
    max-width: 1800px;
    margin: 0 auto!important;
    padding-inline: var(--page-padding);
    /* padding-left: 60px;
    padding-right: 60px; */
    /* padding: 60px 0px; */
  }
  body[data-page-type="index"] .qd-section {
    max-width: 1680px;
    margin: 0 auto!important;
    padding-inline: 0;
  }
}

@media (max-width: 959px) {
  body[data-page-type="product"] .qd-section {
    max-width: 100%;
    padding-inline: var(--page-padding);
  }
}

/* 设置底部社媒组件全局样式，会沾满全屏 */
.qd-share {
  max-width: 100% !important;
  margin-left: 0!important;
  margin-right: 0!important;
  /* padding: 1.5rem 20px; */
}
/* 单独给详情页设置底部 社媒组件样式 */
body[data-page-type="index"] .qd-share,
body[data-page-type="product"] .qd-share {
  max-width: 100% !important;
  padding: 1.5rem 20px;
}