/*
Theme Name: dubitel
Version: 1.0
Author: DiaNa
*/

/* == MOBILE-FIRST style.css (iPhone SE / smallest devices first) == */
/* Сначала идут мобильные стили (база для iPhone SE / 375px и похожих), затем медиа-запросы по breakpoints Bootstrap 5 */
/* Breakpoints used: sm=576px, md=768px, lg=992px, xl=1200px, xxl=1400px */

/* --------- Импорт шрифта и переменные (берём из оригинала) --------- */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --brand: #FFBF00;
    --brand-rgb: 10, 25, 49;
    --brand-hover: #f0b400;
    --brand-hover-rgb: 10, 25, 49;
    --blue: #0A1931;
    --blue-hover: #0f213f;
}

/* ---------------- Мобильная база (iPhone SE, small phones) ---------------- */

/* Базовые настройки шрифтов и подгон под маленькие экраны */
html, body {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Fira Sans", sans-serif;
    font-size: 14px; /* база для самых маленьких устройств */
    line-height: 1.4;
    color: #000;
    background: linear-gradient(45deg, #ffffff93, #ffffff), url(./img/back.png) fixed;
    background-size: cover;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Заголовки и типографика (мобильные размеры) */
h1, .h1 {
    font-size: 28px;
    margin: .5rem 0;
}

h2, .h2 {
    font-size: 22px;
    margin: .5rem 0;
}

h3, .h3 {
    font-size: 18px;
    margin: .5rem 0;
}

h4, .h4, h5, .h5, h6, .h6 {
    font-size: 16px;
    margin: .5rem 0;
}

.cat-title {
    font-size: 24px;
    color: var(--brand);
}

.desc_cat {
    font-size: 18px;
    text-align: center;
    color: #5C5C5C;
}

.header-bg {
    font-size: 16px;
    font-weight: 600;
    background: #fff;
    color: #000;
    padding: 8px 10px;
    text-align: center;
    z-index: 2;
}

/* Хидер - телефон, поиск и кнопки */
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
}

.header-phone .header-phone-icon {
    width: 28px;
    height: 28px;
    border-radius: 18px;
    font-size: .9rem;
}

.header-order-call {
    --bs-btn-padding-y: .5rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-border-radius: 1.25rem;
    font-size: 14px;
}

.header-search-form {
    width: 100%;
    max-width: 100%;
    margin: 8px 0;
}

.header-search-form .form-control {
    padding: .5rem .75rem;
    font-size: 14px;
    border-radius: .75rem;
}

/* Первый секция (hero) */
.section-general-first {
    padding: 28px 12px;
    color: var(--bs-white);
    background: linear-gradient(to right, #1e1e1e 52%, #1e1e1e82 80%);
    text-align: center;
}

.section-general-first .section-title {
    line-height: 1.05;
}

.section-general-first .section-title span:nth-child(1) {
    font-size: 16px;
    display: block;
    font-weight: 600;
    margin-bottom: .5rem;
}

.section-general-first .section-title span:nth-child(2) {
    /* font-size: 32px; */
    font-weight: 700;
}

.section-general-first .section-title span:nth-child(3) {
    font-size: 20px;
    display: block;
    font-weight: 800;
}

.section-general-first .section-text {
    font-size: 15px;
    margin: 1rem 0;
}

.go-to-page-link .go-to-page-link-text {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

/* Карточки, блоки и списки */
.cat-card {
    padding: 14px;
    border-radius: 14px;
}

.out-products-wrapper .card .card-title {
    font-size: 20px;
    font-weight: 700;
}

.block-3, .block-4 {
    padding: 18px 12px;
    text-align: center;
}

.block3-text span {
    font-size: 20px;
    font-weight: 600;
}

.block-4 p {
    font-size: 16px;
    text-align: justify;
}

.carousel-item {
    height: 220px;
    min-height: 180px;
    background-size: cover;
}

.carousel-caption {
    bottom: 40px;
    left: 10px;
    right: 10px;
}

.carousel-caption h5 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-caption p {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(0, 0, 0, .6);
    line-height: 1.2;
}

.contacts {
    height: auto;
    padding: 16px 12px;
}

.contacts-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    width: 100%;
    padding: 18px;
    box-shadow: none;
    border-radius: 10px;
}

.contact-card h2 {
    font-size: 20px;
}

.contact-card h3 {
    font-size: 16px;
}

.card-flip .card-inner {
    height: 260px;
}

.card-front img, .card-front, .card-back {
    height: 100%;
    object-fit: cover;
}

.card-title-overlay {
    font-size: 1rem;
    padding: 8px;
}

.card-back h5 {
    font-size: 1rem;
}

/* Сетки и карточки продуктов - мобильные */
.products-cards {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.card-product {
    --bs-card-border-color: var(--bs-gray-300);
    border-radius: .75rem;
}

.card-product .btn, .card-product .btn-link {
    font-size: 14px;
}

/* Список страниц и single page */
.single-page {
    padding: 16px 12px;
}

.single-page .page-content .page-sub_title {
    font-size: 20px;
    margin-bottom: .75rem;
}

/* Футер */
footer {
    padding: 18px 12px;
}

ul#footer-menu > li > a {
    font-size: 16px;
    padding: 8px 10px;
}

/* Утилиты */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.mobile-table {
    max-height: 300px;
    overflow: auto;
}

.general-gallery-block .title {
    font-size: 18px;
    padding: 10px;
}

/* Мелкие правки для мобильных форм и инпутов */
.general-order-row .quform-field {
    padding-left: .75rem;
    padding-right: .75rem;
    border-radius: .75rem;
}

.general-order-row .quform-button-style-bootstrap-primary button {
    padding: .5rem 1rem;
    font-size: 14px;
}

/* Скрываем тяжелые фоновые изображения на самых маленьких устройствах (по желанию) */
@media (max-width: 420px) {
    .section-general-first::after {
        display: none;
    }

    body {
        background-attachment: scroll;
    }
}

/* ---------------- Bootstrap 5 breakpoints (sm, md, lg, xl, xxl) ---------------- */

/* Small >= 576px */
@media (min-width: 576px) {
    body {
        font-size: 15px;
    }

    .header-bg {
        font-size: 17px;
        padding: 10px 12px;
        text-align: left;
    }

    .section-general-first {
        padding: 36px 18px;
        text-align: left;
    }

    .section-general-first .section-title span:nth-child(2) {
        /* font-size: 38px; */
    }

    .carousel-item {
        height: 260px;
    }

    .carousel-caption h5 {
        font-size: 20px;
    }
}

/* Medium >= 768px */
@media (min-width: 768px) {
    body {
        font-size: 15.5px;
    }

    .header-bg {
        font-size: 18px;
    }

    .section-general-first {
        padding: 48px 24px;
    }

    .section-general-first .section-title span:nth-child(2) {
        /* font-size: 46px; */
    }

    .section-general-first .section-title span:nth-child(3) {
        /* font-size: 26px; */
    }

    .carousel-item {
        height: 360px;
    }

    .carousel-caption h5 {
        font-size: 26px;
    }

    .carousel-caption p {
        font-size: 34px;
    }

    .contacts-container {
        flex-direction: row;
        gap: 16px;
    }

    .contact-card {
        width: 320px;
    }
}

/* Large >= 992px (desktop baseline) */
@media (min-width: 992px) {
    body {
        font-size: 16px;
    }

    .header-bg {
        font-size: 20px;
    }

    .header-search-form {
        width: 340px;
    }

    .section-general-first {
        padding: 80px 40px;
        text-align: left;
    }

    .section-general-first .section-title span:nth-child(1) {
        font-size: 24px;
    }

    .section-general-first .section-title span:nth-child(2) {
        /* font-size: 62px; */
    }

    .section-general-first .section-title span:nth-child(3) {
        /* font-size: 38px; */
    }

    .section-general-first .section-text {
        font-size: 24px;
    }

    .cat-title {
        font-size: 40px;
    }

    .carousel-item {
        height: 500px;
    }

    .carousel-caption h5 {
        font-size: 45px;
    }

    .carousel-caption p {
        font-size: 64px;
    }

    .contacts {
        height: 600px;
    }

    .contacts-container {
        flex-direction: row;
        height: 100%;
    }

    .contact-card {
        width: 300px;
        padding: 30px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
    }

    .card-flip .card-inner {
        height: 320px;
    }

    .out-products-wrapper .card .card-title {
        font-size: 32px;
    }

    .block3-text span {
        font-size: 40px;
    }

    .block4-text span {
        font-size: 40px;
        letter-spacing: normal;
    }
}

/* Extra Large >= 1200px */
@media (min-width: 1200px) {
    .section-general-first::after {
        background: url(./img/fons.png) center no-repeat;
        background-size: cover;
        width: 50%;
        height: 100%;
        right: 0;
        top: 0;
        position: absolute;
        z-index: -1;
    }

    .general-order-row > .quform-spacer > .quform-child-elements > * {
        width: 33.3333%;
    }
}

/* XXL >= 1400px */
@media (min-width: 1400px) {
    /* Дополнительные улучшения для очень широких экранов */
}

/* ---------------- Оригинальные стили (оставлены ниже — при необходимости можно точечно пересместить в медиазапросы) ---------------- */

/* Примечание: ниже — полный оригинальный CSS, который был в файле. Я оставил его без изменений, чтобы ничего не сломать.
   Поскольку мобильная часть и медиа-брейкпоинты вынесены выше, на маленьких экранах мобильная база будет применяться преимущественно.
   На больших экранах правила из оригинала могут иметь более детальные настройки — по желанию можем разнести их по breakpoints. */


/* --- ORIGINAL CSS START --- */

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --brand: #FFBF00;
    --brand-rgb: 10, 25, 49;
    --brand-hover: #f0b400;
    --brand-hover-rgb: 10, 25, 49;
}

.btn-primary {
    --bs-btn-bg: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-hover-bg: var(--blue-hover);
    --bs-btn-hover-border-color: var(--blue-hover);
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Fira Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings: "wdth" 100;

    position: relative;
    cursor: default;
    font-size: 16px;
    background: linear-gradient(45deg, #ffffff93, #ffffff), url(./img/back.png) fixed;
    background-size: cover;
    color: #000000;
    font-weight: 400;

    --bs-link-color-rgb: var(--brand-rgb);
    --bs-link-hover-color-rgb: var(--brand-hover-rgb);
}

img {
    max-width: 100%;
    height: auto;
}
.product-thumb {
  width: 100%;
  max-width: 550px; 
  height: auto;
}
.btn-danger {
    color: #fff;
}

.btn-danger:hover, .btn-danger:not(:disabled):not(.disabled).active, .btn-danger:not(:disabled):not(.disabled):active, .show > .btn-danger.dropdown-toggle {
    background-color: #bc2121;
    border-color: #bc3030;
}

.btn-danger.focus, .btn-danger:focus {
    box-shadow: 0 0 0 0.2rem rgb(230 55 140 / 33%);
}

.btn-danger:not(:disabled):not(.disabled).active:focus, .btn-danger:not(:disabled):not(.disabled):active:focus, .show > .btn-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(230 55 140 / 50%);
}


.badge-danger {
    color: #fff;
    background-color: #4b2d8c;
}

/* == Header == */

.header-bg {
    position: relative;
    font-size: 20px;
    font-weight: 600;
    z-index: 2;
    background: #fff;
    color: #000;
}

.header-bg p {
    font-size: 14px;
    font-weight: 300;
    color: var(--bs-gray-900);
    margin-bottom: 0;
}

.header-bg:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.header-phone {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-phone .header-phone-icon {
    margin-right: .5rem;
    width: 33px;
    height: 33px;
    background: var(--brand);
    border-radius: 20px;
    color: #0a1931;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.header-phone .header-phone-number {
    border-bottom: 2px solid transparent;
    transition: .5s;
}

.header-phone:hover .header-phone-number {
    border-color: var(--brand);
}

.header-order-call {
    --bs-btn-padding-y: .75rem;
    --bs-btn-padding-x: 2rem;
    --bs-btn-bg: var(--brand);
    --bs-btn-color: var(--bs-black);
    --bs-btn-border-radius: 2rem;
    --bs-btn-hover-bg: rgba(var(--brand-rgb), .9);
    --bs-btn-hover-color: var(--bs-white);
}

.header-search-form {
    width: 340px;
    max-width: 100%;
}

.header-search-form .form-control {
    padding: .75rem 1rem;
    font-size: 18px;
    line-height: 1;
    --bs-border-radius: 1rem;
    box-shadow: none;
    border-color: var(--bs-gray-400);
}

.header-search-form .form-control:focus {
    border-color: var(--bs-gray-500);
}


#search-block {
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

#search-result {
    position: absolute;
    left: 0;
    top: calc(100% + 5px);
    z-index: 9;
    width: 100%;
}

#search-result .search-items {
    background: #f0e8f1;
    border-radius: 6px;
    border: 1px solid #3F51B5;
}

