.desk-artikel{
    color: #FFF;
font-family: Poppins;
font-size: 22px;
font-style: normal;
font-weight: 400;
line-height: 35px; /* 187.5% */
}
.desk-artikel p{
    color: #FFF;
font-family: Poppins;
font-size: 22px;
font-style: normal;
font-weight: 400;
line-height: 35px; /* 187.5% */
}

.bg-artikel{
    width: 100%;
    background: url('../../bgrtikel.jpg');
    background-size: 100%;
}


.img-crop-detail{

  width: 100%;
  object-fit: cover;
  height: 500px;
}
.bg-about1{
    width: 100%;
    background: url('../../bgabout.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-top: -60px;
    border-radius: 0px;
}
.bg-about{
    width: 100%;
    background: url('../../bgabout.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-top: 0px;
    border-radius: 0px;
}

.bg-dokter{
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.60) 3.47%, rgba(0, 0, 0, 0.00) 58.74%, rgba(0, 0, 0, 0.58) 92.72%), url('../../bgdokter.png') lightgray 0px -408.421px / 100% 112.428% no-repeat;
    margin-top: -45px;
    border-radius: 0px;
}


.bg-og{
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.60) 3.47%, rgba(0, 0, 0, 0.00) 58.74%, rgba(0, 0, 0, 0.58) 92.72%), url('../../bgog.png') lightgray -195.029px -339.17px / 115.749% 200.398% no-repeat;
}

.bg-bf{
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.60) 3.47%, rgba(0, 0, 0, 0.00) 58.74%, rgba(0, 0, 0, 0.58) 92.72%), url('../../bgog.webp') lightgray -195.029px -360.729px / 115.749% 200.398% no-repeat;
}

.bg-ot{
    width: 100%;
    background: url('../../bgog.png') lightgray -301.127px -591.169px / 132.74% 229.813% no-repeat, #FFF;
}


.title-produk{
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 52.138px; /* 289.655% */
}
/* Button share pojok kanan atas */
.btn-share-wrapper {
  position: absolute;
  bottom: 23%;
  right: 5%;
  z-index: 100;
}

@media (max-width: 767.98px) {
  .btn-share-wrapper {
  bottom: 13%;
  right: 5%;
  }
}
.desk-produk{
    color: #FFF;
text-align: center;
font-family: Poppins;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 25px; /* 166.667% */
}

.judul-about{
    color: #FFF;
text-align: center;
font-family: Poppins;
font-size: 30px;
font-style: normal;
font-weight: 600;
}

.desk-about{
    color: #FFF;
text-align: center;
font-family: Poppins;
font-size: 20px;
font-style: normal;
font-weight: 500;
letter-spacing: 0.8px;
}

.judul-galeri{
    color: #FFF;
font-family: Poppins;
font-size: 40px;
font-style: normal;
font-weight: 600;
line-height: 36.258px; /* 90.645% */
letter-spacing: 2.4px;
}

.subjudul-galeri{
    color: #FFF;
font-family: Poppins;
font-size: 40px;
font-style: normal;
font-weight: 400;
line-height: 36.258px;
letter-spacing: 2.4px;
}

@media (max-width: 767.98px) {
    .judul-galeri{
font-size: 25px;
}

.subjudul-galeri{
font-size: 25px;
}

}

.form-search{
    border-radius: 12px; 
    background: rgba(145,145,145,0.68); 
    display: flex;
    width: 167px; 
    height: 40px; 
    padding: 0 8px; 
    margin-top: 20px;
    flex-direction: row;
    justify-content: flex-start; 
    align-items: center; 
    gap: 8px;
}
.btn-action1 input::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.judul-highlight{
    margin-bottom: 0;
    font-weight: 600;
    font-size: 30px;
    padding-left: 60px;
    padding-right: 60px;
}

.galeri-img{
    width: 100%;
    height: 485px;
    object-fit: cover;
    border-radius: 9px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.60) 3.47%, rgba(0, 0, 0, 0.00) 58.74%, rgba(0, 0, 0, 0.58) 92.72%);
}

.galeri-subimg{
    width: 100%;
    height: 338.069px;
    object-fit: cover;
border-radius: 12.293px;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.60) 3.47%, rgba(0, 0, 0, 0.00) 58.74%, rgba(0, 0, 0, 0.58) 92.72%), url(<path-to-image>) lightgray 50% / cover no-repeat;
}

.garis-putih{
    flex: 1; border: none; border-top: 4px solid #FFF; opacity: 1;
}

.btn-loadmore{
    color: #FFF; font-family: 'Poppins', sans-serif; font-size: 26px;
                            font-weight: 600; line-height: 27px; white-space: nowrap;
}

.subjudul-doctor{
    color: #FFF;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 40.878px; /* 511.735% */
}

.news-section {
  overflow: hidden;
}

.news-left {
  background-color: #292353; /* warna ungu tua sesuai gambar */
  min-height: 380px;
  padding: 3rem;
}

.news-content {
  color: #fff;
}

.news-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: #fff;
}

.news-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.news-link:hover {
  color: #fff;
}

.news-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 1);
  flex-shrink: 0;
  transition: background 0.2s;
}

.news-link:hover .news-icon {
  background: rgba(255, 255, 255, 0.15);
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 380px;
}

/* Mobile */
@media (max-width: 767.98px) {
  .news-left {
    min-height: 250px;
    padding: 2.5rem 2rem;
  }

  .news-image {
    min-height: 250px;
  }
}

