:root {
    --base-bg: white;
    --base-black: #212529;
    --base-primary: #f9747f;
    --base-primary-light: #fff0f0;
    --base-gray: #c6c6c6;
    --base-gray-light: #eaeaea;
    --base-gray-dark: #777777;
    --cs-green: #28a745;
}

.section-body * {
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont,
        "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.fa, .far, .fas {
    font-family: "Font Awesome 5 Free" !important;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
}

.section-body {
    background: var(--base-bg);
    display: block;
    position: relative;
    height: 100%;
    padding-bottom: 10px;
}

.vendor-title * {
    color: var(--base-black);
}

.vendor-title h1 {
    font-weight: 500;
    font-size: 18px;
}

.vendor-action svg {
    font-size: 20px;
    margin-left: 20px;
    width: 18px;
    height: 18px;
}

.favorite-vendor.fill {
    stroke: var(--base-primary);
    fill: var(--base-primary);
}

.vendor-related .slick-slide {
    margin: 0 10px 20px 10px;
}

.vendor-related .slick-list {
    margin: 0 -10px;
}

.vendor-banner {
    margin-bottom: 30px;
}

.vendor-banner .banner .banner-img {
    height: 330px;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.vendor-profile * {
    text-decoration: none;
    color: var(--base-black);
}

.vendor-profile {
    margin-bottom: 30px;
}

.vendor-profile .logo {
    height: 76px;
    width: 76px;
    border-radius: 50%;
    margin-right: 30px;
    border: 1px solid #eee;
}

.vendor-profile .vendor {
    font-size: 18px;
}

.vendor-profile .title {
    font-size: 20px;
    font-weight: bold;
}

.vendor-profile .category {
    margin-top: -5px;
}

.vendor-profile .category a {
    font-weight: bold;
    font-size: 18px;
    color: #a6a6a6;
}

.vendor-content .title-section {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.vendor-content .content-card {
    border-radius: 0.5rem;
    border: 1px solid var(--base-gray);
    padding: 1rem;
    margin-bottom: 30px;
}

.vendor-content .content-card span {
    font-size: 14px;
    color: var(--base-gray-dark);
}

.vendor-content .content-card span.color-inherit {
    color: inherit;
}

.vendor-content .content-grid {
    display: grid;
    grid-template-columns: 25% 5% 70%;
}

.btn-cs-success:hover,
.btn-cs-outline-secondary:hover {
    box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
}

.cs-link {
    color: var(--base-primary);
    text-decoration: none;
}

.cs-link:hover {
    color: var(--base-primary);
    text-decoration: none;
}

.btn-cs-success {
    --bs-btn-font-weight: 500;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--cs-green);
    --bs-btn-border-color: var(--cs-green);
    --bs-btn-border-radius: 0.35rem;
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: var(--cs-green);
    --bs-btn-hover-border-color: var(--cs-green);
    --bs-btn-focus-shadow-rgb: var(--cs-green-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: var(--cs-green);
    --bs-btn-active-border-color: var(--cs-green);
}

.btn-cs-outline-secondary {
    --bs-btn-font-weight: 500;
    --bs-btn-color: var(--base-gray-dark);
    --bs-btn-bg: var(--bs-white);
    --bs-btn-border-color: var(--base-gray);
    --bs-btn-border-radius: 0.35rem;
    --bs-btn-hover-color: var(--base-gray-dark);
    --bs-btn-hover-bg: var(--bs-white);
    --bs-btn-hover-border-color: var(--base-gray-dark);
    --bs-btn-focus-shadow-rgb: var(--base-gray-dark);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: var(--base-gray-dark);
    --bs-btn-active-border-color: var(--base-gray-dark);
}

.btn-cs-contact {
    text-align: start;
    --bs-btn-font-weight: 500;
    --bs-btn-color: var(--base-primary);
    --bs-btn-bg: var(--bs-white);
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: 0.35rem;
    --bs-btn-hover-color: var(--base-primary);
    --bs-btn-hover-bg: var(--bs-white);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-focus-shadow-rgb: var(--base-gray-dark);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: var(--base-gray-dark);
    --bs-btn-active-border-color: var(--base-gray-dark);
}

.alert-cs-primary {
    --bs-alert-color: var(--base-gray-dark);
    --bs-alert-bg: var(--base-primary-light);
    --bs-alert-border-color: var(--base-primary);
}

.btn-cs-contact svg {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    color: var(--base-gray-dark);
}

.btn-cs-contact .fab {
    width: 16px;
    height: 16px;
    font-size: 16px;
    text-align: center;
    margin-right: 0.5rem;
    color: var(--base-gray-dark);
}

.vendor-nav * {
    text-decoration: none;
    color: var(--base-black);
    text-align: center;
}

.vendor-nav {
    border-top: 1px solid var(--base-gray);
    border-bottom: 1px solid var(--base-gray);
    padding: 4px 0px;
    position: sticky;
    width: 100%;
    background: white;
    z-index: 15;
}

.vendor-nav-menu {
    border-right: 1px solid var(--base-gray);
}

.vendor-nav-menu:last-child {
    border-right: none;
}

.vendor-nav-menu a:hover {
    color: var(--base-black);
}

.portfolio-side {
    display: grid;
    grid-template-columns: repeat(3, minmax(25px, 1fr));
    width: 100%;
    gap: 1rem;
}

.portfolio-side.empty {
    grid-template-columns: 1fr;
}

.portfolio-side * {
    transition: all 0.8s;
}

.portfolio-img {
    height: 150px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--base-gray);
}

.portfolio-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.portfolio-detail {
    border: 1px solid var(--base-gray);
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--base-black);
    text-decoration: none;
}

