/* ===== DENTAL CARE PAGE ===== */

/* ---- Banner ---- */
.dc-banner {
  margin-top: 70px;
  position: relative;
  width: 100%;
  height: 540px;
  background: linear-gradient(to bottom, #9acccd, #65b5b7);
  overflow: hidden;
}

.dc-banner__content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 130px;
  width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dc-banner__label {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: rgba(20, 101, 141, 0.72);
  white-space: nowrap;
}

.dc-banner__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 52px;
  color: #0b587e;
  width: 480px;
}

.dc-banner__desc {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(5, 87, 89, 0.72);
}

.dc-banner__image {
  position: absolute;
  right: 55px;
  top: 37px;
  width: 590px;
  height: 508px;
  overflow: hidden;
}

.dc-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dc-banner__ellipse-1 {
  position: absolute;
  width: 956px;
  height: 507px;
  left: -826px;
  top: -144px;
  pointer-events: none;
  overflow: hidden;
}

.dc-banner__ellipse-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-banner__ellipse-2 {
  position: absolute;
  width: 591px;
  height: 331px;
  left: 687px;
  top: 323px;
  pointer-events: none;
  overflow: hidden;
}

.dc-banner__ellipse-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Section Steps ---- */
.dc-steps {
  padding: 80px 0;
  background: #f8f9fb;
}

.dc-steps__heading {
  text-align: center;
  margin-bottom: 60px;
}

.dc-steps__heading-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 52px;
  color: #121212;
  max-width: 825px;
  margin: 0 auto;
}

/* ---- Step Item ---- */
.dc-step-item {
  display: flex;
  align-items: stretch;
  margin-bottom: 60px;
  border-radius: 32px;
  overflow: hidden;
}

.dc-step-item--reverse {
  flex-direction: row-reverse;
}

/* Left panel (teal bg with step info) */
.dc-step-item__info {
  position: relative;
  width: 638px;
  min-height: 630px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(101, 183, 185, 0.2);
}

.dc-step-item--reverse .dc-step-item__info {
  border-radius: 0 32px 32px 0;
}

.dc-step-item:not(.dc-step-item--reverse) .dc-step-item__info {
  border-radius: 32px 0 0 32px;
}

.dc-step-item__info-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-step-item__info-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding: 52px 59px 0;
  text-align: center;
}

.dc-step-item__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 100px;
  padding: 16px 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #24babd;
  white-space: nowrap;
}

.dc-step-item__step-desc {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: #121212;
  text-align: center;
}

/* Right panel (white bg with product) */
.dc-step-item__product {
  position: relative;
  flex: 1;
  min-height: 630px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 40px;
}
.dc-step-item__product-deco1 {
  top: -185px;
  left: 511px;
  position: absolute;
  width: 527px;
  height: 279px;
  transform: rotate(-19.444deg);
  border-radius: 527px;
  background: rgba(149, 230, 246, 0.6);
  filter: blur(150.459716796875px);
}
.dc-step-item__product-deco2 {
  position: absolute;
  top: 400px;
  right: 500px;
  width: 527px;
  height: 279px;
  transform: rotate(-19.444deg);
  border-radius: 527px;
  background: rgba(149, 191, 246, 0.5);
  filter: blur(150.459716796875px);
}
.dc-step-item--reverse .dc-step-item__product {
  border-radius: 32px 0 0 32px;
}

.dc-step-item:not(.dc-step-item--reverse) .dc-step-item__product {
  border-radius: 0 32px 32px 0;
}

.dc-step-item__product-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 120px;
  display: flex;
  align-items: start;
  justify-content: center;
  overflow: hidden;
}

.dc-step-item__product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dc-step-item__product-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  width: 391px;
  margin-top: auto;
  padding-top: 461px;
}

.dc-step-item__product-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: normal;
  color: #121212;
  text-align: center;
}

.dc-step-item__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #9bcccd;
  border-radius: 100px;
  padding: 16px 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.dc-step-item__btn:hover {
  background: #7ab8b9;
  color: #fff;
}

/* ---- Section Products (đã có - bỏ qua) ---- */
.dc-products {
  padding: 60px 84px;
  background: #f8f9fb;
  display: flex;
  gap: 20px;
  align-items: center;
}

.dc-products__banner {
  position: relative;
  width: 360px;
  height: 488px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.dc-products__banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.dc-products__banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
}

.dc-products__banner-content {
  position: absolute;
  left: 27px;
  top: 145px;
  width: 306px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dc-products__banner-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: normal;
  color: #fff;
}

.dc-products__banner-desc {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
}

.dc-products__banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #fff;
  border-radius: 100px;
  padding: 16px 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s;
}

