@font-face {
  font-family: "Poppins";
  font-weight: 300 400;
  src: url("/assets/fonts/Poppins-Regular.ttf");
}

@font-face {
  font-family: "Poppins";
  font-weight: 500;
  src: url("/assets/fonts/Poppins-Medium.ttf");
}

@font-face {
  font-family: "Poppins";
  font-weight: 600;
  src: url("/assets/fonts/Poppins-SemiBold.ttf");
}

@font-face {
  font-family: "Poppins";
  font-weight: 700;
  src: url("/assets/fonts/Poppins-Bold.ttf");
}

:root {
  --dcp-primary-color: #CC4C59;
}

body {
  font-family: "Poppins";
  font-weight: 300 400 !important;
  font-size: calc(3 / 4 * 17 / 16 * 1rem);
}

body .overlay-popup {
  position: fixed;
  height: 100%;
  width: 100vw;
  background: #000000;
  opacity: 30%;
  z-index: 10;
  display: none;
}

body .popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 992px) {
  body p {
    letter-spacing: 0.001em;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

@media (max-width: 992px) {

  body .popup,
  body .popup img {
    width: 100%;
  }
}


h1 {
  font-family: "Poppins";
  font-weight: 700 !important;
  font-size: calc(3 / 4 * 65 / 16 * 1rem);
}

h2 {
  font-family: "Poppins";
  font-weight: 500 !important;
  font-size: calc(3 / 4 * 55 / 16 * 1rem);
}

h3 {
  font-family: "Poppins";
  font-weight: 600 !important;
  font-size: calc(3 / 4 * 35 / 16 * 1rem);
}

h4 {
  font-family: "Poppins";
  font-weight: 500 !important;
  font-size: calc(3 / 4 * 24 / 16 * 1rem);
}

h5 {
  font-family: "Poppins";
  font-weight: 500 !important;
  font-size: calc(3 / 4 * 17 / 16 * 1rem);
}

button {
  font-family: "Poppins";
  font-weight: 600;
  font-size: calc(3 / 4 * 14 / 16 * 1rem);
}

.banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.banner .overlay {
  background: linear-gradient(#000000, rgba(0, 0, 0, 0));
  /*  opacity: 0.75;*/
}

.banner.home .overlay {
  opacity: 0.75;
  z-index: 1;
}

.banner-text {
  font-size: calc(3 / 4 * 20 / 16 * 1rem);
  position: relative;
  z-index: 2;
}

.banner-text .container {
  z-index: 3;
}

.dcp-pagination {
  display: flex;
  justify-content: center;
}

.dcp-image {
  display: block;
  width: 100%;
}

.page-link {
  border-color: var(--bs-pagination-active-border-color);
}

.page-link:hover {
  background-color: var(--dcp-primary-color);
  border-color: var(--bs-pagination-active-border-color);
  color: #FFFFFF;
}

.page-link.active,
.active>.page-link {
  background-color: var(--dcp-primary-color);
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: 0;
}

.banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.banner-text {
  position: relative;
  z-index: 2;
}

/**/
.overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: var(--bs-primary-b);
  opacity: 0;
  transition: opacity .5s ease;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 1.6875rem;
  padding-right: 1.6875rem
}

/**/


/* Nav CSS */
#elegantNavbar {
  justify-content: flex-end;
}

.navbar-elegant__inner {
  margin: 0rem;
}

.navbar-elegant__inner .nav-item:last-of-type,
.navbar-elegant__inner .nav-item:last-of-type .nav-link {
  padding-right: 0rem;
}

.nav-item {
  font-family: "Poppins";
  font-weight: 300 400;
}

.navbar-logo {
  height: auto;
  width: calc(317 / 16 * 1rem);
}

.navbar.navbar-elegant {
  z-index: 3;
}

@media (max-width: 992px) {
  h1 {
    font-size: calc(35 / 16 * 1rem);
  }

  .navbar-logo {
    height: calc(40 / 16 * 1rem);
    width: auto;
  }

  .navbar-toggler {
    padding-right: 0rem;
  }

  .navbar-toggler-icon {
    filter: brightness(0) invert(1);
  }

  .navbar.navbar-elegant {
    background-color: #000;
    padding-left: 0rem;
    padding-right: 0rem;
    height: calc(100 / 16 * 1rem);
  }

  .navbar.navbar-elegant .container {
    background-color: inherit;
    padding-right: calc(var(--bs-gutter-x)* 0.5 + 1rem);
    padding-left: calc(var(--bs-gutter-x)* 0.5 + 1rem);
  }

  .navbar.navbar-elegant.pre.sticky {
    background-color: #000;
  }

  .banner {
    height: -moz-fit-content;
    height: fit-content;
    padding-top: 5.625rem;
  }
}

@media (min-width: 1441px) {
  h1 {
    font-size: calc(65 / 16 * 1rem);
  }

  h2 {
    font-size: calc(55 / 16 * 1rem);
  }

  h3 {
    font-size: calc(35 / 16 * 1rem);
  }

  h4 {
    font-size: calc(24 / 16 * 1rem);
  }

  h5 {
    font-size: calc(17 / 16 * 1rem);
  }

  body {
    font-size: calc(17 / 16 * 1rem);
  }

  .banner-text {
    font-size: calc(20 / 16 * 1rem);
  }
}

/* Home CSS */
.banner-video {
  position: absolute;
  top: calc(11 / 1920 * 100vw / 2 * -1);
  left: 0rem;
  z-index: 1;
}

.third-section .our-products:not(:last-of-type) {
  margin-bottom: calc(34 / 16 * 1rem);
  overflow: hidden;
}

.static-height {
  height: 100%;
}

.third-section .our-products .products-image {
  padding: 0;
}

.third-section .our-products .wrapper,
.product-details-card.accordion-header .wrapper {
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}

.product-name.subcategories {
  font-weight: 400;
}

/*
.product-type-name {
  word-break: break-word;
}


@media (max-width: 576px) {
  .product-type-name {
    font-size: calc(3 / 4 * 40 / 16 * 1rem);
  }
}
*/

.third-section .our-products .wrapper .content {
  display: flex;
  align-items: center;
  min-height: 100%;
  text-align: start;
  padding: calc(32 / 16 * 1rem) calc(60 / 16 * 1rem);
}

.products-img {
  padding: 0;
}

.content-box {
  position: relative;
}

.close-container {
  position: absolute;
  top: calc(38 / 16 * 1rem);
  right: calc(46 / 16 * 1rem);
}

.ti-close {
  height: calc(39 / 16 * 1rem);
  width: calc(39 / 16 * 1rem);
  display: block;
  background:
    linear-gradient(45deg, rgba(0, 0, 0, 0) 0 calc(100% / 2 - 7 / 2 / 16 * 1rem), white calc(100% / 2 - 7 / 2 / 16 * 1rem) calc(100% / 2 + 7 / 2 / 16 * 1rem), rgba(0, 0, 0, 0) calc(100% / 2 + 7 / 2 / 16 * 1rem) 100%),
    linear-gradient(135deg, rgba(0, 0, 0, 0) 0 calc(100% / 2 - 7 / 2 / 16 * 1rem), white calc(100% / 2 - 7 / 2 / 16 * 1rem) calc(100% / 2 + 7 / 2 / 16 * 1rem), rgba(0, 0, 0, 0) calc(100% / 2 + 7 / 2 / 16 * 1rem) 100%);
  cursor: pointer;
}

.product-card .elegant-btn {
  background-color: #FFFFFF;
}

.product-card .elegant-btn:hover {
  background-color: rgba(0, 0, 0, 0);
  border: 1px white solid;
  color: #FFFFFF;
}

.product-details-card.accordion-header {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.product-details-card.accordion-header:not(.subsubcategory-header) {
  height: calc(130 / 16 * 1rem);
  overflow: hidden;
}

.product-details-card .accordion-button {
  background-color: rgba(0, 0, 0, 0);
  color: #FFFFFF;
}

.product-details-card .accordion-button .row {
  width: 100%;
}

.product-details-card .accordion-button .product-details-card-header {
  align-items: center;
  display: flex;
  height: 100%;
}

.product-details-card .accordion-button::after {
  background-image: url("/assets/image/dianciptaperkasa/products/accordion-collapsed-btn.svg");
  background-position: center;

  height: calc(17 / 16 * 1rem);
  width: calc(17 / 16 * 1rem);
}

@media (min-width: 992px) {
  .product-details-card .accordion-button::after {
    margin-left: calc((45 - 16) / 16 * -1rem);
  }
}

.product-details-card .accordion-button:not(.collapsed)::after {
  background-image: url("/assets/image/dianciptaperkasa/products/accordion-btn.svg");
}

.product-description {
  font-size: calc(3 / 4 * 17 / 16 * 1rem);
  font-weight: 400;
  line-height: calc(3 / 4 * 28 / 16 * 1rem);

  align-items: center;
  display: flex;
  min-height: 100%;
}

#dcp-products-accordion .accordion-body {
  padding: 0rem;
}

#dcp-products-accordion .accordion-body ul {
  margin-bottom: 0rem;
}