.portfolio-side a:hover > .portfolio-detail {
    box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
}

.portfolio-side a:hover > .portfolio-img img {
    transform: scale(1.2);
}

.album-side {
    display: grid;
    grid-template-columns: repeat(3, minmax(25px, 1fr));
    width: 100%;
    gap: 1rem;
}

.album-side.empty {
    grid-template-columns: 1fr;
}

.album-side * {
    transition: all 0.8s;
}

.album-side .portfolio-detail.loved {
    background: var(--base-primary);
    border: 1px solid var(--base-primary);
}

.album-side .portfolio-detail.loved svg {
    fill: white;
    stroke: white;
}

.vendor-footer-title {
    font-size: 16px;
    font-weight: 600;
}

.vendor-related .slick-dots {
    bottom: -16px;
}
.vendor-related .slick-dots li {
    margin: 0px;
}

.skeleton-square {
    height: 100%;
    border-radius: 5px;
    background: rgba(130, 130, 130, 0.2);
    background: -webkit-gradient(
        linear,
        left top,
        right top,
        color-stop(8%, rgba(130, 130, 130, 0.2)),
        color-stop(18%, rgba(130, 130, 130, 0.3)),
        color-stop(33%, rgba(130, 130, 130, 0.2))
    );
    background: linear-gradient(
        to right,
        rgba(130, 130, 130, 0.2) 8%,
        rgba(130, 130, 130, 0.3) 18%,
        rgba(130, 130, 130, 0.2) 33%
    );
    background-size: 800px 100px;
    animation: wave-squares 2s infinite ease-out;
}

.skeleton-line {
    height: fit-content;
    border-radius: 2px;
    background: rgba(130, 130, 130, 0.2);
    background: -webkit-gradient(
        linear,
        left top,
        right top,
        color-stop(8%, rgba(130, 130, 130, 0.2)),
        color-stop(18%, rgba(130, 130, 130, 0.3)),
        color-stop(33%, rgba(130, 130, 130, 0.2))
    );
    background: linear-gradient(
        to right,
        rgba(130, 130, 130, 0.2) 8%,
        rgba(130, 130, 130, 0.3) 18%,
        rgba(130, 130, 130, 0.2) 33%
    );
    background-size: 800px 100px;
    animation: wave-lines 2s infinite ease-out;
}

.portfolio-side .skeleton-line {
    min-height: 37px;
}

.portfolio-side .skeleton-square {
    min-height: 150px;
}

.vendor-store-side .skeleton-square {
    min-height: 160px;
}

.vendor-store-side .skeleton-line {
    min-height: 18px;
}

@keyframes wave-lines {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

@keyframes wave-squares {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.vendor-showhide {
    max-height: 300px;
    overflow: hidden;
}

.vendor-showhide.expand {
    max-height: max-content;
    margin-bottom: 30px;
}

.vendor-showhide.expand::after {
    background-image: none;
    width: 0px;
    height: 0px;
}

.vendor-showhide::after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 1) 90%
    );
    width: 100%;
    height: 120px;
}

.vendor-show-more.expand {
    bottom: 0px;
    margin-bottom: -10px;
}

.vendor-show-more {
    z-index: 2;
    position: absolute;
    bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.vendor-show-more * {
    font-size: 16px;
    font-weight: 500;
    color: #fa7a85;
    text-decoration: none;
}

.vendor-show-more *:hover {
    font-size: 16px;
    font-weight: 500;
    color: #fa7a85;
    text-decoration: none;
}

.faq .accordion {
    --bs-accordion-active-color: var(--base-black);
    --bs-accordion-active-bg: var(--base-gray-light);
    --bs-accordion-btn-focus-border-color: var(--base-gray-light);
    --bs-accordion-bg: #ffffff;
    --bs-accordion-btn-focus-box-shadow: none;
}

.rated {
    color: gold;
}

@media (max-width: 767px) {
    .card-ulasan * {
        font-size: 9.5pt;
    }
    
    .card-ulasan img {
        height: 36px;
        width: 36px;
    }

    .vendor-banner .banner .banner-img {
        height: 103px;
    }

    .vendor-nav {
        overflow: hidden;
        overflow-x: scroll;
    }

    .portfolio-side, .album-side {
        grid-template-columns: 1fr;
    }
}
