@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

:root {
  --primary-color: #54a55f;
  --dark-green-color: #25a65b;
  --green-color: #50c783;
  --light-gray-color: #f1f1f1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

.-mt-4 {
  margin-top: -1.5rem;
}
.-mt-5 {
  margin-top: -2rem;
}
a {
  cursor: pointer;
}

.rounded-3-left {
  border-radius: 0.75rem 0 0 0.75rem;
}

.rounded-3-right {
  border-radius: 0 0.75rem 0.75rem 0;
}

.text-primary-color {
  color: var(--primary-color) !important;
}

.text-dark-green-color {
  color: var(--dark-green-color) !important;
}

.text-green-color {
  color: var(--green-color) !important;
}

.button-gradient {
  background: linear-gradient(to right, #25a65b, #50c783);
  border: none;
}

.button-gradient-product {
  background: linear-gradient(to right, #25a65b, #50c783);
  border: none;
  transition: background 0.35s ease-in-out;
}

.button-gradient-product:hover {
  background: linear-gradient(to right, #1e8a4a, #45b06e);
}

.filter-btn {
  transition:
    background 0.35s ease-in-out,
    border-color 0.35s ease-in-out;
}

.filter-btn:hover {
  background: linear-gradient(to right, #25a65b, #50c783) !important;
  color: white !important;
  border-color: transparent !important;
}

.button-outline {
  border: 1px solid var(--green-color);
  color: var(--green-color);
  background-color: transparent;
}

.button-outline:hover {
  background: linear-gradient(to right, #25a65b, #50c783);
  color: white;
  border-color: transparent;
}

a.card,
a.accordion-btn-item {
  text-decoration: none;
  color: inherit;
}

.bg-primary-color {
  background-color: var(--primary-color) !important;
}
.bg-dark-green-color {
  background-color: var(--dark-green-color) !important;
}
.bg-warning-color {
  background-color: #ffe169 !important;
}

.bg-dark-color {
  background-color: #323232 !important;
}

.bg-light-gray-color {
  background-color: var(--light-gray-color) !important;
}

.border-radius-10 {
  border-radius: 10px !important;
}

.border-radius-15 {
  border-radius: 15px !important;
}

.border-radius-20 {
  border-radius: 20px !important;
}

.shadow-card-1 {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.shadow-card-2 {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.card-border:hover {
  border: 2px solid #50c783;
}

.card-border:has(.collapse.show) {
  border: 2px solid #50c783;
}

.card-border-danger:hover {
  border: 2px solid #dc2600;
}

.card-border-danger:has(.collapse.show) {
  border: 2px solid #dc2600;
}

.ratio-3x4 {
  --bs-aspect-ratio: 125%;
}
.object-fit-contain {
  object-fit: contain;
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  background-color: #f0f5f8;
}
/* Hero Section */
.hero-section {
  width: min(calc(1320px + 31px), calc(100vw - 32px));
  margin: clamp(12px, 2vw, 20px) auto;
}

.hero-section .hero-carousel-container {
  height: clamp(320px, 48vw, 663px);
  border-radius: clamp(12px, 2vw, 20px);
  overflow: hidden;
  position: relative;
}

/* Carousel */
.hero-carousel {
  height: 100%;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-carousel .carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Overlay gelap */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

/* Konten Hero */
.hero-content {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(36px, 5vw, 68px);
  z-index: 2;
  color: white;
  width: auto;
  max-width: 760px;
  padding: 0;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  line-height: 1.8;
  max-width: 680px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Search Box */
.search-container {
  position: relative;
  z-index: 99;
}

.search-box {
  position: relative;
  width: 100%;
  display: flex;
}

.search-box input {
  width: 100%;
  border: none;
  font-size: 1rem;
}

.search-box input:focus {
  outline: none;
}

.search-box input::placeholder {
  color: #999;
}

.search-icon {
  padding: 0 1rem;
  background: linear-gradient(to right, #25a65b, #50c783);
  border: none;
  border-radius: 0px 8px 8px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-container-location-md {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  width: 100%;
  max-width: 90%;
  border-radius: 15px;
}

.search-box-md input,
select {
  border: 1px solid #c3c3c378;
  border-radius: 10px;
}

.search-location {
  width: 55px;
  flex-shrink: 0;
  height: 55px;
  border-radius: 10px;
  background: linear-gradient(
    to right,
    var(--dark-green-color),
    var(--green-color)
  );
}

/* Carousel Controls - Hide default */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  display: none;
}

.badge-article {
  background: linear-gradient(to right, #25a65b, #50c783);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 15pt;
}

.badge-article-category {
  background-color: #f1f1f1;
  color: #696969;
  border-radius: 10px;
}

/* Category Section */
.category-section,
.category-detail-section {
  padding: 40px 0;
}

.card-article {
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.card-article::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(84, 165, 95, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.card-article:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(84, 165, 95, 0.15);
}

.card-article:hover::after {
  opacity: 1;
}

.card-article-detail {
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-custom-image {
  position: relative;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card-custom-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-custom-image:hover .card-image {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  padding: 30px 25px;
  transition: background 0.3s ease;
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-custom-image .card-content {
  transform: translateY(52px);
  transition: transform 0.4s ease;
}

.card-custom-image:hover .card-content {
  transform: translateY(0);
}

.card-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.card-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.card-button {
  position: relative;
  background-color: white;
  color: #333;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  overflow: hidden;
  z-index: 1;
}

.card-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #28a745;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.card-custom:hover .card-button,
.card-custom-image:hover .card-button {
  opacity: 1;
  transform: translateY(0);
}

.card-button:hover {
  color: white;
}

.card-button:hover::before {
  transform: translateY(0);
}

.arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.card-button:hover .arrow {
  transform: translateX(5px);
}

.btn-kb-pi {
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  transition:
    all 0.4s ease,
    transform 0.3s ease;
}

.btn-kb-pi span,
.btn-kb-pi iconify-icon {
  transition: transform 0.3s ease;
}

.btn-kb-pi:hover {
  color: white !important;
  transform: scale(1.05);
}

.btn-kb-pi:hover span,
.btn-kb-pi:hover iconify-icon {
  transform: scale(1.1);
}

.accordion-item {
  background: white;
  border: 2px solid #fff;
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:not(:first-of-type) {
  border-top: 2px solid #fff;
}

.accordion-button {
  background: white;
  color: #1f2937;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 24px 28px;
  border: none;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.accordion {
  border-radius: 15px;
}

.accordion-button:not(.collapsed) {
  background: white;
  color: black;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b7280'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
}

.card-custom {
  border: 2px solid #fff;
}

.card-custom:hover,
.card-custom:has(.collapse.show) {
  background-image: linear-gradient(to bottom, #ffffff, #ffffff, #d0ffe4);
  border: 2px solid #50c783;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2310b981'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.accordion-body {
  padding: 0 28px 28px 72px;
  color: #6b7280;
  line-height: 1.7;
  font-size: 0.98rem;
}

.number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  /*background: linear-gradient(135deg, #10b981 0%, #059669 100%);*/
  background-color: #dceed9;
  /* color: #059669; */
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    width: calc(100vw - 24px);
  }

  .hero-section .hero-carousel-container {
    height: clamp(300px, 60vw, 420px);
  }

  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 32px;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .search-container {
    bottom: 40px;
  }

  .search-box input {
    padding: 15px 55px 15px 20px;
    font-size: 0.9rem;
  }

  .search-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .card-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    width: calc(100vw - 16px);
  }

  .hero-section .hero-carousel-container {
    height: clamp(280px, 72vw, 360px);
  }

  .hero-content {
    left: 16px;
    right: 16px;
    bottom: 24px;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .search-container {
    bottom: 20px;
  }
  .search-icon {
    width: 57px;
    height: 57px;
  }

  .category-section header h1 {
    font-size: 1.8rem;
  }
}

/*  Contact Us Section */
.service-card {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.service-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 25px;
  transition: background 0.3s ease;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.service-card-content {
  position: relative;
  z-index: 2;
  transform: translateY(52px);
  transition: transform 0.4s ease;
}

.service-card-content-raised {
  position: relative;
  z-index: 2;
  transform: translateY(25px);
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-content,
.service-card:hover .service-card-content-raised {
  transform: translateY(0);
}

.service-card-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
  font-weight: 600;
}
/* 
.button-custom-animation {
  position: relative;
  background-color: white;
  color: #333;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  opacity: 0;
  text-align: center;
  margin-top: 15px;
  transform: translateY(30px);
  transition: all 0.4s ease;
  overflow: hidden;
  z-index: 1;
}



.button-custom-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #28a745;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.service-card:hover .button-custom-animation {
  opacity: 1;
  transform: translateY(0);
}

.button-custom-animation:hover {
  color: white;
}

.button-custom-animation:hover::before {
  transform: translateY(0);
} */

.btn-pi {
  position: relative;
  background-color: white;
  color: #333;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.btn-pi-outline {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-hover-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--dark-green-color),
    var(--green-color)
  );
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-hover-slide:hover {
  color: white;
}

.btn-hover-slide:hover::before {
  transform: translateX(0);
}

.btn-animate {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.btn-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .btn-animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card .btn-pi {
  color: var(--primary-color);
  border: 2px solid var(--primary-color) !important;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.service-card .btn-pi span,
.service-card .btn-pi iconify-icon {
  transition: transform 0.1s ease;
}

.service-card .btn-pi:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.service-card .btn-pi:hover span,
.service-card .btn-pi:hover iconify-icon {
  transform: scale(1.1);
}

#highlight-product:hover .btn-animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .service-card {
    height: 350px;
  }

  .service-card-title {
    font-size: 1.3rem;
  }

  .service-card-description {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .service-card {
    height: 320px;
  }
}
#highlight-product .card-custom {
  border-radius: 20px;
}

#highlight-product .highlight-product-content {
  transform: translateY(52px);
  transition: transform 0.4s ease;
}

#highlight-product .card-custom:hover .highlight-product-content {
  transform: translateY(0);
}

#highlight-product .card-custom .btn-pi {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

#highlight-product .card-custom:hover .btn-pi {
  opacity: 1;
  transform: translateY(0);
}

#highlight-product .card-custom .btn-pi:hover {
  background-color: var(--primary-color);
  color: white;
}

#highlight-product img {
  transition: transform 0.5s ease;
}

#highlight-product .card-custom:hover img {
  transform: scale(1.05);
}

#highlight-product h3 {
  color: #333;
  font-size: 2rem;
}

#highlight-product p {
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  #highlight-product h3 {
    font-size: 1.5rem;
  }

  #highlight-product p {
    font-size: 0.9rem;
  }

  #highlight-product .btn-pi {
    font-size: 0.9rem;
    padding: 10px 20px !important;
  }
}

/* Shortcut Styles */
#shortcut-section .card-custom {
  transition: all 0.3s ease;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#shortcut-section .card-custom:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

#shortcut-section .card-custom:hover i {
  transform: translateX(10px);
  transition: all 0.3s ease;
}

#shortcut-section .card-custom .card-image-wrapper {
  background: linear-gradient(180deg, #ffffff 47.43%, #4fc682 421.43%), #ffffff;
  border-radius: 22px;
}
#shortcut-section .card-custom:hover .card-image-wrapper img {
  /*transform: scale(1.1);*/
  transition: all 0.3s ease;
}

#shortcut-section .card-custom:hover .icon-wrapper img {
  transform: scale(1.1) rotate(5deg);
  transition: all 0.3s ease;
}

#featured-product-list .featured-product-glide-bullets,
.featured-product-list-section .featured-product-glide-bullets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

#featured-product-list .featured-product-glide-bullets .glide__bullet,
.featured-product-list-section .featured-product-glide-bullets .glide__bullet {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: #cfd3d8;
  padding: 0;
  margin: 0;
  transition: background-color 0.25s ease;
}

#featured-product-list
  .featured-product-glide-bullets
  .glide__bullet.glide__bullet--active,
.featured-product-list-section
  .featured-product-glide-bullets
  .glide__bullet.glide__bullet--active {
  background: #00a149;
}

#featured-product-list .featured-product-glide .glide__slide,
.featured-product-list-section .featured-product-glide .glide__slide {
  height: auto;
}

#shortcut-section .shortcut-card {
  padding: 1.75rem 1.5rem;
  background: #ffffff;
  border-radius: 18px;
}

#shortcut-section .shortcut-card .shortcut-card-icon {
  min-height: 72px;
  display: flex;
  align-items: center;
}

#shortcut-section .shortcut-card .shortcut-card-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

#shortcut-section .shortcut-card .shortcut-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
#shortcut-section .shortcut-card--small .shortcut-card-body {
  gap: 0.5rem;
}

#shortcut-section .shortcut-card-text {
  flex: 1;
}