#dcp-products-accordion .accordion-body .product-list {
  padding-top: calc(30 / 16 * 1rem);
  padding-bottom: calc(90 / 16 * 1rem);
}

.product-popup-button {
  background: none;
  border: none;
  font-size: calc(3 / 4 * 17 / 16 * 1rem);
  font-weight: 400;
}

.modal-header {
  border: none;
  color: var(--dcp-primary-color);
  justify-content: space-between;
  margin-bottom: calc(36 / 16 * 1rem);
}

.modal-header .modal-title {
  font-size: calc(3 / 4 * 24 / 16 * 1rem);
}

.modal-body {
  width: 70%;
}

.modal-header,
.modal-body {
  padding: 0;
}

.modal-content {
  padding: calc(52 / 16 * 1rem) calc(47 / 16 * 1rem);
}

.subsubcategory-header .product-details-card-header {
  color: #000000;
}

.search-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: calc(54 / 16 * 1rem);
}

.search-wrapper .input-group {
  align-items: center;
  border: 1px #201414 solid;
  display: flex;
}

.search-wrapper .input-group input {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  padding: 1rem;
}

.search-wrapper .input-group svg {
  margin: 1rem;
}

.product-card.filtered_out {
  display: none;
}

/* .third-section .our-products .image{
    margin: 0;
} */

