
:root {
    --primary-color: #3264c8;
    --primary-color-rgb: 50, 100, 200;
    --primay-color-bold: #0c5acb;
    --primar-color-bold-rgb: 12, 90, 203;

    --secondary-color: #C80000;

    --text-color: #383838;
    --text-gray: #595959;
    --text-gray-light: #777777;
    --text-bold: #242424;

    --font-serif:  "Open Sans", sans-serif;
    --leading: 1.4;
    --leading-sm: 1.3;
    --font-size-1: 1.75rem;
    --font-size-2: 1.5rem;
    --font-size-3: 1.375rem;
    --font-size-4: 1.25rem;
    --font-size-5: 1.125rem;
    --font-size-6: 1rem;
    --font-size-7: 0.9rem;
    --font-size-body: 0.875rem;
    --font-size-body-sm: 0.75rem;
    --transition-default: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fnc: cubic-bezier(0.4, 0, 0.2, 1);

    --gray-100: #fafafa;
    --gray-200: #e2e2e2;
    --gray-700: #e2e2e2;
}

html {
    font-size: 100%;
}

body {
    font: 400 15px/1.4 var(--font-serif);
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

button {
    outline: none;
    border: none;
    box-shadow: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: var(--leading-sm);
}

main {
    position: relative;
    z-index: 1;
}

.before-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--URL);
}

.section-title {
    font-size: var(--font-size-1);
    font-weight: 700;
    margin-bottom: 0.9rem;
    color:var(--primary-color);
    text-shadow: 0 5px 5px rgba(0, 0, 0, .1);
}

@media (max-width: 1024px) {
    .section-title {
        font-size: var(--font-size-2);
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: var(--font-size-3);
    }
}

.theme-button {
    --button-text: var(--bs-white);
    --button-text-hover: var(--bs-white);
    --button-background: var(--primary-color);
    --button-background-hover: var(--primary-color);
    --button-border: 1px solid transparent;
    --button-padding: 0.75rem 1.5rem;
    --button-arounded: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--button-padding);
    background-color: var(--button-background);
    color: var(--button-text);
    font-weight: 600;
    font-size: var(--font-size-body);
    border: var(--button-border);
    border-radius: var(--button-arounded);
    transition-duration: 350ms;
    transition-timing-function: var(--transition-fnc);
    transition-property: color, background-color;
}

.theme-button .icon {
    display: inline-block;
    height: 1.3em;
    flex-shrink: 1;
    width: 0;
    opacity: 0;
    transform: scale(0);
    transition-duration: inherit;
    transition-timing-function: inherit;
    transition-property: opacity, padding-left, width;
}

.theme-button.theme-button--outline {
    --button-text: var(--primary-color);
    --button-text-hover: var(--bs-white);
    --button-background: transparent;
    --button-background-hover: var(--primary-color);
    --button-border: 1px solid var(--primary-color);
}

.theme-button.theme-button--squared {
    --button-arounded: 0.25rem;
}

.theme-button:hover {
    color: var(--button-text-hover);
    background-color: var(--button-background-hover);
}

.theme-button:hover .icon {
    opacity: 1;
    width: auto;
    transform: scale(1);
    padding-left: 0.75rem;
}

@media (max-width: 767px) {
    .theme-button {
        --button-padding: 0.5rem 1rem;
    }
}


.sw-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem 0;
}

.custom-bullet {
    display: flex;
    width:45px;
    height: 8px;
    border-radius:3px;
    background-color: gray;
    margin:0 5px;
    transition: all 0.5s var(--transition-fnc);
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
    opacity: 0.7;
}

.custom-bullet.swiper-pagination-bullet-active {
   opacity: 1;
    border-radius:3px;
    background-color: var(--secondary-color);
}
.mb-30 {
    margin-bottom: 30px;
}

.mb-60 {
    margin-bottom: 60px;
}

.effect {
    transition-timing-function: var(--transition-fnc);
}

.effect-scale-out {
    transform-origin: 50% 50%;
    transform: scale3d(1, 1, 1);
    transition-property: transform;
    transition-duration: 500ms;
}

.effect-scale-out:hover,
.hovered:hover .effect-scale-out {
    transform: scale3d(1.05, 1.05, 1.05);
}

.effect-color-primary {
    transition-duration: 350ms;
    transition-property: color;
}

.hovered:hover .effect-color-primary {
    color: var(--primary-color);
}

.limit {
    --font-size: 1em;
    --line-height: inherit;
    --line: 3;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: var(--line);
    line-clamp: var(--line);
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    overflow: hidden;
    height: calc(var(--font-size) * var(--line-height) * var(--line));
}

.section-gap {
    padding: 2rem 0;
}

.section-gap--lg {
    padding: 3rem 0;
}

.section-gap--xl {
    padding: 6rem 0;
}

.section-gap--xxl {
    padding: 8rem 0;
}

@media (max-width: 991px) {
    .section-gap--lg {
        padding: 2.5rem 0;
    }

    .section-gap--xl {
        padding: 4rem 0;
    }

    .section-gap--xxl {
        padding: 5.5rem 0;
    }
}

@media (max-width: 767px) {
    .section-gap--xl {
        padding: 3rem 0;
    }

    .section-gap--xxl {
        padding: 4rem 0;
    }
}
@media(max-width: 576px) {
    .custom-bullet{
        display: none !important;
    }
}
.card .card-header {
    background-color: var(--bs-white);
    border-bottom: none;
}

.card .card-footer {
    background-color: var(--bs-white);
    border-top: none;
}

