/*
Theme Name: SP Theme
Theme URI: https://cms3.ru/wordpress-pustaya-tema/
Author: Alex Kuimov
Author URI: https://cms3.ru
Description: The blank wordpress theme
Version: 1.0.0
Text Domain: sp-theme
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Base layout defaults */
*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
}

/*WordPress Core*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    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;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.gallery-caption {
    display: block;
}

.bypostauthor {
    display: block;
}

/* Common page wrapper */
.sp-main-content {
    width: 100%;
}

.sp-page-breadcrumbs {
    color: #8f8f8f;
    font-size: 14px;
    line-height: 20px;
    margin: 20px 0;
}

.sp-page-breadcrumbs a {
    color: #525252;
    text-decoration: none;
}

.sp-page-breadcrumbs a:hover {
    text-decoration: underline;
}

.sp-header {
    background: #ffffff;
    padding: 20px 0;
}

.sp-header__inner {
    width: 100%;
}

.sp-header__main {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.sp-header__logo-link {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    justify-content: center;
    min-height: 54px;
    min-width: 150px;
    text-decoration: none;
}

.sp-header__logo-image {
    display: block;
    max-height: 54px;
    width: auto;
}

.sp-header__logo-text {
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
}

.sp-header__controls {
    align-items: center;
    display: flex;
    gap: 40px;
}

.sp-header__menu {
    align-items: center;
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-header__menu a {
    color: #181818;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
}

.sp-header__menu a:hover,
.sp-header__menu .current-menu-item > a {
    color: #a12c2f;
}

.sp-header__cart {
    align-items: center;
    background: transparent;
    border: 0;
    color: #222222;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    min-height: 30px;
    min-width: 30px;
    padding: 0;
    position: relative;
    text-decoration: none;
}

.sp-header__cart-badge {
    align-items: center;
    background: #a12c2f;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-family: "Inter", sans-serif;
    font-size: 8px;
    height: 14px;
    justify-content: center;
    line-height: 1;
    min-width: 14px;
    position: absolute;
    right: -5px;
    top: -3px;
}

.sp-header__cta {
    align-items: center;
    background: #a12c2f;
    border-radius: 12px;
    color: #ffffff;
    display: inline-flex;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    justify-content: center;
    line-height: 24px;
    min-height: 44px;
    min-width: 210px;
    padding: 10px 18px;
    text-decoration: none;
}

.sp-header__cta:hover {
    background: #8d2629;
    color: #ffffff;
}

@media screen and (max-width: 1200px) {
    .sp-header__controls {
        gap: 24px;
    }

    .sp-header__menu {
        gap: 24px;
    }
}

@media screen and (max-width: 991px) {
    .sp-header__main {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .sp-header__controls {
        flex-wrap: wrap;
        gap: 16px;
    }

    .sp-header__menu {
        flex-wrap: wrap;
        gap: 16px 20px;
    }
}