/* =========================================================
 * App-specific minimal styles for HISUPP-based frontend.
 *
 * NOTE: The bulk of the theme is provided by template-supp CSS
 * (bootstrap, slick, meanmenu, style.css, responsive.css, etc.)
 * plus the inline Theme Engine in index.html that defines
 * --fe-* variables and overrides classes like .btn.ss-btn,
 * .footer-bg.footer-p, .section-title and so on.
 *
 * This file only provides utility styles that are independent
 * of the old Bootstrap customisation layer (no global resets,
 * no container width locks, no global body / heading overrides).
 * ========================================================= */

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff !important;
  border-radius: 100px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3);
  opacity: 0.95;
  color: #ffffff !important;
}

.btn-whatsapp-xl {
  font-size: 1.35rem;
  padding: 1rem 2.25rem;
  border-radius: 100px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-whatsapp-xl .badge-pulse {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ffb400;
  color: #1f2937;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  font-weight: 700;
  animation: pulseBadge 1.6s infinite;
  box-shadow: 0 4px 14px rgba(255, 180, 0, 0.5);
}
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(255, 180, 0, 0.5); }
  50%      { transform: scale(1.08); box-shadow: 0 4px 22px rgba(255, 180, 0, 0.75); }
}

#wa-float {
  animation: floatWA 3s ease-in-out infinite;
  text-decoration: none;
}
@keyframes floatWA {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

#wa-float.btn-whatsapp::before {
  content: "\f232" !important;
  font-family: "Font Awesome 6 Brands","Font Awesome 5 Brands","Font Awesome 5 Free" !important;
  font-weight: 400 !important;
  font-size: 1.7rem !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #fff !important;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
  color: var(--fe-primary, #002e5b);
  font-size: 1.1rem;
  gap: 0.75rem;
}
.loading-spinner .spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(0, 46, 91, 0.15);
  border-top-color: var(--fe-primary, #002e5b);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

#supplement2 {
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;

    padding: 0 !important;
    margin: 0 !important;

    overflow: visible !important;
}

#supplement2 .container {
    height: 160px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#supplement2 .row {
    height: 160px !important;

    margin: 0 !important;
}

#supplement2 .col-lg-12,
#supplement2 .product-active {
    height: 160px !important;

    padding: 0 !important;
    margin: 0 !important;
}


/* Slick container */
#supplement2 .slick-list {
    height: 160px !important;

    overflow: hidden !important;
}

#supplement2 .slick-track {
    height: 160px !important;

    display: flex !important;
    align-items: center !important;
}


/* Setiap slide */
#supplement2 .slick-slide {
    height: 160px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Container logo */
#supplement2 .single-brand {
    width: 100% !important;
    height: 160px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 5px !important;
    margin: 0 !important;

    overflow: visible !important;
}


/* Logo */
#supplement2 .single-brand img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 55% !important;
    max-height: 55% !important;

    object-fit: contain !important;

    margin: 0 auto !important;

    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* =========================================================
 * Category Filter Buttons in Katalog Produk
 * ========================================================= */