#search-result a {
    color: #a8a8a8;
}

#search-block .input-group > :not(:last-child) {
    border-right: 0;
    background: #F3F3F3;
    border-color: #a8a8a8;
    color: var(--brand);
}

#search-block .input-group > input::placeholder {
    color: #a8a8a8;
}

#search-block .input-group .input-group-text {
    background-color: #F3F3F3;
    border-color: #a8a8a8;
    color: #a8a8a8;
    border-left: none;
    border-radius: 0 5px 5px 0;
}

.searchResult .list-group {
    --bs-border-radius: .75rem;
    margin-top: .25rem;
    font-size: 1rem;
    font-weight: normal;
}

.main {
    min-height: 540px;
}

.cat-title {
    color: var(--brand);
    font-size: 40px;
}

.cat-card {
    padding: 20px 15px;
    background: var(--bs-white);
    border-radius: 20px;
}

.desc_cat {
    text-align: center;
    color: #5C5C5C;
    font-size: 25px;
}

.advantages {
    background: #0b0700;
    color: #ffffff;
    border-radius: 15px;
}

/* == General Section First == */

.section-general-first {
    position: relative;
    padding-top: 60px;
    padding-bottom: 80px;
    color: var(--bs-white);
    background: linear-gradient(to right, #1e1e1e 52%, #1e1e1e82 80%);
}

.section-general-first::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
    z-index: -1;
    background: url(./img/fons.png) bottom no-repeat;
    background-size: cover;
}

