/* Fitness Trend - Custom Overrides for Bootstrap 5 */

:root {
    --primary-color: #f5dc00;
    --hover-color: #f5bc00;
    --gray: #ededed;
    --dark: #333333;
    --semi-dark: rgba(0, 0, 0, 0.5);
    --light-dark: #e5e5e5;
    --border: 1px solid #ccc;
}

body {
    background-color: var(--light-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
}

img {
    max-width: 100%;
    object-fit: cover;
}

a,
svg,
img,
input,
textarea,
button,
#nav,
.burger span,
.product-slider__prices ul {
    transition: .2s ease all;
}

header {
    background-color: var(--gray);
    padding: 6px 0;
    border-bottom: var(--border);
}

.logo {
    flex: 0 0 auto;
    max-width: 100%;
}

.cities {
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 6px;
}

.cities a {
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px dotted;
    width: fit-content;
}

.cities a:hover {
    color: var(--hover-color);
}

nav ul {
    gap: 0 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a,
.navbar-links a {
    color: var(--dark);
    display: inline-block;
    position: relative;
    text-decoration: none;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 0;
    transition: .2s ease all;
    background-color: var(--hover-color);
}

nav ul li a::before {
    left: 0;
    width: 0%;
}

nav ul li a:hover::before {
    width: 100%;
}

.navbar-links a {
    font-weight: 600;
    font-size: clamp(14px, 3vw, 16px);
}

.navbar-links a svg {
    fill: var(--primary-color);
}

.navbar-links a:hover svg {
    fill: var(--hover-color);
}

.navbar-links {
    gap: 0 1.25rem;
}

.first {
    background-image: url(/assets/img/bg-header.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

@supports (background-image: url('/assets/img/bg-header.avif')) {
    .first {
        background-image: url('/assets/img/bg-header.avif');
    }
}

.bg-mobile-light {
    border-left: 0.25rem solid var(--primary-color);
    font-weight: 400;
    padding: 15px;
}

.first h1, .h1-hero {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    text-transform: uppercase;
}

.button {
    display: inline-block;
    padding: 12px 60px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    outline: none;
}

.main-button {
    background-color: var(--primary-color);
    color: black;
}

.main-button:hover {
    background-color: var(--hover-color);
}

.secondary-button {
    padding: 11px 59px;
    border: var(--border);
    background-color: transparent;
}

.secondary-button:hover {
    background-color: var(--gray);
}

.button:active {
    box-shadow: 0 0 0 3px hsl(53.88deg 100% 48.04% / 25%);
}

.title-h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    margin: 0 0 2.5rem;
    text-align: center;
    text-transform: uppercase;
}

.goods {
    background-image: url(/assets/img//bg-goods.png);
}

@supports (background-image: url('/assets/img/bg-goods.avif')) {
    .goods {
        background-image: url('/assets/img/bg-goods.avif');
    }
}

.catalog-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: white;
    padding: 16px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    text-decoration: none;
}

.catalog-item__name {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-item__img {
    display: block;
    margin-top: auto;
    border-radius: 4px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slick-track {
    display: flex;
    gap: 24px;
}

.product-slider__item {
    background-color: white;
    padding: 16px;
    border-radius: 6px;
    box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.product-slider__image {
    margin-bottom: 16px;
}

.slick-slide img {
    height: auto;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.product-slider__title {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.product-slider__palette {
    margin-bottom: 16px;
}

.product-slider__palette img {
    margin: auto;
    width: auto;
    height: auto;
}

.product-slider__prices {
    color: var(--semi-dark);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.product-slider__prices ul {
    text-align: start;
    font-size: 16px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-slider__prices.list-small ul {
    -webkit-line-clamp: 5;
}

.product-slider__prices sup {
    color: var(--dark);
    position: relative;
}

.product-slider__prices sup::before {
    background-color: red;
    content: '';
    display: block;
    height: 2px;
    margin-top: -2px;
    position: absolute;
    left: -2px;
    top: 50%;
    right: -2px;
    transform: rotate(-15deg);
}

.product-slider__quantity input,
.form-control-custom {
    display: block;
    padding: 11px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-bottom: 16px;
    outline: none !important;
}

.product-slider__quantity input:focus,
.form-control-custom:focus {
    border-color: var(--hover-color);
    box-shadow: 0 0 0 3px hsl(53.88deg 100% 48.04% / 25%);
}

.slick-arrow {
    padding: 0;
    border: none;
    background-color: transparent;
    height: 18px;
    width: 18px;
    position: absolute;
    z-index: 2;
}

.slick-arrow svg {
    width: 100%;
    height: 100%;
}

button.slick-prev.slick-arrow {
    top: calc(50% - 9px);
    left: -16px;
}

button.slick-next.slick-arrow {
    top: calc(50% - 9px);
    right: -16px;
}

ul.slick-dots {
    display: flex !important;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}

ul.slick-dots li {
    font-size: 0;
}

ul.slick-dots li button {
    height: 10px;
    width: 10px;
    padding: 0;
    border-radius: 10px;
    border: var(--border);
}

ul.slick-dots li.slick-active button {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

div#productInfoSummary {
    background: #fff6ab;
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

button.show-all {
    background-color: transparent;
    border: none;
    margin: 0 auto 16px auto;
    border-bottom: 1px dashed;
    font-size: 14px;
}

button.show-all:hover {
    color: var(--hover-color);
}

.product-slider__prices ul.show {
    display: -webkit-box;
    -webkit-line-clamp: 100;
    -webkit-box-orient: vertical;
    overflow: visible;
}

.advantages, .questions {
    background-image: url(/assets/img//bg-advantages.jpg);
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
}

@supports (background-image: url('/assets/img/bg-advantages.avif')) {
    .advantages, .questions {
        background-image: url('/assets/img/bg-advantages.avif');
    }
}

.advantages__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.advantages__item span {
    display: block;
    font-size: 18px;
    margin-top: -16px;
}

.edu .col-lg-7 {
    box-shadow: 8px 16px 0 #ebeb06;
}

.edu img {
    box-shadow: 8px -16px 0 #333;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.review-image {
    margin-top: 16px;
}

.review-image img {
    width: 100px;
    height: 100px;
    margin: auto;
}

.review-title {
    font-size: 24px;
    text-align: center;
    margin-top: 16px;
    font-weight: 500;
}

.review-text {
    margin-top: 10px;
    padding: 0 16px;
}

.review-num {
    color: #f2994a;
    font-size: 36px;
    padding: 0 16px;
    font-weight: 700;
    text-align: right;
}

.title-h2 > small {
    display: block;
    font-size: 1.5rem;
}

.form-check.mb-3.small a {
    color: var(--primary-color);
}

.form-check.mb-3.small a:hover {
    color: var(--hover-color);
}

footer a {
    text-decoration: none;
}

.footer-contacts a {
    color: var(--dark);
}

.footer-contacts a:hover {
    color: var(--hover-color);
}

.copytight {
    font-size: 14px;
}

.requisites {
    padding: 28px 0 10px 0;
    font-size: 14px;
}

.confidentiality {
    font-size: 14px;
}

.confidentiality a {
    color: var(--primary-color);
}

.confidentiality a:hover {
    color: var(--hover-color);
}

#to-top {
    display: none;
    position: fixed;
    left: 20px;
    bottom: 20px;
    background-color: var(--primary-color);
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 23px;
}

#to-top:hover {
    background-color: var(--hover-color);
}

@keyframes hoverWave {
    0% {
    	box-shadow:0 8px 10px rgba(243,92,98,0.3),0 0 0 0 rgba(226,158,105,0.2),0 0 0 0 rgba(226,158,105,0.2);
    }
	40% {
        box-shadow:0 8px 10px rgba(243,92,98,0.3),0 0 0 15px rgba(226,158,105,0.2),0 0 0 0 rgba(226,158,105,0.2);
    }
	80% {
        box-shadow:0 8px 10px rgba(243,92,98,0.3),0 0 0 30px rgba(226,158,105,0),0 0 0 26.7px rgba(226,158,105,0.067);
    }
	100% {
        box-shadow:0 8px 10px rgba(243,92,98,0.3),0 0 0 30px rgba(226,158,105,0),0 0 0 40px rgba(226,158,105,0.0);
    }
}
@keyframes shake {
	0% {
    transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
    10% {
    transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }
    20% {
    transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }
    30% {
    transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }
    40% {
    transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }
    50% {
    transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }
    60% {
    transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }
    70% {
    transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }
    80% {
    transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }
    90% {
    transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }
    100% {
    transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}

#btn-callback {
    animation: hoverWave linear 1s infinite;
    background-color: #f35c62;
    border: 2px solid #f35c62;
    border-radius: 50%;
    box-shadow: 0 8px 10px rgba(243, 92, 98, 0.3);
    position: fixed;
    right: 2.5%;
    bottom: 2.5%;
    transition: 0.3s all;
    z-index: 11;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 60px;
}

#list-cities {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    overflow: auto;
    margin: 0;
    padding: 0;
}

#list-cities > li {
    flex-basis: 33.33%;
    padding: 0 15px;
}

#list-cities > li > a {
    color: var(--dark);
    display: inline-block;
    text-decoration: none;
}

#list-cities > li > a:hover {
    color: var(--hover-color);
}

@media (min-width: 1200px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 1140px;
    }
}

@media (min-width: 992px) {
    .goods {
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
    }
}

@media (max-width: 991px) {
    .logo {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        align-items: center;
        z-index: 3;
    }

    .burger {
        border: var(--border);
        padding: 4px;
        border-radius: 4px;
        height: 38px;
        width: 52px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    header.active .burger span {
        opacity: 0;
    }

    header.active .burger span:first-child {
        position: absolute;
        top: 16px;
        transform: rotate(45deg);
        opacity: 1;
    }

    header.active .burger span:last-child {
        position: absolute;
        top: 16px;
        transform: rotate(-45deg);
        opacity: 1;
    }

    .burger span {
        display: block;
        width: calc(100% - 16px);
        height: 2px;
        background-color: var(--semi-dark);
    }

    #nav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: -200%;
        overflow: auto;
        z-index: -1;
        background-color: white;
        padding-top: 100px;
        gap: 10px;
    }

    #nav.show {
        right: 0;
        z-index: 2;
    }

    .navbar-links {
        border-top: var(--border);
    }

    .first {
        background-position-x: 65%;
    }

    .first h1 {
        position: relative;
        background-color: rgba(255, 255, 255, 0.75);
        outline: 10px solid rgba(255, 255, 255, 0.75);
        outline-offset: 10px;
        padding: 16px;
    }

    .bg-mobile-light {
        background-color: rgba(255, 255, 255, 0.75);
    }
}