#shortcut-section .shortcut-card .shortcut-card-title {
  font-size: clamp(1.5rem, 1.2rem + 0.5vw, 2rem);
  line-height: 1.2;
}

#shortcut-section .shortcut-card .shortcut-card-desc {
  font-size: 1rem !important;
  color: #4b5563;
  line-height: 1.35;
}
#shortcut-section .shortcut-card--small .shortcut-card-desc {
  font-size: 0.8rem !important;
}

#shortcut-section .shortcut-card p:last-child {
  margin-bottom: 0;
}

#shortcut-section .shortcut-card .shortcut-card-arrow {
  font-size: 2.8rem;
  flex-shrink: 0;
}
#shortcut-section .shortcut-card--small .shortcut-card-arrow {
  font-size: 2rem;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  #shortcut-section .shortcut-card {
    padding: 1.4rem 1.2rem;
  }

  #shortcut-section .shortcut-card .shortcut-card-title {
    font-size: 1.6rem;
  }

  #shortcut-section .shortcut-card .shortcut-card-arrow {
    font-size: 2.2rem;
  }
}

@media (max-width: 575.98px) {
  #shortcut-section .shortcut-card .shortcut-card-title {
    font-size: 1.35rem;
  }

  #shortcut-section .shortcut-card .shortcut-card-desc {
    font-size: 0.95rem;
  }
}