.section-general-first .section-title {
    line-height: 1.1;
}

.section-general-first .section-title span:nth-child(1) {
    font-size: 41px;
    font-weight: 600;
    display: block;
    /* margin-bottom: 1rem; */
}

.section-general-first .section-title span:nth-child(2) {
    /* font-size: 62px; */
    font-weight: 600;
    text-shadow: 3px 6px 15px #0000001a;
}

.section-general-first .section-title span:nth-child(3) {
    display: block;
    /* font-size: 38px; */
    font-weight: 700;
}

.section-general-first .section-text {
    font-size: 24px;
    font-weight: 400;
    margin: 1rem 0;
}

.section-general-first .section-text span {
    font-weight: 600;
}


.section-general-first .go-to-page-link {
    color: var(--bs-white);
}

.section-general-first .go-to-page-link .go-to-page-link-icon {
    font-size: 20px;
}

.section-general-first .go-to-page-link .go-to-page-link-text {
    font-size: 24px;
    font-weight: 300;
    text-transform: uppercase;
}

.section-general-first .go-to-page-link .go-to-page-link-text span {
    font-weight: 600;
}

.section-general-first .go-to-page-link:hover .go-to-page-link-text {
    border-color: var(--bs-white);
}

/* == General Section Second == */

.section-general-second {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-title-wrapper,
.page-title-wrapper {
    position: relative;
    padding-left: 1.25rem;
}

.section-title-wrapper::before,
.section-title-wrapper::before,
.page-title-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background-color: var(--bs-gray-500);
    border-radius: 2px;
}