.dc-products__banner-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.dc-products__list {
  display: flex;
  gap: 20px;
  flex: 1;
  overflow-x: auto;
}

.dc-product-card {
  background: #fff;
  border-radius: 20px;
  width: 284px;
  height: 488px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-product-card__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 235px;
}

.dc-product-card__img {
  width: 100%;
  height: 229px;
  border-radius: 28px;
  overflow: hidden;
  background: #b8b8b8;
}

.dc-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.dc-product-card__name {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #121212;
  text-align: center;
  line-height: normal;
}

.dc-product-card__colors {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.dc-product-card__color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.dc-product-card__price {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #121212;
  text-align: center;
}

.dc-product-card__add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #00d3d7;
  border-radius: 100px;
  padding: 14px 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.dc-product-card__add-btn:hover {
  background: #00b8bc;
  color: #fff;
}

/* ---- Section Social ---- */
.dc-social {
  background: rgba(101, 183, 185, 0.2);
  padding: 80px 84px;
  overflow: hidden;
}

.dc-social__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 52px;
  color: #121212;
  text-align: center;
  margin-bottom: 20px;
}

.dc-social__grid {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.dc-social__item {
  display: block;
  width: 303px;
  height: 303px;
  border-radius: 32px;
  overflow: hidden;
  flex-shrink: 0;
}

.dc-social__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

/* ===== RESPONSIVE ===== */
/*  */
.bestselling {
  padding-bottom: 60px;
  background: #f8f9fb;
}
.bestselling .container {
  display: flex;
  gap: 40px;
}

.bestselling-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  width: 360px;
  padding: 27px;
  min-height: 488px;
  position: relative;
}
.bestselling-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  border-radius: 20px;
}
.bestselling-heading-imgbg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.bestselling-heading-title {
  color: #fff;
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  position: relative;
  z-index: 10;
}

.bestselling-heading-desc {
  color: #fff;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: relative;
  z-index: 10;
}

.bestselling-heading-btn {
  display: flex;
  padding: 16px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  border: 1px solid #fff;
  position: relative;
  z-index: 10;
  width: max-content;
}

.bestselling-heading-btn svg {
  width: 16px;
  height: 16px;
}

.bestselling-heading-btn span {
  color: #fff;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.bestselling-slide {
  width: calc(100% - 360px - 32px - 32px);
  display: flex;
  position: relative;
  justify-content: start;
}

.bestselling-list {
  width: calc(100% - 32px);
}