.filter-button-group {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 25px !important;
}
.filter-button-group button {
    border: 1px solid #d0dbe7 !important;
    background: #ffffff !important;
    color: var(--fe-primary, #082c5e) !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    padding: 8px 22px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    outline: none !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
}
.filter-button-group button:hover {
    border-color: var(--fe-primary, #082c5e) !important;
    color: var(--fe-primary, #082c5e) !important;
    background: #f1f5f9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(8, 44, 94, 0.1) !important;
}
.filter-button-group button.active {
    background: var(--fe-primary, #082c5e) !important;
    background-color: var(--fe-primary, #082c5e) !important;
    color: #ffffff !important;
    border-color: var(--fe-primary, #082c5e) !important;
    box-shadow: 0 4px 14px rgba(8, 44, 94, 0.3) !important;
    transform: translateY(-1px) !important;
}

.katalog-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: linear-gradient(135deg, #f6b40a, #e5831f);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(229, 131, 31, 0.35);
}

#katalog-pagination .page-item {
    margin: 0 4px;
}
#katalog-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 40px;
    padding: 0 10px;
    margin-left: 0;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #5a6474;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}
#katalog-pagination .page-item.active .page-link {
    background: var(--fe-accent, #ff9222);
    border-color: var(--fe-accent, #ff9222);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 146, 34, 0.3);
}
#katalog-pagination .page-item.disabled .page-link {
    color: #cbd5e1;
    border-color: #eef2f7;
    background: #f8fafc;
    pointer-events: none;
}
#katalog-pagination .page-item:not(.disabled) a.page-link:hover {
    background: var(--fe-bg-tint-1, #fff2e5);
    border-color: var(--fe-accent, #ff9222);
    color: var(--fe-primary, #002e5b);
}

/* =========================================================
 * Single-Line Ultra-Compact Page Header Breadcrumb
 * ========================================================= */
.inner-page-header {
    background: var(--fe-bg-tint-gradient, linear-gradient(135deg, #fff7ee 0%, #ffedd9 100%)) !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--fe-bg-tint-border, rgba(255, 146, 34, 0.15)) !important;
    position: relative;
    z-index: 1;
    min-height: auto !important;
}
.inner-breadcrumb-bar {
    display: flex !important;
    align-items: center !important;
    min-height: 24px !important;
}
.inner-page-header .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}
.inner-page-header .breadcrumb-item {
    display: inline-flex !important;
    align-items: center !important;
}
.inner-page-header .breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
    color: #cbd5e1 !important;
    padding: 0 10px !important;
    font-weight: 400 !important;
}
.inner-page-header .breadcrumb-item a {
    color: #64748b !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}
.inner-page-header .breadcrumb-item a:hover {
    color: var(--fe-accent, #ff9222) !important;
}
.inner-page-header .breadcrumb-item.active {
    color: var(--fe-accent, #ff9222) !important;
    font-weight: 700 !important;
}

/* Home Slider Banner size adjusted to banner proportions */
.slider-area .single-slider.slider-bg {
    min-height: 380px !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}
.slider-area .slider-img img {
    max-height: 280px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}
@media (max-width: 991px) {
    .slider-area .single-slider.slider-bg {
        min-height: 300px !important;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    .inner-page-header {
        padding: 8px 0 !important;
    }
    .inner-page-header .breadcrumb {
        font-size: 0.85rem !important;
    }
}

/* =========================================================
 * Footer & Contact Widget Icon Alignment
 * ========================================================= */
.f-contact ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.f-contact li {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    float: none !important;
}
.f-contact li:last-child {
    margin-bottom: 0 !important;
}
.f-contact li i,
.f-contact li .icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    line-height: 38px !important;
    text-align: center !important;
    border-radius: 50% !important;
    background-color: var(--fe-accent, #ff9222) !important;
    color: #ffffff !important;
    margin-right: 14px !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
}
.f-contact li i.fa-whatsapp,
.f-contact li i.fab.fa-whatsapp {
    background-color: #25d366 !important;
    color: #ffffff !important;
}
.f-contact li span {
    color: inherit !important;
    display: block !important;
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
}

/* =========================================================
 * Contact Page (Hubungi Kami) 3-Card Layout
 * ========================================================= */
.contact-bg02 .f-contact {
    background-color: var(--fe-primary, #002e5b) !important;
    border-radius: 14px !important;
    padding: 24px !important;
    min-height: 115px !important;
    box-shadow: 0 8px 24px rgba(0, 46, 91, 0.12) !important;
}
.contact-bg02 .f-contact i,
.contact-bg02 .f-contact .icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    line-height: 42px !important;
    text-align: center !important;
    border-radius: 50% !important;
    background-color: var(--fe-accent, #ff9222) !important;
    color: #ffffff !important;
    margin-right: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
}
.contact-bg02 .f-contact i.fa-whatsapp,
.contact-bg02 .f-contact i.fab.fa-whatsapp {
    background-color: #25d366 !important;
    color: #ffffff !important;
}
.contact-bg02 .f-contact span {
    color: #ffffff !important;
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
}
.contact-bg02 .f-contact span b {
    color: #ffffff !important;
    font-size: 0.95rem !important;
    display: inline-block !important;
    margin-bottom: 2px !important;
}
.contact-bg02 .f-contact a {
    color: #ffffff !important;
    text-decoration: none !important;
}
.contact-bg02 .f-contact a:hover {
    color: var(--fe-accent-light, #ffb266) !important;
}

/* =========================================================
 * Hero / Banner Search Bar in Beranda
 * ========================================================= */
.hero-search-box {
    position: relative;
    z-index: 10;
}
.hero-search-box form {
    position: relative;
    max-width: 100%;
}
.hero-search-input {
    transition: all 0.25s ease !important;
}
.hero-search-input:focus {
    border-color: var(--fe-accent, #ff9222) !important;
    box-shadow: 0 0 0 3px rgba(255, 146, 34, 0.28) !important;
    outline: none !important;
}
.hero-search-box button {
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}
.hero-search-box button:hover {
    background-color: var(--fe-primary, #002e5b) !important;
    transform: scale(1.06);
}

/* =========================================================
 * Compact Navy Counter Area
 * ========================================================= */
.counter-area {
    background: linear-gradient(135deg, var(--fe-primary, #082c5e) 0%, var(--fe-primary-dark, #001f3f) 100%) !important;
    background-image: none !important;
    padding: 30px 0 !important;
    position: relative;
    z-index: 2;
}
.counter-area .single-counter {
    margin-bottom: 0 !important;
}
.counter-area .single-counter .counter {
    margin-bottom: 2px !important;
}
.counter-area .count {
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
    margin-bottom: 2px !important;
    display: inline-block !important;
}
.counter-area .counter small {
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    color: var(--fe-accent-light, #ffb266) !important;
    line-height: 1.1 !important;
    display: inline-block !important;
}
.counter-area .single-counter p {
    color: #dbeafe !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
    letter-spacing: 0.2px !important;
}
.single-counter .counter::before,
.single-counter .counter::after {
    display: none !important;
}
@media (max-width: 767px) {
    .counter-area {
        padding: 22px 0 !important;
    }
    .counter-area .single-counter {
        margin-bottom: 12px !important;
    }
    .counter-area .count {
        font-size: 1.7rem !important;
    }
    .counter-area .counter small {
        font-size: 1.4rem !important;
    }
    .counter-area .single-counter p {
        font-size: 0.8rem !important;
    }
}

/* =========================================================
 * Social Media & Instagram Gallery Cards
 * ========================================================= */
.social-gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.06);
}
.social-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(8, 44, 94, 0.16);
}
.social-gallery-img-wrap {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #f1f5f9;
}
.social-gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.social-gallery-card:hover .social-gallery-img-wrap img {
    transform: scale(1.08);
}
.social-gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
}
.badge-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: #ffffff !important;
}
.badge-social {
    background: var(--fe-primary, #082c5e) !important;
    color: #ffffff !important;
}
.social-gallery-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}
.social-gallery-card:hover .social-gallery-play-btn {
    background: var(--fe-accent, #ff9222);
    transform: translate(-50%, -50%) scale(1.15);
}
.social-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 44, 94, 0.2) 0%, rgba(8, 44, 94, 0.95) 75%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 4;
}
.social-gallery-card:hover .social-gallery-overlay {
    opacity: 1;
}
.social-gallery-overlay-content {
    width: 100%;
    transform: translateY(10px);
    transition: transform 0.35s ease;
}
.social-gallery-card:hover .social-gallery-overlay-content {
    transform: translateY(0);
}
.social-gallery-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--fe-accent-light, #ffb266);
    margin-bottom: 4px;
}
.social-gallery-title {
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.social-gallery-caption {
    color: #e2e8f0;
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.social-gallery-action-btn {
    font-size: 0.82rem !important;
    padding: 7px 16px !important;
    border-radius: 50px !important;
    background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
}
.social-gallery-action-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.04);
}
@media (max-width: 767px) {
    .social-gallery-img-wrap {
        height: 220px;
    }
}

/* ================= ABOUT SLIDER / CAROUSEL ================= */
.about-slider-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 520px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
    background: #e2e8f0;
    user-select: none;
}

.about-slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.about-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.75s ease-in-out, transform 0.75s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.75s;
    transform: scale(1.04);
    z-index: 1;
}

.about-slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.about-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #082c5e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.about-slider-wrap:hover .about-slider-nav-btn,
.about-slider-wrap:focus-within .about-slider-nav-btn {
    opacity: 1;
}

@media (hover: none) {
    .about-slider-nav-btn {
        opacity: 0.85;
    }
}

.about-slider-nav-btn:hover {
    background: #ffffff;
    color: #0b3b7c;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.about-slider-nav-btn.prev {
    left: 12px;
}

.about-slider-nav-btn.next {
    right: 12px;
}

.about-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.38);
    padding: 5px 12px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.about-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.about-slider-dot.active {
    width: 22px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}
