/* =========================================
   nos-actifs.css — Nos actifs 栏目页
   ========================================= */

/* =========================================
   #actifs-content — 左侧 banner + 右侧产品网格
   ========================================= */
#actifs-content {
  padding: 0 4.8vw 80px;
}

#actifs-content .container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: auto;
}

/* --- 左侧 sticky banner --- */
#actifs-content .col-left {
  width: 38%;
  height: 680px;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-direction: column;
  padding: 160px 24px 24px 70px;
  position: sticky;
  top: 70px;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

#actifs-content .col-left h1 {
  max-width: 175px;
}

#actifs-content .col-left .cat-description {
  max-width: 340px;
  margin-bottom: 20px;
}

#actifs-content .col-left > img:last-child {
  margin-left: auto;
}

/* --- 右侧产品网格 --- */
#actifs-content .col-right {
  width: 62%;
  padding: 0 25px 0 45px;
}

#actifs-content .col-right .products-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* 单个产品卡片 */
#actifs-content .col-right .products-container .single-product {
  width: 33.333%;
  padding: 0 15px;
  margin-bottom: 20px;
}

#actifs-content .col-right .products-container .single-product .card {
  text-align: center;
  padding-bottom: 25px;
  display: block;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

#actifs-content .col-right .products-container .single-product .card:hover {
  background-color: #EDE6E0;
}

#actifs-content .col-right .products-container .single-product .card:hover h2 {
  text-decoration: underline;
}

/* 图片容器 */
#actifs-content .col-right .products-container .single-product .vignette {
  width: 100%;
  height: 200px;
  position: relative;
}

#actifs-content .col-right .products-container .single-product .vignette img {
  margin: auto;
  mix-blend-mode: darken;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 产品名 + "+" 按钮 */
#actifs-content .col-right h2 {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#actifs-content .col-right h2 .bt-plus {
  width: 11px;
  height: 11px;
  position: relative;
  margin-left: 7px;
  flex-shrink: 0;
}

#actifs-content .col-right h2 .bt-plus > div {
  width: 11px;
  height: 1px;
  position: absolute;
  top: 5px;
  left: 0;
  background-color: #449147;
}

#actifs-content .col-right h2 .bt-plus > div:first-of-type {
  transform: rotate(90deg);
}

/* 植物学名 */
#actifs-content .col-right .nom-bota {
  max-width: 170px;
  margin: auto;
  color: #449147;
}

/* =========================================
   #actifs-decouvrir — 两个链接卡片
   ========================================= */
#actifs-decouvrir {
  padding: 100px 80px;
  background-color: #EDE6E0;
}

#actifs-decouvrir .container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
}

#actifs-decouvrir .col-left {
  width: 50%;
  padding-right: 40px;
}

#actifs-decouvrir .col-right {
  width: 50%;
  padding-left: 40px;
}

#actifs-decouvrir .card {
  height: 100%;
  padding: 90px 50px 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#actifs-decouvrir .card h2 {
  max-width: 300px;
  margin-bottom: 40px;
}

#actifs-decouvrir .col-left .card h2 {
  max-width: 280px;
}

#actifs-decouvrir a.btn-decouvrir {
  border: #449147 solid 1px;
  color: #449147;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  width: 180px;
  height: 55px;
  font-size: 11px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

#actifs-decouvrir a.btn-decouvrir:hover {
  color: #fff;
  background-color: #449147;
}

/* Mobile images (desktop: hidden) */
#actifs-decouvrir .card .mobile-card-img,
#actifs-decouvrir .card .mobile-card-img-deco {
  display: none;
}

/* 移动端：面包屑 */
#actifs-content .mobile-elem {
  display: none;
}

/* =========================================
   Responsive
   ========================================= */
@media screen and (max-width: 992px) {
  #actifs-content .col-left {
    height: 560px;
    min-height: 560px;
  }

  #actifs-decouvrir .container {
    flex-direction: column;
  }

  #actifs-decouvrir .col-left {
    width: 100%;
    margin-bottom: 50px;
    padding-right: 0;
  }

  #actifs-decouvrir .col-right {
    width: 100%;
    padding-left: 0;
  }

  #actifs-content .col-left {
    padding-left: 40px;
  }
}

@media screen and (max-width: 850px) {
  #actifs-content .container {
    flex-direction: column;
  }

  #actifs-content .col-left {
    width: 100%;
    height: auto;
    min-height: unset;
    position: relative;
    top: unset;
  }

  #actifs-content .col-right {
    width: 100%;
    padding: 0;
    padding-top: 40px;
  }
}

@media screen and (max-width: 768px) {
  #actifs-content .mobile-elem {
    display: flex;
    align-items: center;
    color: #808080;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 20px;
  }

  #actifs-content .mobile-elem img {
    margin-right: 6px;
  }

  #actifs-content .col-left {
    background-size: cover;
    background-position: top right;
    background-color: #EDEDED;
    padding: 180px 40px 75px 40px;
  }

  #actifs-content .col-left .cat-description {
    max-width: 100%;
    margin: 0;
  }

  #actifs-content .col-left h1 {
    max-width: 100px;
    font-size: 30px;
    margin-bottom: 30px;
  }

  #actifs-decouvrir .col-left .card,
  #actifs-decouvrir .col-right .card {
    background: #F1F5F6;
    background-image: none !important;
    padding: 30px 0 100px 0;
    align-items: center;
    position: relative;
  }

  #actifs-decouvrir .card .mobile-card-img {
    display: block;
    width: 100%;
  }

  #actifs-decouvrir {
    padding: 60px;
    overflow: hidden;
  }

  #actifs-decouvrir .card h2 {
    padding: 0 24px;
    margin: 0;
  }

  #actifs-decouvrir .card .mobile-card-img-deco {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
  }
}

@media screen and (max-width: 520px) {
  #actifs-content .col-right .products-container .single-product {
    width: 50%;
  }

  #actifs-content .col-left .cat-description p {
    font-size: 14px;
  }
}

@media screen and (max-width: 479px) {
  #actifs-decouvrir a.btn-decouvrir {
    width: 150px;
  }

  #actifs-decouvrir .col-left .card,
  #actifs-decouvrir .col-right .card {
    background: #F1F5F6;
    background-image: none !important;
    padding: 30px 0 60px 0;
    align-items: center;
    position: relative;
  }
}