.bg-lightgrey {
    background-color: #f8f9fb;
}

.text-lightgrey {
    color: var(--text-gray-light);
}

.text-color-primary {
    color: var(--primary-color);
}

.text-color-primary-bold {
    color: var(--primay-color-bold);
}

.py-05 {
    padding: 0.5rem 0;
}

.pb-05 {
    padding-bottom: 0.5rem;
}

.theme-form input.form-control,
.theme-form select.form-control {
    height: 44px;
}

.theme-form textarea.form-control {
    resize: none;
}

.theme-form .form-control {
    border-radius: 0;
    font-size: var(--font-size-body);
    box-shadow: none !important;
    outline: none !important;
}

.theme-form .form-control:focus {
    border-color: var(--primary-color);
}

.theme-sw-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 88px;
    color: var(--bs-white);
    opacity: 0;
    visibility: hidden;
    outline: none;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    background-color: var(--primay-color-bold);
    transition: var(--transition-default);
}

.theme-sw-btn.swiper-button-disabled {
    opacity: 0 !important;
}

.theme-sw-btn.prev {
    left: 0;
}

.theme-sw-btn.next {
    right: 0;
}

.swiper-main .theme-sw-btn:hover,
.swiper-main:hover .theme-sw-btn {
    opacity: 0.5;
    visibility: visible;
}

.swiper-main .theme-sw-btn:hover {
    opacity: 1;
}

.text-small {
    font-size: 0.9em;
}

.theme-link {
    --color: var(--text-color);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-bottom: 5px;
    color: var(--color);
}


.theme-link * {
    color: currentColor;
}

.theme-link::before,
.theme-link::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    background-color: var(--color);
}

.theme-link::before {
    transform: scaleX(1);
    transform-origin: 100% 50%;
    transition: transform .6s cubic-bezier(.165, .84, .44, 1) 0.3s;
}

.theme-link:hover::before {
    transform: scaleX(0);
    transition: transform .6s cubic-bezier(.165, .84, .44, 1);
}

.theme-link::after {
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .6s cubic-bezier(.165, .84, .44, 1);
}

.custom-link:hover {
    color: var(--primary-color);
}

.custom-link:hover::after {
    transform: scaleX(1);
    transition: transform .6s cubic-bezier(.165, .84, .44, 1) 0.3s;
}

#render-html * {
    font-family: var( --font-serif);
    line-height: 1.5;
}
#render-html h1,
#render-html h1 *,
#render-html h2,
#render-html h2 *,
#render-html h3,
#render-html h3 *,
#render-html h4,
#render-html h4 *,
#render-html h5,
#render-html h5 *,
#render-html h6,
#render-html h6 * {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

#render-html p {
    font-weight: 400;
    margin-bottom: 0.75rem;
}
#render-html img{
    max-width: 100% !important;
    height: auto !important;
}
#render-html h1,
#render-html h1 * {
    font-size:calc(var(--font-size-1) - 3px);
}

#render-html h2,
#render-html h2 * {
    font-size:calc(var(--font-size-2) - 3px);
}

#render-html h3,
#render-html h3 * {
    font-size: calc(var(--font-size-3) - 3px);
}

#render-html h4,
#render-html h4 * {
    font-size:  calc(var(--font-size-4) - 3px);
}

#render-html h5,
#render-html h5 * {
    font-size: calc(var(--font-size-5) - 2px );
}

#render-html h6,
#render-html h6 * {
    font-size: calc(var(--font-size-6) - 2px);
}

#render-html a,
#render-html a * {
    color: var(--bs-primary);
}

@media (max-width: 992px) {
    #render-html h1,
    #render-html h1 * {
        font-size: 1.3rem;
    }

    #render-html h2,
    #render-html h2 * {
        font-size: 1.25rem;
    }

    #render-html h3,
    #render-html h3 * {
        font-size: 1.125rem;
    }

    #render-html h4,
    #render-html h4 * {
        font-size: 1rem;
    }

    #render-html h5,
    #render-html h5 *,
    #render-html h6,
    #render-html h6 * {
        font-size: 0.875rem;
    }
}

.page-light {
    background-color: #f8f9fb;
}
.page-main{
    margin-top: 147px;
}
.form-control.is-valid, .was-validated .form-control:valid{
    background-image: none !important;
    border-color: #ced4da;
}
.page-link:focus{
    box-shadow: none !important;
}
@media(max-width: 1200px) {
    .page-main {
        margin-top: 90px;
    }
}

@media(max-width: 768px) {
    .page-main {
        margin-top: 90px;
    }
}
@media(max-width: 600px) {
    .page-main {
        margin-top: 78px;
    }
}
.product-avatar .product-avatar_photo {
    padding: 10px;
    border: 1px solid #F4F4F5;
    border-radius: 5px;
}

.product-avatar .product-avatar_photo .preview-avatar_photo__item {
    cursor: zoom-in;
}

.product-avatar .product-avatar_thumb {
    margin-top: 10px;
}

.product-avatar .product-avatar_thumb .preview-avatar_thumb__item {
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    padding: 5px;
    opacity: 0.5;

}

.product-avatar .product-avatar_thumb .swiper-slide-thumb-active .preview-avatar_thumb__item,
.product-avatar .product-avatar_thumb .swiper-slide-active .preview-avatar_thumb__item.active {
    border-color: var(--primary-color);
    opacity: 1;

}

.product-avatar .product-avatar_thumb .preview-avatar_thumb__item img {
    cursor: pointer;
}

.product-avatar img {
    max-width: 100%;
    width: 100%;
    height: auto;
}