/*
#shortcut-section .icon-wrapper {
  width: 200px;
}
*/

.pagination .page-item .page-link {
  border-radius: 0.5rem;
  margin: 0 0.25rem;
  border: 1px solid #dee2e6;
  color: #212529;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.pagination .page-item:not(.disabled) .page-link:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  padding-left: 1rem;
  padding-right: 1rem;
}

.pagination .page-item.disabled .page-link {
  background-color: #f8f9fa;
  color: #6c757d;
  border-color: #dee2e6;
  cursor: not-allowed;
}

#contact-section .card-contact-type {
  background-color: #f0f5f8;
  border-radius: 15px;
}

.media-social-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.social-btn {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.media-social-banner {
  border-radius: 15px;
}

.media-social-banner .bg-image-social-media {
  width: 100%;
  background: url("/src/assets/images/sosmed.png") no-repeat left center;
  background-size: cover;
  z-index: 1;
}

.location-image-wrapper {
  height: 200px;
  border-radius: 15px;
  transition: transform 0.9s ease;
}

.location-image-wrapper:hover img {
  transform: scale(1.2);
  transition: transform 0.9s ease;
}

#map-md {
  border-radius: 20px;
}

.accordion-btn-item[aria-expanded="true"] {
  background-color: #fff !important;
}

