.page-main:has(.activity-page) {
  max-width: 100%;
  padding: 0;
}

.page-main:has(.activity-page) .column.main {
  max-width: 100%;
  padding: 0;
}

body:has(.activity-page) .page-footer {
  margin-top: 0;
}

.activity-page {
  padding-bottom: 20px;
  background: linear-gradient(180deg, #dd251d 0%, #fcc899 100%);
}

.activity-page ul {
  margin-bottom: 0;
}

.activity-page li {
  margin-bottom: 0;
}

.activity-page .img-fluid {
  width: 100%;
}

.activity-page .content {
  max-width: 1204px;
  margin: 0 auto;
}

.activity-page .table1 {
  padding-top: 50px;
}

.activity-page .table1 .hd {
  display: flex;
  color: #fff;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #F9734B;
}

.activity-page .table1 .title {
  height: 67px;
  width: 100%;
  color: #fff;
  background-size: 100% auto;
  background-position: bottom center;
  text-align: center;
  background-repeat: no-repeat;
}

.activity-page .table1 .title1 {
  max-width: 1197px;
  margin: 0 auto;
  /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/title1.webp') ?>);*/
}

.activity-page .table1 .title2 {
  max-width: 1197px;
  margin: 0 auto;
  /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/title2.webp') ?>);*/
}

.activity-page .col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
}

.activity-page .text {
  padding-top: 15px;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  color: #E23F31;
}

.activity-page .table1 .bd {
  /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/bd.webp') ?>);*/
  background-size: 100% auto;
  padding: 35px 40px 0;
}

.activity-page .item {
  display: flex;
  color: #3D3D3D;
  background: #fff;
  line-height: 32px;
  border-bottom: 1px solid #D95D38;
}

.activity-page .table1 .ft {
  height: 80px;
  /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/ft.webp') ?>);*/
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}

.activity-page .promo-price {
  /*font-weight: bold;*/
}

@media screen and (min-width: 769px) {
  .activity-page .table-spot .col1 {
    width: 22%;
  }

  .activity-page .table-spot .col2 {
    width: 14%;
  }

  .activity-page .table-spot .col3 {
    width: 16%;
  }

  .activity-page .table-spot .col4 {
    width: 12%;
  }

  .activity-page .table-spot .col5 {
    width: 14%;
  }

  .activity-page .table-spot .btn-box {
    width: 12%;
    flex-grow: 1;
  }

  .activity-page .table-futures .col1 {
    width: 16%;
  }

  .activity-page .table-futures .col2 {
    width: 11%;
  }

  .activity-page .table-futures .col3 {
    width: 13%;
  }

  .activity-page .table-futures .col4 {
    width: 10%;
  }

  .activity-page .table-futures .col5 {
    width: 11%;
  }

  .activity-page .table-futures .col6 {
    width: 15%;
  }

  .activity-page .table-futures .col7 {
    width: 13%;
  }

  .activity-page .table-futures .btn-box {
    width: 10%;
    flex-grow: 1;
  }
}