.bestselling-slide .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bestselling-swiper > .swiper-wrapper > .swiper-slide {
  padding: 30px 25px 29px 24px;
  border-radius: 20px;
  background: #fff;
}
.bestselling-swiper-title {
  height: 60px;
  color: #000;
  text-align: center;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 0 10px;
  -webkit-line-clamp: 3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.bestselling-swiper-price {
  color: #ff1f1f;
  text-align: center;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.bestselling-swiper-price .woocommerce-Price-currencySymbol {
  color: #ff1f1f;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
}

.bestselling-swiper-price bdi {
  text-decoration-line: none;
}

.bestselling-swiper-color {
  margin-top: 12px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bestselling-swiper-color-item {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  border-radius: 100%;
  cursor: pointer;
}

.bestselling-swiper-addtocart {
  display: flex;
  height: 52px;
  padding: 16px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  background: #00d3d7;
  cursor: pointer;
}

.bestselling-swiper-addtocart span {
  color: #fff;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.bestselling-swiper-addtocart svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.bestselling-thumnail-slide {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  background: #dfdfdf;
  overflow: hidden;
  display: flex;
  position: relative;
}

.bestselling-thumnail-slide .mySwiper {
  width: 50px;
  padding: 16px 9px;
  flex-shrink: 0;
}

.bestselling-thumnail-slide .mySwiper .swiper-slide img {
  height: 32px;
  aspect-ratio: 1/1;
  border-radius: 4px;
  cursor: pointer;
}

.bestselling-thumnail-slide .mySwiper2 {
  flex: 1 0 0;
  height: 100%;
}

.bestselling-thumnail-slide .mySwiper2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bestselling-swiper-button-next,
.bestselling-swiper-button-prev {
  width: 32px;
  height: 32px;
  cursor: pointer;
  margin-top: 80px;
  flex-shrink: 0;
}
.bestselling-swiper-button-prev {
  position: absolute;
  left: -32px;
}
.bestselling--thumnail-tag {
  position: absolute;
  z-index: 10;
  top: -16px;
  left: 50%;
  transform: translateX(calc(-50% + 25px));
  display: flex;
  min-width: 74px;
  min-height: 32px;
  max-width: 80%;
  padding: 4px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid #7b7b7b;
  background: #fff;
  color: #000;
  text-align: center;
  font-family: Montserrat;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 12px;
}
/* Tablet: <= 1024px */
@media (max-width: 1024px) {
  .dc-banner__content {
    left: 40px;
    width: 420px;
  }

  .dc-banner__title {
    font-size: 30px;
    line-height: 40px;
    width: 100%;
  }

  .dc-banner__image {
    width: 380px;
    height: 380px;
    top: 80px;
  }

  .dc-steps {
    padding: 60px 40px;
  }

  .dc-step-item {
    flex-direction: column !important;
    border-radius: 24px;
  }

  .dc-step-item__info,
  .dc-step-item--reverse .dc-step-item__info {
    width: 100%;
    min-height: 320px;
    border-radius: 24px 24px 0 0 !important;
  }

  .dc-step-item__product,
  .dc-step-item--reverse .dc-step-item__product {
    border-radius: 0 0 24px 24px !important;
    min-height: 400px;
    padding-bottom: 30px;
  }

  .dc-step-item__product-info {
    padding-top: 280px;
    width: 90%;
  }

  .dc-products {
    padding: 40px;
    flex-wrap: wrap;
  }

  .dc-products__banner {
    width: 100%;
    height: 220px;
  }

  .dc-products__list {
    width: 100%;
  }

  .dc-social {
    padding: 60px 40px;
  }

  .dc-social__grid {
    flex-wrap: wrap;
  }

  .dc-social__item {
    width: calc(50% - 10px);
    height: 200px;
  }
}

/* Mobile: <= 768px */
@media (max-width: 768px) {
  .dc-banner {
    height: auto;
    min-height: 480px;
    padding-bottom: 0;
  }

  .dc-banner__content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    padding: 40px 20px 20px;
  }

  .dc-banner__label {
    font-size: 14px;
  }

  .dc-banner__title {
    font-size: 24px;
    line-height: 34px;
    width: 100%;
  }

  .dc-banner__desc {
    font-size: 14px;
  }

  .dc-banner__image {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .dc-banner__ellipse-1,
  .dc-banner__ellipse-2 {
    display: none;
  }

  .dc-steps {
    padding: 40px 16px;
  }

  .dc-steps__heading-title {
    font-size: 26px;
    line-height: 36px;
  }

  .dc-step-item {
    flex-direction: column !important;
    border-radius: 20px;
    margin-bottom: 16px;
  }

  .dc-step-item__info,
  .dc-step-item--reverse .dc-step-item__info {
    width: 100%;
    min-height: 500px;
    border-radius: 20px 20px 0 0 !important;
  }

  .dc-step-item__info-content {
    padding: 30px 20px 0;
  }

  .dc-step-item__badge {
    font-size: 16px;
    padding: 10px 16px;
  }

  .dc-step-item__step-desc {
    font-size: 15px;
  }

  .dc-step-item__product,
  .dc-step-item--reverse .dc-step-item__product {
    border-radius: 0 0 20px 20px !important;
    min-height: 360px;
    padding-bottom: 24px;
  }

  .dc-step-item__product-info {
    padding-top: 220px;
    width: 90%;
  }

  .dc-step-item__product-name {
    font-size: 16px;
  }

  .dc-step-item__btn {
    font-size: 16px;
    padding: 12px 20px;
  }

  .dc-products {
    padding: 30px 16px;
    flex-direction: column;
  }

  .dc-products__banner {
    width: 100%;
    height: 220px;
  }

  .dc-products__list {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .dc-product-card {
    width: 220px;
    height: 380px;
  }

  .dc-product-card__img {
    height: 160px;
  }

  .dc-social {
    padding: 40px 16px;
  }

  .dc-social__title {
    font-size: 24px;
    line-height: 34px;
  }

  .dc-social__grid {
    flex-wrap: wrap;
    gap: 12px;
  }

  .dc-social__item {
    width: calc(50% - 6px);
    height: 160px;
  }
  .dc-step-item__product-img {
    padding-bottom: 20px;
  }
  /*  */
  .bestselling .container {
    flex-direction: column;
  }
  /*  */
  .bestselling-heading {
    width: 100%;
    padding: 0 16px;
  }

  .bestselling-slide {
    width: 100%;
  }

  .bestselling-list {
    /* width: calc(100% - 32px - 32px); */
    width: 100%;
  }

  .bestselling-swiper {
    padding: 0 32px;
  }

  .bestselling-swiper-button-next {
    position: absolute;
    right: 0;
  }

  .bestselling-swiper-button-prev {
    position: absolute;
    left: 0;
  }
  .bestselling-thumnail-slide {
    height: 295px;
  }
  .bestselling-swiper-addtocart {
    width: 100%;
  }
  .bestselling-swiper-addtocart span {
    font-size: 16px;
  }
}