.accordion-btn-item.collapsed {
  background-color: #f0f5f8;
}

.accordion-btn-item:not(.collapsed) {
  background-color: #f0f5f8;
  box-shadow: none;
}

.map-wrapper,
.map-wrapper iframe {
  min-height: 90vh;
  border-radius: 15px;
}
/* if single merchant, reduce map height */
[data-merchant]:not([data-merchant=""]) .map-wrapper,
[data-merchant]:not([data-merchant=""]) .map-wrapper iframe {
  min-height: 45vh;
}

.card-pattern {
  background: url("/assets/img/footer-pattern.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}

.card-shopping {
  background: url("/assets/img/footer-pattern.webp") no-repeat center;
  background-size: cover;
}

/* Tablet (Medium screens) */
@media (max-width: 991px) {
  #map-md {
    border-radius: 15px;
    padding: 1.5rem !important;
  }

  .accordion-button {
    padding: 1rem;
  }

  .accordion-body {
    padding: 1rem !important;
  }

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 90vh;
  }
  /* if single merchant, reduce map height */
  [data-merchant]:not([data-merchant=""]) .map-wrapper,
  [data-merchant]:not([data-merchant=""]) .map-wrapper iframe {
    min-height: 45vh;
  }
}

@media (max-width: 767px) {
  #map-md {
    border-radius: 10px;
    padding: 1rem !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }

  #map-md .row {
    flex-direction: column-reverse;
  }

  #map-md .col-md-6:last-child {
    margin-bottom: 1.5rem;
  }

  .accordion-button .rounded-pill.border {
    display: none !important;
  }

  .accordion-button {
    padding: 1rem !important;
  }

  .accordion-button .d-flex.gap-3 {
    gap: 0 !important;
  }

  .accordion-button .fs-4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .accordion-button .d-flex.align-items-center.text-primary-color {
    flex-wrap: wrap;
    font-size: 0.85rem;
    gap: 0.25rem;
  }

  .accordion-button iconify-icon {
    width: 16px !important;
    height: 16px !important;
  }

  .accordion-body {
    padding: 1rem !important;
  }

  .accordion-body p {
    font-size: 0.9rem;
    margin-bottom: 1rem !important;
  }

  .accordion-body .d-flex.gap-2 {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  .accordion-body a {
    padding: 0.75rem !important;
    font-size: 0.9rem;
  }

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 80vh;
  }
  /* if single merchant, reduce map height */
  [data-merchant]:not([data-merchant=""]) .map-wrapper,
  [data-merchant]:not([data-merchant=""]) .map-wrapper iframe {
    min-height: 40vh;
  }

  .accordion-item {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 575px) {
  #map-md {
    padding: 0.75rem !important;
  }

  .accordion-button {
    padding: 0.75rem !important;
  }

  .accordion-button .fs-4 {
    font-size: 1rem !important;
  }

  .accordion-body {
    padding: 0.75rem !important;
  }

  .accordion-body p {
    font-size: 0.85rem;
  }

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 50vh;
  }
  /* if single merchant, reduce map height */
  [data-merchant]:not([data-merchant=""]) .map-wrapper,
  [data-merchant]:not([data-merchant=""]) .map-wrapper iframe {
    min-height: 50vh;
  }

  .accordion-button .d-flex.align-items-center.text-primary-color {
    font-size: 0.8rem;
  }

  .accordion-button .mx-2 {
    display: none;
  }
}