.section-title-wrapper .section-title,
.page-title-wrapper .page-title {
    font-size: 33px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--blue);
    margin-top: 0;
    margin-bottom: 0;
}

.section-title-wrapper .section-subtitle {
    font-size: 22px;
    text-transform: uppercase;
    color: var(--bs-gray-900);
}

.out-products-wrapper .row {
    --bs-gutter-y: 1.75rem;
    --bs-gutter-x: 1.75rem;
}

.out-products-wrapper .card {
    --bs-card-border-color: var(--bs-gray-400);
    --bs-card-spacer-y: 2rem;
    --bs-card-spacer-x: 2.75rem;
    --bs-border-radius: 1rem;
}

.out-products-wrapper .card .card-title {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--bs-gray-900);
}

.out-products-wrapper .card .card-text {
    position: relative;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 1.25rem;
    font-size: 18px;

}

.out-products-wrapper .card .card-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--brand);
    border-radius: 2px;
}

.go-to-page-link {
    display: inline-block;
    color: var(--blue);
    text-decoration: none;
}

.go-to-page-link .go-to-page-link-icon {
    margin-right: .75rem;
    font-size: 20px;
    transition: .25s;
}

.go-to-page-link .go-to-page-link-text {
    font-size: 24px;
    transition: .5s;
    border-bottom: 1px solid transparent;
}

