:root {
    /* SET THEME COLORS */
    --theme-color-0: #bd003d;
    --theme-color-0-rgb: 189, 0, 61;
    --theme-color-1: #ff0052;
    --theme-color-1-rgb: 255, 0, 82;
    --theme-color-2: #ff0079;
    --theme-color-2-rgb: 255, 0, 121;
    --theme-color-3: #ff00f9;
    --theme-color-3-rgb: 255, 0, 249;
    --theme-color-4: #ff0086;
    --theme-color-4-rgb: 255, 0, 134;

    /* SET THEME FONTS */
    --theme-font-size: 12px;

    /* SET SWIPER COLORS */
    --swiper-pagination-color: var(--theme-color-1);
}

html {
    font-size: var(--theme-font-size);
}

body {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#top {
    background-color: var(--theme-color-0);
    color: #fff;
    padding: .5em 0;
}

#main-menu {
    background-color: var(--theme-color-1);
    color: #fff;
    font-size: 1.25rem;
}

#main-menu .nav-item .nav-link {
    padding: .5em 1em;
    border-right: 1px solid rgba(255, 255, 255, .25);
}

#main-menu .nav-item:last-child .nav-link {
    border-right: none;
}

#main-menu .nav-item:first-child .nav-link {
    border-left: 1px solid rgba(255, 255, 255, .25);
}

/* Bootstrap rewrite */
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.accordion-button:focus {
    border-color: var(--theme-color-1);
    box-shadow: none;
}
.btn-outline-primary {
    --bs-btn-color: var(--theme-color-1);
    --bs-btn-border-color: var(--theme-color-1);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--theme-color-1);
    --bs-btn-hover-border-color: var(--theme-color-1);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--theme-color-1);
    --bs-btn-active-border-color: var(--theme-color-1);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--theme-color-0);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--theme-color-0);
    --bs-gradient: none;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--theme-color-1);
    --bs-btn-border-color: var(--theme-color-1);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--theme-color-0);
    --bs-btn-hover-border-color: var(--theme-color-0);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--theme-color-0);
    --bs-btn-active-border-color: var(--theme-color-0);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(var(--theme-color-0-rgb), 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--theme-color-1);
    --bs-btn-disabled-border-color: var(--theme-color-1);
}
.nav-tabs .nav-link {
    color: var(--theme-color-0);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    font-size: 1.25em;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #fff;
    background-color: var(--theme-color-0);
    border-color: var(--theme-color-0);
}

.accordion-button:not(.collapsed) {
    color: var(--theme-color-0);
}

.form-check-input:checked {
    background-color: var(--theme-color-1);
    border-color: var(--theme-color-1);
}

.list-group-item.active {
    z-index: 2;
    color: var(--bs-list-group-color);
    background-color: rgba(var(--theme-color-1-rgb), 0.05);
    border-color: var(--bs-list-group-border-color);
}

.text-bg-primary {
    color: #fff !important;
    background-color: rgba(var(--theme-color-1-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--theme-color-1-rgb), var(--bs-bg-opacity)) !important;
}

.text-bg-secondary {
    color: var(--theme-color-0) !important;
    --bs-bg-opacity: .25;
    background-color: rgba(var(--theme-color-0-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-accent {
    --bs-text-opacity: 1;
    color: rgba(var(--theme-color-0-rgb), var(--bs-text-opacity)) !important;
}

.form-control:focus {
    border-color: var(--theme-color-1);
    box-shadow: none;
}

.product-thumb .product-name {
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 3em;
}

.product-thumb .product-description {
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 5em;
}

.product-thumb .buttons {
    display: none;
}

.pagination {
    gap: .5em;
}

.breadcrumb-item a span {
    max-width: 20em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.pagination {
    justify-content: center;
}

.pagination > li > * {
    display: flex;
    width: 2em;
    height: 2em;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--theme-color-1);
    border-radius: .25em;
    color: var(--theme-color-1);
    text-decoration: none;
    transition: all linear .3s;
}

.pagination > li.active > * {
    background-color: var(--theme-color-1);
    color: #fff;
}

.pagination > li > *:hover {
    background-color: var(--theme-color-1);
    color: #fff;
}

.footer-logo {
    filter: grayscale(100%);
    opacity: .5;
}

.powered a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.product-thumb .image {
    background-color: #f7f7f7;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: .25em;
}

.product-thumb .image img {
    mix-blend-mode: multiply;
}

#product-product #product-description {
    font-size: 1.25em;
    text-align: justify;
}

@media screen and (min-width: 768px) {
    .product-thumb .buttons {
        display: block;
    }

    .product-thumb .add-to-cart,
    .product-thumb .buttons {
        opacity: 0;
        transition: opacity .3s;
    }

    .product-thumb:hover .add-to-cart,
    .product-thumb:hover .buttons {
        opacity: 1;
    }
}

@media screen and (min-width: 991px) {
    .pagination {
        justify-content: flex-start;
        margin-bottom: 0;
    }

    .product-thumb .image {
        overflow: hidden;
    }

    .product-thumb .image img {
        transition: transform .5s;
    }

    .product-thumb:hover .image img {
        transform: scale(1.1);
    }
}

@media screen and (max-width: 991px) {
    #top-buttons > div {
        color: var(--theme-color-0) !important;
        --bs-bg-opacity: .25;
        background-color: rgba(var(--theme-color-1-rgb), var(--bs-bg-opacity, 1)) !important;
        display: flex;
        align-items: center;
        width: 33%;
        justify-content: center;
        height: 3em;
    }

    #top-buttons > div > button,
    #top-buttons > div > a {
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #top-buttons > div > button > .badge,
    #top-buttons > div > a > .badge,
    #top-buttons > div > a > div > .badge,
    #top-buttons > div > button > div > .badge {
        background: none !important;
    }
}

@media screen and (max-width: 391px) {
    #top-buttons {
        gap: .25em !important;
    }
    #top-buttons > div > button > .badge,
    #top-buttons > div > a > .badge,
    #top-buttons > div > a > div > .badge,
    #top-buttons > div > button > div > .badge {
        display: none !important;
    }

    #top-buttons > div,
    #top-buttons > div > button,
    #top-buttons > div > a {
        gap: 0 !important;
    }
}