#popup-content {
  background-image: url('/assets/uploads/popup-1/images-0.1600w.webp');
  height: calc(620 / 1920 * 100vw);
  width: calc(1200 / 1920 * 100vw);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 992px) {
  #popup-content {
    background-image: url('/assets/uploads/popup-1/images-1.1600w.webp');
    height: calc(960 / 841 * 100vw);
    width: 100vw;
  }

  .close-container {
    top: calc(20 / 16 * 1rem);
    right: calc(40 / 16 * 1rem);
  }

  .ti-close {
    height: calc(25 / 16 * 1rem);
    width: calc(25 / 16 * 1rem);
  }

  .elegant-section.second-section .wrapper .text {
    gap: 1rem;
  }

  .elegant-section.third-section h3 {
    margin-bottom: 1rem;
  }

  .modal-body {
    width: 100%;
  }

  #home-banner .banner-text {
    min-height: calc(100vw / 425 * 260);
  }
}

/* About css */
.about-us-headlines {
  background-color: var(--dcp-primary-color);
  ;
}

.about-us .values {
  text-transform: uppercase;
}

.about-us .values img {
  width: calc(85 / 16 * 1rem);
}

.sub-section {
  text-align: center;
  padding-bottom: 0;
}

.about-map-wrapper {
  background-color: #E4DBD7;
}

.about-us .vision-mission.image {
  padding-right: calc(55 / 16 * 1rem);
  width: 100%;
}

@media (max-width: 992px) {
  .about-us .wrapper .text {
    padding: 0rem;
  }

  .about-us .vision-mission.image {
    margin-bottom: 1rem;
    padding-right: 0rem;
  }

  .third-section .our-products {
    height: unset;
  }

  .third-section .our-products .wrapper .content {
    height: calc(450 / 16 * 1rem);
    padding: 0rem 1rem;
  }

  .third-section .our-products .wrapper .content p {
    margin-bottom: 1rem;
  }

  .product-description {
    margin-top: 1rem;
    min-height: unset;
  }
}

.about-us .values img {
  width: calc(85 / 16 * 1rem);
}

.sub-section {
  text-align: center;
  padding-bottom: 0;
}

@media (min-width:1441px) {
  .product-description {
    font-size: calc(17 / 16 * 1rem);
    line-height: calc(28 / 16 * 1rem);
  }
}

/* Footer CSS */
.footer {
  background-color: var(--dcp-primary-color);
}

.footer .first-section .navbar-logo img {
  height: auto;
  width: calc(314 / 16 * 1rem);
}

@media (min-width:1140px) {
  .footer .contact-info {
    justify-content: flex-end;
  }
}

.footer .contact-info .image img {
  width: auto;
  height: calc(26 / 16 * 1rem);
}

.footer img {
  height: calc(24 / 16 * 1rem);
  width: auto;
}

footer.footer-elegant.footer .logo-container.footer-logo {
  margin-bottom: 0;
}

footer.footer-elegant.footer .logo-container.footer-logo {
  margin-bottom: 0;
}

.btn-group-social .btn-group-social__btn:first-of-type {
  padding-left: 0rem;
}

.btn-group-social .btn-group-social__btn:last-of-type {
  padding-right: 0rem;
}

@media (max-width: 992px) {
  footer.footer-elegant.footer {
    padding: 2rem 1rem;
  }

  .footer .first-section {
    gap: 1rem;
  }

  .contact-info {
    margin-bottom: 1rem;
  }

  .footer .first-section .navbar-logo img {
    height: calc(40 / 16 * 1rem);
    width: auto;
  }
}