.go-to-page-link:hover .go-to-page-link-icon {
    transform: translateX(5px);
}

.go-to-page-link:hover .go-to-page-link-text {
    border-color: var(--brand);
}

.block-2 {
    padding-bottom: 40px;
}

.block-2-bur {
    background: linear-gradient(to right, #ffffffc7 50%, #ffffff00 80%), url(./img/bur.png) center / cover no-repeat;
}

.block-2-sin {
    background: linear-gradient(90deg, #ffffffdb, #ffffffd9), url(./img/sintetik.png) center/cover no-repeat;
}

.block-2-oth {
    background: linear-gradient(90deg, #ffffffdb, #ffffffd9), url(./img/other.png) center/cover no-repeat;
}

.block-3 {
    font-weight: 400;
    padding: 50px 0;
    text-align: center;
}

.block3-text {
    font-size: 16px;
    text-align: center;
    margin-bottom: 50px;
}

.block3-text span {
    font-size: 40px;
    font-weight: 600;
}

.block3-text span i {
    font-size: 25px;
}

.block3-text span a {
    font-size: 28px;
}

.block3-link {
    display: block;
    color: #af3535;
    padding: 30px;
    font-size: 18px;
    border: 2px solid #2888aa;
}

.block-4 {
    padding: 50px 0;
}

.block-4 {
    font-size: 16px;
    text-align: center;
}

.block-4 p {
    font-size: 22px;
    text-align: justify;
}

.block4-text span {
    font-size: 40px;
    font-weight: 100;
    /* font-family: 'Forum', cursive; */
    text-transform: uppercase;
}

.block-4 a {
    font-size: 20px;
    font-weight: 600;
}

.contacts {
    width: 100%;
    height: 600px;
    position: relative;
    font-family: sans-serif;
}

.contacts-container {
    display: flex;
    height: 100%;
}

.contact-card {
    width: 300px;
    background: white;
    color: #000;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card h2 {
    font-size: 2rem;
    font-weight: 900;
}

.contact-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.contact-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    line-height: 1.6;
}

.contact-card .call-btn {
    background: #ffd500;
    border: none;
    padding: 12px 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

.icon {
    width: 60px;
    margin: 15px 0;
}


.card-flip {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 320px;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.card-flip:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-front {
    background: #fff;
    z-index: 2;
}

.card-title-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    font-size: 1.1rem;
}

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

.card-back {
    background: #ffc107;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;
    padding: 20px;
    text-align: center;
}

.card-back h5 {
    font-size: 1.2rem;
}

.item:hover {
    flex: 7;
}

.item-1 {
    background-image: url('./img/05.webp');
}

.item-2 {
    background-image: url('./img/DJI_0951.webp');
}

.item-3 {
    background-image: url('./img/MIX_2774.webp');
}

.item-4 {
    background-image: url('./img/07.webp');
}

.item-5 {
    background-image: url('./img/08.webp');
}

.item-6 {
    background-image: url('./img/09.webp');
}

.fa-route {
    font-size: 40px;
}

.fa-user-check {
    font-size: 40px;
}

.fa-map-marked-alt {
    font-size: 40px;
}

.carousel-item {
    height: 500px;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: auto;
}

.carousel-caption {
    bottom: 270px;
    color: #ffffff;
}

.carousel-caption h5 {
    font-size: 45px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px;
}

.carousel-caption p {
    margin: auto;
    font-weight: 800;
    font-size: 64px;
    text-shadow: 0 0 8px black;
    line-height: 1.9;
}

/*h1,
.h1,
h2,
.h2,
h3,
.h3 {
    margin-top: 10px;
}

h1,
.h1 {
    font-size: 1.75rem;
}

h2,
.h2 {
    font-size: 1.5rem;
    color: var(--brand);
}

h3,
.h3 {
    font-size: 1.25rem;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-size: 1rem;
}*/

/* =WordPress Core
-------------------------------------------------------------- */
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright,
a img.alignright {
    float: right;
    margin: 0 0 .5em 1em;
}

.alignleft,
a img.alignleft {
    float: left;
    margin: 0 1em .5em 0;
}

.alignleft,
.aligncenter,
.alignright,
.alignnone {
    border: none !important;
    border-radius: 4px;
    box-shadow: 0 2px 5px -1px rgba(0, 0, 0, 0.5);
}

.aligncenter {
    display: block;
    text-align: center;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.general_sidebar_1_block {
    background: rgba(156, 39, 176, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 10px 15px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.general_sidebar_1_block a.banner {
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.general_sidebar_1_block .block_content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 15px 1fr 15px 1fr;
    grid-template-columns: repeat(3, 1fr);
    -ms-grid-rows: 100px 15px 100px 15px 100px;
    grid-template-rows: repeat(3, 100px);
    grid-gap: 15px;
}

.general_sidebar_1_block .block_content > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.general_sidebar_1_block .block_content > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.general_sidebar_1_block .block_content > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
}

.general_sidebar_1_block .block_content > *:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
}

.general_sidebar_1_block .block_content > *:nth-child(5) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
}

.general_sidebar_1_block .block_content > *:nth-child(6) {
    -ms-grid-row: 3;
    -ms-grid-column: 5;
}

.general_sidebar_1_block .block_content > *:nth-child(7) {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
}

.general_sidebar_1_block .block_content > *:nth-child(8) {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
}

.general_sidebar_1_block .block_content > *:nth-child(9) {
    -ms-grid-row: 5;
    -ms-grid-column: 5;
}

.general_sidebar_1_block .block_content a.banner:nth-child(1) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1/3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    grid-row: 1/4;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.label a {
    color: #fff;
}

.copyright {
    line-height: 20px;
    color: #000000;
}


#top-menu {
    position: relative;
    z-index: 99;
    --bs-navbar-nav-link-padding-x: 2rem;
}

#menu-shapka.navbar-nav > .nav-item:first-child > .nav-link {
    padding-left: .5rem;
}

#menu-shapka .nav-link {
    --bs-nav-link-font-weight: 400;
}