/* =============================================
   Knowledge Hub - AutoComplete.js Overrides
   ============================================= */

/* The autoComplete.js library wraps the input in .autoComplete_wrapper
   which defaults to inline-block + fixed width. Override to fill search-box. */
.search-box .autoComplete_wrapper {
  display: block !important;
  position: static !important;
  width: 100% !important;
  flex: 1 1 auto;
}

/* Override autoComplete.js default input styles to match original .search-box input */
.search-box .autoComplete_wrapper > input#knowledgeHubSearchInput {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 1rem !important;
  border: none !important;
  border-radius: 10px 0px 0px 10px !important;
  font-size: 1rem !important;
  background-image: none !important;
  background-color: white !important;
  color: #333 !important;
  box-sizing: border-box !important;
  outline: none !important;
  text-overflow: ellipsis;
}

.search-box .autoComplete_wrapper > input#knowledgeHubSearchInput::placeholder {
  color: #999 !important;
}

.search-box .autoComplete_wrapper > input#knowledgeHubSearchInput:focus {
  outline: none !important;
  border: none !important;
  color: #333 !important;
}

.search-box .autoComplete_wrapper > input#knowledgeHubSearchInput:hover {
  color: #333 !important;
}

/* Dropdown results list — positioned relative to the search-box */
.search-box .autoComplete_wrapper > ul#autoComplete_list_knowledge {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: 400px;
  overflow-y: auto;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border: none;
  border-top: 2px solid #50c783;
  opacity: 1 !important;
  transform: none !important;
}