/* Contact CSS */
.elegant-label .contact-input {
  border: 1px solid;
  width: 100%;
  height: calc(58 / 16 * 1rem);
  font-size: calc(3 / 4 * 20 / 16 * 1rem);
  padding: calc(16 / 16 * 1rem);
}

.legal-container {
  text-align: center;
}

.element-input.legal-input {
  border: 1px solid;
  width: auto;
}

.elegant-label.legal-label {
  width: auto;
  color: #000000;
}

.contact-btn-container {
  display: flex;
  justify-content: center;
}

.contact-btn-container .contact-btn {
  font-family: "Poppins";
  font-weight: 400;
  font-size: calc(3 / 4 * 20 / 16 * 1rem);
  justify-content: center;
  width: calc(161 / 16 * 1rem);
  height: calc(62 / 16 * 1rem);
  border-radius: 11px;
  background-color: var(--dcp-primary-color);
  border: none;
}

button {
  font-family: "Poppins";
  font-weight: 600;
}

/* .description{
    font-family: "Poppins";
    font-weight: 400 !important;
    font-size: calc(20 / 16 * 1rem);
} */

/* News */

.news-wrapper .item {
  height: calc(400 / 16 * 1rem);
  margin-bottom: calc(34 / 16 * 1rem);
}

.news-summary {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  -webkit-box-orient: vertical;
  display: -moz-box;
  -moz-line-clamp: 2;
  /* number of lines to show */
  -moz-box-orient: vertical;
}

.news-title {
  margin-bottom: calc(32 / 16 * 1rem);
  width: calc(800 / 16 * 1rem);
}

.page-item .page-link {
  text-align: center;
  width: calc(48 / 16 * 1rem);
}

.address-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.address-item .address {
  gap: 1.5rem;
}

.elegant-news-slider {
  position: relative;
  margin-top: 1.25rem;
  margin-left: -0.9375rem;
  margin-right: -0.9375rem;
}

.elegant-slider-arrow-container {
  cursor: pointer;
  position: absolute;
  top: calc(50% - 13.5px);
}
.home-news-slider .elegant-slider-arrow-container.prev,
.elegant-slider-arrow-container.prev {
  left: -2rem;
}
.home-news-slider .elegant-slider-arrow-container.next,
.elegant-slider-arrow-container.next {
  right: -2rem;
}

.home-news-slider .elegant-slider-container .slick-track {
  gap: 0rem;
}

.elegant-slide {
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
  text-decoration: none;
}
.elegant-slide .image-wrapper {
  margin-bottom: 1.5rem;
}
.elegant-slide .image-wrapper img {
  width: 100%;
}

@media (max-width: 992px) {
  .elegant-section {
    padding: 1.75rem 0rem;
  }

  .elegant-section:not(.fourth-section) {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .elegant-section.fourth-section .text {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .news .news-wrapper {
    gap: 1rem;
  }

  .news-wrapper .item {
    height: calc(380 / 16 * 1rem);
    margin-bottom: 0rem;
  }

  .header {
    flex-direction: column;
  }

  .header .left .news-title {
    width: 100%;
  }

  .gallery .header .right .date {
    font-size: calc(18 / 16 * 1rem);
  }

  /*
  .header .left .news-title h2 {
    font-size: calc(3 / 4 * 40 / 16 * 1rem);
  }
  */

  .elegant-section .header .right {
    text-align: left;
  }

  .address-wrapper {
    padding-bottom: 2.5rem;
  }

  .address-item .address {
    padding: 0rem;
  }

  .elegant-slide * {
    text-decoration: none;
  }

  .elegant-label .contact-input {
    margin: 1rem 0rem;
  }

  .elegant-news-slider .image-wrapper {
    position: relative;
  }

  .elegant-news-slider .elegant-slider-arrow-container {
    background-color: rgba(47, 47, 47, 0.75);
    padding: calc((120px - 27px) / 2) calc((46px - 22px) / 2);
    top: calc(50% - 60px);
  }

  .elegant-news-slider .elegant-slider-arrow-container svg {
    filter: brightness(0) invert(1);
  }

  .elegant-news-slider .elegant-slider-arrow-container.prev {
    left: 0rem;
  }

  .elegant-news-slider .elegant-slider-arrow-container.next {
    right: 0rem;
  }
}

@media (min-width: 1441px) {
  .elegant-label .contact-input {
    font-size: calc(20 / 16 * 1rem);
  }

  .contact-btn-container .contact-btn {
    font-size: calc(20 / 16 * 1rem);
  }
}