ul#footer-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    align-content: center;
}

ul#footer-menu a {
    color: #000000;
    text-decoration: none;
}

ul#footer-menu > li {
    padding: 0 15px;
    position: relative;
    min-width: 150px;

}

ul#footer-menu > li:first-child {
    padding-left: 0;
}

ul#footer-menu > li > a {
    font-size: 20px;
}

ul#footer-menu ul {
    padding-left: 1.5rem;
    list-style: circle;
    color: white;
    font-size: 14px;
}

.general-gallery-block {
    background: #4b2d8c;
    margin: 30px 0;
}

.general-gallery-block .title {
    position: relative;
    margin: 0;
    padding: 15px 25px;
    font-weight: 100;
    font-size: 1.75rem;
    background: #dfe4f0;
}

.general-gallery-block .title:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 0;
    background: #f8f9fa;
}

.owl-nav > button {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #ffffffbf !important;
    top: calc(50% - 25px);
    left: 0;
    outline: none;
}

.owl-nav > button.disabled {
    display: none;
}

.owl-nav > button:last-child {
    left: unset;
    right: 0;
}

.mobile-table {
    display: block;
    max-width: 100%;
    max-height: 400px;
    overflow: scroll;
}

.widgets_block > *:not(.show_widgets_btn) {
    display: none;
}