#autoComplete_list_knowledge li {
  padding: 0;
  margin: 0;
  white-space: normal;
  text-overflow: unset;
  overflow: visible;
  border-radius: 0;
  background-color: transparent;
}

#autoComplete_list_knowledge li .kb-ac-item {
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f1f1f1;
}

#autoComplete_list_knowledge li:last-child .kb-ac-item {
  border-bottom: none;
}

#autoComplete_list_knowledge li .kb-ac-item:hover,
#autoComplete_list_knowledge li[aria-selected="true"] .kb-ac-item {
  background-color: #f0faf4;
}

#autoComplete_list_knowledge li:hover,
#autoComplete_list_knowledge li[aria-selected="true"] {
  background-color: transparent;
}

#autoComplete_list_knowledge .kb-ac-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f2937;
  margin-bottom: 2px;
}

#autoComplete_list_knowledge .kb-ac-item-summary {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.4;
}

#autoComplete_list_knowledge .kb-ac-item-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  width: fit-content;
}

#autoComplete_list_knowledge .kb-ac-item-badge.kb-badge-category {
  background: linear-gradient(to right, #25a65b, #50c783);
  color: white;
}

#autoComplete_list_knowledge .kb-ac-item-badge.kb-badge-article {
  background-color: #e8f5e9;
  color: #2e7d32;
}

#autoComplete_list_knowledge .kb-ac-no-result {
  padding: 16px 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Matched text highlight */
#autoComplete_list_knowledge mark,
#autoComplete_list_knowledge li mark {
  background-color: #d0ffe4;
  color: #1f2937;
  font-weight: 700;
  padding: 0 1px;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .search-box .autoComplete_wrapper > input#knowledgeHubSearchInput {
    padding: 15px 20px !important;
    font-size: 0.9rem !important;
  }
}

/* Knowledge Base List — cards (same visual language as product catalog; kb-prefixed) */
.kb-list-faceted-section a.kb-list-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  background-color: #fff;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease;
}

.kb-list-faceted-section a.kb-list-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  color: inherit;
}

.kb-list-faceted-section .kb-list-card-thumb-wrap {
  padding: 0.5rem;
  border-radius: 10px;
  background-color: #158b0026;
}

.kb-list-faceted-section .kb-list-card-img {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.kb-list-faceted-section .kb-list-card-body {
  padding: 0;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.kb-list-faceted-section .kb-list-card-meta {
  font-size: 0.75rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.kb-list-faceted-section .kb-list-card-title {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
}

.kb-list-faceted-section .kb-list-card-summary {
  margin: 0 0 0.75rem;
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kb-list-faceted-section .kb-list-card-cta {
  margin-top: auto;
  padding: 0.75rem 0;
  width: 100%;
  border: 1px solid var(--green-color);
  color: var(--green-color);
  background-color: transparent;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.kb-list-faceted-section a.kb-list-card:hover .kb-list-card-cta {
  background: linear-gradient(to right, #25a65b, #50c783);
  color: #fff;
  border-color: transparent;
}

.product-card img {
  transition: transform 0.5s ease;
}
.product-card:hover img {
  transform: scale(1.1);
}

@media (min-width: 1200px) {
  .content-article h1,
  .content-article .h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .content-article .h2,
  .content-article h2 {
    font-size: 2rem;
  }
}

@media (min-width: 1200px) {
  .content-article h3,
  .content-article .h3 {
    font-size: 1.75rem;
  }
}

@media (min-width: 1200px) {
  .content-article h4,
  .content-article .h4 {
    font-size: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .content-article .h5,
  .content-article h5 {
    font-size: 1.25rem;
  }
}

@media (min-width: 1200px) {
  .content-article .h6,
  .content-article h6 {
    font-size: 18px;
  }
}