.pagination-news {
  padding: 0;
}

.pagination-news-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  text-decoration: none;
  color: #fff;
  background: transparent;
  border: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.pagination-news-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.pagination-news-active {
  background-color: #47447B !important;
}

.pagination-news-active:hover {
  background-color: #47447B !important;
}

/* Previous & Next lebih lebar */
.pagination-news li:first-child .pagination-news-link,
.pagination-news li:last-child .pagination-news-link {
  width: auto;
  padding: 0 12px;
  gap: 6px;
}

/* Previous opacity 0.5 */
.pagination-news li:first-child .pagination-news-link {
  opacity: 0.5;
}

.pagination-news li:first-child .pagination-news-link:hover {
  opacity: 1;
}
.article-link{
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-link h5{
    color: #0d6efd; /* biru */
}

.article-link:hover h5{
    color: #0a58ca; /* biru lebih gelap saat hover */
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.blink {
    animation: blink 0.5s ease-in-out;
}

.btn-cal-nav {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 10px;
}
.btn-cal-nav:hover {
    opacity: 0.7;
}


.section-hero .hero-slider .btn-action1 {
  position: absolute;
  bottom: 20%;
  left: 10%;
  gap: 20px;
  z-index: 99
}

@media (max-width: 767.98px) {
  .section-hero .hero-slider .btn-action1 {
    bottom: 10%
  }
}

/* Filter Dropdown */
.filter-wrapper {
    position: relative;
}

.filter-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    min-width: 150px;
    z-index: 999;
    overflow: hidden;
}

.filter-dropdown.show {
    display: block;
}

.filter-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.filter-dropdown ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.filter-dropdown ul li a:hover,
.filter-dropdown ul li a.active {
    background: #f5f5f5;
    color: #000;
    font-weight: 600;
}

/* Loading state */
#productGrid.loading {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s;
}



/* === DOCTOR FILTER DROPDOWN === */
.doctor-filter-wrapper {
    position: relative;
}

.doctor-filter-toggle {
    cursor: pointer;
    user-select: none;
}

.doctor-filter-toggle:hover {
    color: var(--primary, #0d6efd);
}

.doctor-filter-toggle.doctor-filter-active {
    transform: rotate(45deg);
    color: var(--primary, #0d6efd);
}

.doctor-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    min-width: 150px;
    z-index: 999;
    overflow: hidden;
}

.doctor-dropdown.doctor-dropdown-open {
    display: block;
}

.doctor-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.doctor-dropdown ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.doctor-dropdown ul li a:hover,
.doctor-dropdown ul li a.doctor-dropdown-item-active {
    background: #f5f5f5;
    color: #000;
    font-weight: 600;
}

/* Loading skeleton */
.doctor-loading {
    display: flex;
    gap: 16px;
    width: 100%;
}

.doctor-loading-card {
    flex: 1;
    height: 220px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: doctor-shimmer 1.2s infinite;
}

@keyframes doctor-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Banner Card Container */
.banner-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.banner-card .banner-img {
    width: 100%;
    display: block;
    transform: scale(1);
    transform-origin: left center; /* zoom mulai dari sisi kiri */
    transition: transform 0.5s ease;
}

.banner-card:hover .banner-img {
    transform: scale(1.04);
}

/* Overlay gelap */
.banner-card .banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.9s ease;
    z-index: 1;
}

.banner-card:hover .banner-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.00) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.00) 100%);
}

/* Teks & tombol */
.banner-card .btn-ds {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    transform: scale(1);
    transform-origin: bottom left;
    transition: transform 0.9s ease;
}

.banner-card:hover .btn-ds {
    transform: scale(1.03);
}

.banner-card .btn-ds h5 {
    color: #fff;
    margin-bottom: 12px;
}

.banner-card .btn-ds .btn-icon {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
/* Ring animasi */
.f-icon__circle-hover {
    stroke: #8B5CF6;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.5s ease;
}
.banner-card:hover .f-icon__circle-hover {
    stroke-dashoffset: 0;
}


/* Warna teks & icon default */
.banner-card .btn-icon {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.img-box-hover {
    position: relative;
    overflow: hidden;
}

.img-box-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.img-box-hover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-product:hover .img-box-hover::after {
    opacity: 1;
}

.card-product:hover .img-box-hover img {
    transform: scale(1.05);
}
.img-zoom-wrap {
    overflow: hidden;
    display: block;
}

.img-zoom-wrap img {
    width: 100%;
    transition: transform 0.4s ease;
}

.article-link:hover .img-zoom-wrap img,
a:hover .img-zoom-wrap img {
    transform: scale(1.08);
}


.arrow-down-icon {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.arrow-wrapper:hover .arrow-down-icon {
    animation: fadeMoveDown 1.2s ease-in-out infinite;
}

@keyframes fadeMoveDown {
    0% {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, 5px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #2d2a5e !important;
    color: #ffffff !important;
}

.img-detail-product {
    width: 100%;
    height: 510px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .img-detail-product {
        height: auto;
        aspect-ratio: 4/3; /* sesuaikan dengan rasio foto produk kamu */
    }
}

.slide-media {
    min-height: 880px;
}

@media (max-width: 991px) {
    .slide-media {
        min-height: unset;
        height: auto;
        aspect-ratio: 16/9; /* opsional, biar iframe/video proporsional */
    }
}