.activity-page .btn-cart {
  width: 120px;
  height: 32px;
  border-radius: 20px;
  box-sizing: border-box;
  color: #fff;
  background: #D95D38;
  border: 1px solid rgba(64, 200, 205, 0);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.activity-page .wrapper {
  max-height: 500px;
  overflow-y: auto;
}

.activity-page .table2 {
  margin: 20px auto 0;
  padding: 50px 0 56px;
  box-sizing: border-box;
  background-position: center top;
  background-repeat: no-repeat;
}

.activity-page .subtitle {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

.activity-page .table2 ul {
  color: #fff;
  margin-top: 24px;
  line-height: 29px;
  list-style-type: decimal;
}

.activity-page .table2 span {
  opacity: 0.85;
}

.activity-page .table2 strong {
  opacity: 1;
}

.activity-page .info-item {
  padding-top: 48px;
}

.activity-page .info-item:first-child {
  padding-top: 0;
}

.activity-page .table2 .title {
  height: 70px;
  width: 100%;
  color: #fff;
  /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/rule-title.webp') ?>);*/
  background-size: 100% auto;
  background-position: top center;
  text-align: center;
}

.activity-page .table2 .cont {
  padding: 0 48px;
  /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/rule-bd.webp') ?>);*/
  background-repeat: repeat;
  background-size: 100% auto;
}

.activity-page .table2 .ft {
  height: 70px;
  /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/rule-ft.webp') ?>);*/
  background-size: 100% auto;
  background-position: center bottom;
}

@media screen and (max-width: 768px) {
  body:has(.activity-page) .page-header {
    margin-bottom: 0;
  }

  .activity-page {
    padding-bottom: 35px;
    background: linear-gradient(180deg, #e44b3a 0%, #fbc597 100%);
  }

  .activity-page .col-mobile-hide {
    display: none !important;
  }

  .activity-page .wrapper {
    overflow-x: auto;
  }

  .activity-page .wrapper .btn-box {
    position: sticky;
    right: 0;
    justify-content: flex-end;
  }

  .activity-page .btn-cart {
    width: 24px;
    height: 24px;
    padding: 0;
    background-size: cover;
    background: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 0;
    /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/shopping-cart.webp') ?>);*/
  }

  .activity-page .info-item {
    padding-top: 20px;
    font-size: 12px;
  }

  .activity-page .subtitle {
    font-size: 14px;
  }

  .activity-page .table1 .item {
    display: inline-flex;
    background: #ffffff;
    color: #000000;
  }

  .activity-page .table1 .hd {
    display: inline-flex;
    background: #FF8E6C;
  }

  .activity-page .col {
    padding: 15px 8px;
    font-size: 12px;
    flex: initial;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 80px;
  }

  .activity-page .col1 {
    width: 110px;
    word-break: break-all;
  }

  .activity-page .col2 {
    width: 90px;
  }

  .activity-page .col3 {
    width: 120px;
  }

  .activity-page .col-status {
    width: 150px;
  }

  .activity-page .table-spot .col1 {
    width: 150px;
  }

  .activity-page .table-spot .col2 {
    width: 120px;
  }

  .activity-page .table-spot .col3 {
    width: 150px;
  }

  .activity-page .table-spot .col4,
  .activity-page .table-spot .col5 {
    width: 94px;
  }

  .activity-page .promo-price {
    /*color: #ffcc80;*/
  }

  .activity-page .table1 {
    padding-top: 0;
  }

  .activity-page .table1 .title1 {
    /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/mobile/title1.webp') ?>);*/
    height: 96px;
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  .activity-page .table1 .title2 {
    /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/mobile/title2.webp') ?>);*/
    height: 96px;
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  .activity-page .table1 .bd {
    /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/mobile/bd.webp') ?>);*/
    background-repeat: repeat;
    padding: 20px 60px 0;
  }

  .activity-page .table1 .ft {
    height: 60px;
    /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/mobile/ft.webp') ?>);*/
    background-repeat: no-repeat;
    background-position: center bottom;
  }

  .activity-page .table2 ul {
    margin-top: 12px;
    padding-left: 16px;
    line-height: 20px;
  }

  .activity-page .table2 {
    padding: 0;
  }

  .activity-page .table1 .text {
    font-size: 0;
  }

  .activity-page .table2 .title {
    height: 63px;
    /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/mobile/rule-title.webp') ?>);*/
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center bottom;
  }

  .activity-page .table2 .cont {
    padding: 10px 60px;
    margin-top: -1px;
    /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/mobile/rule-bd.webp') ?>);*/
    background-size: 100% auto;
    background-repeat: repeat;
  }

  .activity-page .table2 .ft {
    height: 63px;
    /*background-image: url(<?= $this->getViewFileUrl('images/supply_chain_618/mobile/rule-ft.webp') ?>);*/
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    margin-top: -1px;
  }

  .activity-page .btn-box {
    width: 40px;
  }
}

@media screen and (max-width: 600px) {
  .activity-page .table1 .bd {
    padding: 20px 34px 0;
  }

  .activity-page .table2 .cont {
    padding: 10px 34px;
  }

  .activity-page .table-spot .col1 {
    width: 110px;
  }

  .activity-page .table-spot .col2 {
    width: 90px;
  }

  .activity-page .table-spot .col3 {
    width: 120px;
  }

  .activity-page .table-spot .col4,
  .activity-page .table-spot .col5 {
    width: 80px;
  }
}