.widgets_block.show > *:not(.show_widgets_btn) {
    display: block;
}

.footer_banners {
    padding-top: 25px;
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        top: -46px;
    }
}

/*== Category Products Section ==*/

.section-category-products {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.products-cards {
    --bs-gutter-x: 1.75rem;
    --bs-gutter-y: 3rem;
}

.card-product {
    --bs-card-border-color: var(--bs-gray-300);
    --bs-border-radius: 1rem;
    --bs-card-cap-bg: var(--bs-white);
    --bs-card-title-color: var(--brand);
    --bs-card-cap-padding-y: 1rem;
    --bs-card-cap-padding-x: 1.75rem;
    --bs-card-spacer-x: 1.75rem
}

.card-product .card-title a {
    text-decoration: none;
}

.card-product .card-footer {
    border-top: none;
}

.card-product .btn {
    --bs-btn-border-radius: 1rem;
}

.card-product .btn-link {
    --bs-link-color: var(--blue);
    --bs-btn-hover-color: var(--blue-hover);
    --bs-btn-padding-x: 0;
}

/*== Single Page ==*/

.single-page {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.single-page .page-content .list-group-item {
    --bs-list-group-item-padding-y: 1rem;
}

.single-page .page-content .page-sub_title {
    font-size: 20px;
    text-transform: uppercase;
    color: var(--bs-gray-800);
    margin-bottom: 1.25rem;
}

.page-content .product-text {
    font-size: 18px;
    color: var(--bs-gray-700);
}

.breadcrumb {
    margin-bottom: 1.75rem;
}

/*== Section General Order ==*/

.section-general-order {
    padding-top: 80px;
    padding-bottom: 80px;
    background-image: url();
    background-size: cover;
    background-image: linear-gradient(135deg, #0a1931 0%, #12294d 50%, #0a1931 100%);
    color: var(--bs-white);
}

.section-general-order .section-title-wrapper {
    padding-left: 0;
}

.section-general-order .section-title-wrapper::before {
    display: none;
}

.section-general-order .section-title-wrapper .section-title {
    color: var(--bs-white);
}

.section-general-order .section-title-wrapper .section-subtitle {
    color: var(--bs-white);
}

.section-general-order a {
    color: var(--bs-white);
}

.section-general-order a:hover {
    color: var(--bs-gray-400);
}

.section-general-order .phone-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.section-general-order .phone-link .phone-link-icon {
    margin-right: .5rem;
    width: 50px;
    height: 50px;
    background: var(--bs-white);
    border-radius: 30px;
    color: var(--brand);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
}

.section-general-order .phone-link .phone-link-number {
    border-bottom: 2px solid transparent;
    transition: .5s;
    color: var(--bs-white);
    font-size: 34px;
}

.section-general-order .phone-link:hover .phone-link-icon {
    color: var(--bs-dark);
}

.section-general-order .phone-link:hover .phone-link-number {
    border-color: var(--bs-white);
}

.general-order-row > .quform-spacer > .quform-child-elements {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.general-order-row > .quform-spacer > .quform-child-elements > * {
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}


@media (min-width: 1200px) {
    .general-order-row > .quform-spacer > .quform-child-elements > * {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

.general-order-row .quform-field {
    border-radius: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.general-order-row .quform-button-style-bootstrap-primary {
    margin-top: 0;
    margin-bottom: 0;
}

.general-order-row .quform-button-style-bootstrap-primary button {
    background: var(--brand);
    border-radius: 1rem;
    color: var(--bs-black);
    border: 1px solid var(--brand);
    text-transform: uppercase;
}

.general-order-row .quform-button-style-bootstrap-primary button:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color)
}

.kontakty-feedback > .quform-spacer > .quform-child-elements {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.kontakty-feedback > .quform-spacer > .quform-child-elements > * {
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

@media (min-width: 1200px) {
    .kontakty-feedback > .quform-spacer > .quform-child-elements > * {
        flex: 0 0 auto;
        width: 50%;
    }
}

.kontakty-feedback .quform-field {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.kontakty-feedback .quform-field:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(var(--brand-rgb), 0.25);
    outline: none;
}

.kontakty-feedback .quform-field-text,
.kontakty-feedback .quform-field-textarea {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.kontakty-feedback .quform-field-textarea {
    min-height: 120px;
    resize: vertical;
}

.kontakty-feedback .quform-field-select {
    background: var(--bs-white);
    cursor: pointer;
}

.kontakty-feedback .quform-option-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.4;
}

.kontakty-feedback .quform-field-checkbox {
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.kontakty-feedback .quform-field-icon {
    color: #6c757d;
    transition: color 0.3s ease;
}

.kontakty-feedback .quform-has-field-icon-left .quform-field {
    padding-left: 2.5rem;
}

.kontakty-feedback .quform-field-icon-left {
    left: 0.75rem;
}

.kontakty-feedback .quform-button-submit {
    margin-top: 1rem;
}

.kontakty-feedback .quform-button-style-theme button {
    background: var(--brand);
    border: none;
    border-radius: 0.75rem;
    color: var(--bs-white);
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.kontakty-feedback .quform-button-style-theme button:hover {
    background: var(--brand-hover);
}

.kontakty-feedback .quform-loading-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--brand);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .kontakty-feedback > .quform-spacer > .quform-child-elements > * {
        width: 100%;
    }
    
    .kontakty-feedback .quform-field {
        padding: 0.625rem 0.875rem;
    }
    
    .kontakty-feedback .quform-button-style-theme button {
        width: 100%;
        padding: 0.875rem 1rem;
    }
}

/*== Footer ==*/

footer {
    background-color: var(--bs-dark);
}

footer ul#footer-menu a,
footer a,
footer .copyright,
footer .site-name {
    color: var(--bs-gray-300);
}

footer .logo svg {
    filter: invert(99%) sepia(77%) saturate(0%) hue-rotate(122deg) brightness(110%) contrast(100%);
}

.icon-link {
    text-decoration: none;
}

.icon-link .icon-link-text {
    border-bottom: 1px solid transparent;
    transition: .5s;
}

.icon-link:hover .icon-link-text {
    border-color: var(--brand-hover);
}

/* --- ORIGINAL CSS END --- */
