/*
 * Оформление компонентов нового макета
 */
.spectre-home {
    margin: 0;
    background: #f8f8f8;
    color: #111;
    font-family: 'Inter Tight',sans-serif;
}

.sp-home,
.sp-catalog,
.sp-header,
.sp-footer {
    font-family: 'Inter Tight',sans-serif;
    color: #111;
    font-size: 16px;
    line-height: 1.4;
}

.sp-home *,
.sp-catalog *,
.sp-header *,
.sp-footer * {
    box-sizing: border-box;
}

.sp-home h1,
.sp-home h2,
.sp-home h3,
.sp-catalog h1,
.sp-catalog h2,
.sp-catalog h3,
.sp-footer h2 {
    font-family: inherit;
    color: inherit;
    font-weight: 600;
    line-height: 1.05;
    margin: 0;
}

.sp-home p {
    margin: 0;
}

.sp-home ul,
.sp-catalog ul,
.sp-header ul,
.sp-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-home a,
.sp-catalog a,
.sp-header a,
.sp-footer a {
    color: inherit;
    text-decoration: none;
}

.sp-home button,
.sp-catalog button,
.sp-header button {
    font: inherit;
    cursor: pointer;
}

.sp-home button:disabled {
    cursor: default;
}

.sp-home img,
.sp-catalog img,
.sp-header img,
.sp-footer img {
    display: block;
    max-width: 160%;
    height: auto;
}

.sp-home [hidden],
.sp-catalog [hidden],
.sp-header [hidden] {
    display: none!important;
}

.sp-home :focus-visible,
.sp-catalog :focus-visible,
.sp-header :focus-visible,
.sp-footer :focus-visible,
.gsb-buttons a:focus-visible {
    outline: 3px solid #f22f2f;
    outline-offset: 5px;
}

.sp-container {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-inline: auto;
}

.sp-header {
    position: relative;
    z-index: 30;
    background: #f8f8f8;
    border-bottom: 1px solid #e5e5e5;
}

.sp-header-row {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 72px;
}

.sp-logo {
    flex: none;
    display: block;
}

.sp-navigation {
    flex: 1;
}

.sp-menu {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.sp-menu li {
    position: relative;
}

.sp-menu a:hover,
.sp-footer-menu a:hover {
    color: #f22f2f;
}

.sp-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 12px 32px #0001;
    display: none;
}

.sp-menu li:hover>.sub-menu,
.sp-menu li:focus-within>.sub-menu {
    display: block;
}

.sp-menu .sub-menu a {
    display: block;
    padding: 8px;
}

.sp-header-contact {
    display: flex;
    flex-direction: column;
    padding-left: 32px;
    border-left: 1px solid #e5e5e5;
    font-size: 13px;
    white-space: nowrap;
}

.sp-header-contact span {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.sp-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sp-icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    background: transparent;
    color: #111!important;
}

.sp-icon-button:hover {
    background: #eee;
}

.sp-icon-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.sp-cart {
    position: relative;
}

.sp-cart:after {
    content: '';
    width: 4px;
    height: 4px;
    position: absolute;
    right: 8px;
    top: 8px;
    border-radius: 50%;
    background: #f22f2f;
}

.sp-search-icon {
    display: block;
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
}

.sp-search-icon:after {
    content: '';
    position: absolute;
    height: 8px;
    width: 2px;
    background: currentColor;
    right: -4px;
    bottom: -5px;
    transform: rotate(-45deg);
}

.sp-menu-toggle,
.sp-mobile-extra {
    display: none;
}

.sp-hero {
    height: 728px;
    position: relative;
    background: #171717 url('../assets/spectre/hero-poster.webp') center/cover;
    overflow: hidden;
    color: #f8f8f8;
}

.sp-hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background: #0005;
    pointer-events: none;
}

.sp-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-hero-content {
    padding-top: 60px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.sp-hero h1 {
    font-size: clamp(70px,12.3vw,177px);
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    will-change: transform;
}

.sp-hero-bottom {
    display: flex;
    align-items: center;
    gap: 28px;
    align-self: flex-end;
    margin-top: 96px;
    font-size: 16px;
}

.sp-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    border: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #111;
    padding: 0;
    font-size: 28px;
    line-height: 1;
}

.sp-circle:disabled {
    opacity: .35;
    cursor: default;
}

.sp-hero-down {
    width: 60px;
    height: 60px;
    background: #ffffff25;
    border: 1px solid #ffffff2a;
    color: #fff;
    font-size: 32px;
}

.sp-section {
    padding-block: 100px;
}

.sp-heading {
    text-align: center;
    font-size: 56px!important;
    letter-spacing: 0;
    margin-bottom: 72px!important;
}

.sp-divided {
    border-top: 1px solid #e4e4e4;
}

.sp-center {
    display: flex;
    justify-content: center;
    margin-top: 64px;
}

.sp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 30px;
    border: 0;
    border-radius: 6px;
    background: #111;
    color: #f8f8f8!important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    min-height: 72px;
    transition: background .2s;
}

.sp-button:hover {
    background: #f22f2f;
}

.sp-button-light {
    background: #f8f8f8;
    color: #111!important;
}

.sp-button-light:hover {
    background: #f22f2f;
    color: #fff!important;
}

.sp-button img {
    filter: invert(1);
}

.sp-individual-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: 24px;
    scrollbar-width: none;
}

.sp-individual-carousel::-webkit-scrollbar,
.sp-product-carousel::-webkit-scrollbar,
.sp-video-list::-webkit-scrollbar,
.sp-category-carousel::-webkit-scrollbar,
.sp-object-track::-webkit-scrollbar {
    display: none;
}

.sp-individual-slide {
    flex: 0 0 100%;
    min-width: 0;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    scroll-snap-align: start;
}

.sp-individual-slide:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,#0009,#0003);
}

.sp-individual-copy {
    position: relative;
    color: #fff;
    max-width: 740px;
}

.sp-individual-copy h3 {
    font-size: 48px;
    letter-spacing: 0;
    margin-bottom: 20px;
}

.sp-individual-copy p {
    color: #d1d1d1;
    margin-bottom: 32px;
}

#individual {
    position: relative;
}

#individual>.sp-carousel-controls {
    position: absolute;
    right: 64px;
    bottom: 140px;
    color: #fff;
}

#individual .sp-circle {
    color: #fff;
    background: #ffffff30;
    border: 1px solid #ffffff40;
    backdrop-filter: blur(6px);
}

.sp-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 56px;
}

.sp-carousel-status {
    font-size: 12px;
    min-width: 32px;
    text-align: center;
    color: #888;
}

.sp-category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.sp-category-card {
    flex: 0 0 calc((100% - 60px)/4);
    min-width: 0;
    background: #fff;
    border-radius: 16px;
    padding: 4px;
    overflow: hidden;
}

.sp-category-card>a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sp-category-image {
    aspect-ratio: 1.32;
    overflow: hidden;
    border-radius: 12px;
    background: #eee;
}

.sp-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.sp-category-card:hover .sp-category-image img,
.sp-category-card:focus-within .sp-category-image img,
.sp-product-card:hover .sp-product-image img,
.sp-product-card:focus-within .sp-product-image img,
.sp-video-card:hover .sp-video-image img,
.sp-video-card:focus-within .sp-video-image img,
.sp-object-photo:hover img {
    transform: scale(1.07);
}

.sp-category-info {
    padding: 16px;
    position: relative;
    flex: 1;
}

.sp-category-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.sp-category-info>span:not(.sp-card-arrow) {
    font-size: 14px;
    color: #888;
}

.sp-card-arrow {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    transition: transform .3s ease;
}

.sp-card-arrow img {
    width: 8px;
    height: 14px;
}

.sp-category-card:hover .sp-card-arrow,
.sp-category-card:focus-within .sp-card-arrow,
.sp-video-card:hover .sp-card-arrow,
.sp-video-card:focus-within .sp-card-arrow {
    transform: translateX(4px);
}

.sp-partners {
    padding-top: 0;
    padding-bottom: 72px;
    overflow: hidden;
}

.sp-partners .sp-divided {
    padding-top: 100px;
}

.sp-marquee {
    overflow: hidden;
}

.sp-marquee-track {
    display: flex;
    gap: 8px;
    width: max-content;
    animation: sp-marquee 70s linear infinite;
}

.sp-partner-list {
    display: flex;
    gap: 8px;
    flex: none;
}

.sp-partner-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    width: 144px;
    height: 80px;
    border-radius: 8px;
    padding: 12px;
}

.sp-partner-list img {
    max-height: 56px;
    width: 120px;
    object-fit: contain;
}

.sp-marquee:hover .sp-marquee-track,
.sp-marquee:focus-within .sp-marquee-track {
    animation-play-state: paused;
}

@keyframes sp-marquee {
    to {
        transform: translateX(calc(-50% - 4px));
    }
}

.sp-product-carousel,
.sp-video-list,
.sp-category-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px!important;
}

.sp-product-card {
    position: relative;
    flex: 0 0 var(--carousel-card-width,calc((100% - 60px)/4));
    min-width: 0;
    padding: 4px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
}

.sp-product-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    scroll-snap-align: start;
}

.sp-product-image {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    background: #eee;
}

.sp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.sp-product-info {
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    flex: 1;
}

.sp-product-info h3 {
    font-size: 16px;
    line-height: 1.15;
    margin-bottom: 12px;
    min-height: 2.3em;
}

.sp-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 13px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.sp-stars {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 16px;
    background: #e7e7e7;
    mask: url('../assets/spectre/star.svg') 0 0/16px 16px repeat-x;
    flex: none;
}

.sp-stars>span {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #f22f2f;
}

.sp-product-price {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    margin-top: auto;
    margin-bottom: 8px;
}

.sp-product-price del {
    font-size: 14px;
    color: #aaa;
    font-weight: 400;
    margin-right: 6px;
}

.sp-product-price ins {
    background: none;
    text-decoration: none;
}

.sp-product-price.sp-sale ins {
    color: #f22f2f;
}

.sp-stock {
    font-size: 14px;
    color: #999;
}

.sp-cooperation {
    padding-block: 100px;
    min-height: 544px;
    background: linear-gradient(#0009,#0009),url('../assets/spectre/cooperation.webp');
    color: #f8f8f8;
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.sp-cooperation h2 {
    font-size: 48px;
    letter-spacing: 0;
}

.sp-cooperation p {
    color: #aaa;
    margin: 28px 0 56px;
}

.sp-faq {
    display: flex;
    gap: 100px;
    padding-inline: 20px;
}

.sp-faq-heading,
.sp-faq-list {
    flex: 1;
    min-width: 0;
}

.sp-faq h2 {
    font-size: 48px;
    letter-spacing: 0;
    margin-bottom: 48px;
}

.sp-faq-item {
    margin-bottom: 20px;
    border-radius: 6px;
    background: #eee;
    overflow: hidden;
}

.sp-faq-item:last-child {
    margin-bottom: 0;
}

.sp-faq-item h3 {
    margin: 0;
}

.sp-faq-item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    background: transparent;
    border: 0;
    color: #111;
    text-align: left;
    font-size: 16px;
    width: 100%;
    font-weight: 400;
}

.sp-faq-item button>span {
    font-size: 36px;
    line-height: .8;
    color: #f22f2f;
    font-weight: 300;
    transition: transform .25s;
}

.sp-faq-item button[aria-expanded=true]>span {
    transform: rotate(45deg);
}

.sp-faq-answer {
    overflow: hidden;
    color: #666;
    line-height: 1.5;
}

.sp-faq-answer-content {
    padding: 0 24px 24px;
}

.sp-faq-item h3,
.sp-faq-item button {
    border-bottom: 0!important;
    box-shadow: none;
}

.sp-faq-answer p+p {
    margin-top: 12px;
}

.sp-faq-answer a {
    text-decoration: underline;
}

.sp-map {
    height: 560px;
    position: relative;
    background: url('../assets/spectre/map.webp') center/cover;
}

.sp-map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 50px;
    height: 66px;
}

.sp-map-marker>img {
    width: 50px;
    height: 66px;
}

.sp-map-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    position: absolute;
    bottom: 40px;
    left: 16px;
    right: 16px;
}

.sp-map-links a {
    padding: 12px 16px;
    background: rgb(38 38 38 / 80%);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.sp-map-links a:hover{
    background: rgb(38 38 38 / 100%);
}

.sp-map-links a:focus{
    outline: none;
}

.sp-contact {
    text-align: center;
}

.sp-contact .sp-heading {
    margin-bottom: 20px!important;
}

.sp-contact p {
    color: #888;
    margin-bottom: 72px;
}

.sp-section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 56px;
}

.sp-section-top h2 {
    font-size: 40px;
    letter-spacing: 0;
}

.sp-home .sp-more {
    border: 0;
    box-shadow: none;
    text-decoration: none;
}

.sp-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    background: transparent;
    color: #111;
    padding: 0;
    font-size: 16px;
    white-space: nowrap;
    transition: opacity .2s;
}

.sp-home .sp-more:hover,
.sp-home .sp-more:focus {
    background: transparent;
    color: #111;
    opacity: .8;
    box-shadow: none;
}

.sp-more .sp-card-arrow {
    position: static;
}

.sp-video-card {
    flex: 0 0 calc((100% - 60px)/4);
    min-width: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    padding: 4px;
    scroll-snap-align: start;
}

.sp-video-image {
    aspect-ratio: 1.32;
    overflow: hidden;
    border-radius: 12px;
}

.sp-video-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.sp-video-card h3 {
    font-size: 16px;
    line-height: 1.2;
    margin: 16px 16px 8px;
}

.sp-video-card button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 16px;
    border: 0;
    background: none;
    color: #888;
    width: 100%;
    font-size: 14px;
}

.sp-video-card button .sp-card-arrow {
    position: static;
}

.sp-home .sp-video-card,
.sp-home .sp-video-card button {
    border: 0;
    box-shadow: none;
}

.sp-home .sp-video-card button:hover,
.sp-home .sp-video-card button:focus {
    background: transparent;
    color: #888;
}

.sp-objects {
    padding-top: 0;
    padding-bottom: 64px;
    overflow: hidden;
}

.sp-objects .sp-section-top {
    padding-top: 64px;
}

/*
 * Сохранить ленты во всю ширину экрана при фиксированном размере фотографий
 */
.sp-object-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    overflow: hidden;
}

.sp-object-row {
    display: flex;
    gap: 16px;
    width: max-content;
}

.sp-object-photo {
    flex: 0 0 260px;
    width: 260px;
    max-width: 260px;
    aspect-ratio: 260/180;
    height: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    transform: translateX(var(--object-offset,0px));
    will-change: transform;
}

.sp-object-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.sp-footer {
    background: #f8f8f8;
}

.sp-footer-row {
    border-top: 1px solid #e3e3e3;
    display: flex;
    align-items: center;
    gap: 48px;
    padding-block: 32px;
}

.sp-footer-menu {
    display: flex;
    gap: 28px;
    font-size: 14px;
    text-decoration: underline;
}

.sp-footer-documents {
    flex: 1;
    border-inline: 1px solid #e5e5e5;
    padding-inline: 48px;
}

.sp-footer h2 {
    display: none;
}

.sp-footer-contact {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.sp-footer-contact span {
    color: #999;
    font-size: 12px;
}

.sp-socials {
    display: flex;
    gap: 12px;
}

.sp-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.spectre-site #primary {
    margin: 48px 0 64px!important;
}

.spectre-site .site-content>.ast-container {
    max-width: 1248px;
    padding-inline: 24px;
}

.spectre-site.woocommerce-shop #primary,
.spectre-site.tax-product_cat #primary,
.spectre-site.tax-product_tag #primary {
    width: 100%;
    float: none;
}

.sp-catalog {
    padding-bottom: 16px;
}

.sp-shop-highlights {
    margin-bottom: 72px;
}

.sp-shop-highlights .sp-section-top {
    margin-bottom: 40px;
}

.sp-shop-highlights .sp-carousel-controls {
    margin: 0;
}

.sp-category-carousel .sp-category-card {
    flex-basis: 300px;
    scroll-snap-align: start;
}

.sp-catalog .woocommerce-breadcrumb {
    font-family: inherit;
    font-size: 14px;
    color: #999;
    margin-bottom: 40px;
}

.sp-catalog-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}

.sp-catalog h1 {
    font-size: 40px;
    letter-spacing: 0;
}

.sp-search {
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 8px;
    background: #fff;
    width: 370px;
    flex: none;
    scroll-margin-top: 90px;
}

.sp-search input[type=search] {
    border: 0;
    background: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    height: auto;
    padding: 18px 56px 18px 20px;
    min-width: 0;
    width: 100%;
    color: #111;
}

.sp-search button {
    position: absolute;
    right: 12px;
    top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    padding: 4px;
    background: transparent;
    border: 0;
    color: #111;
}

.sp-catalog-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.sp-catalog-sidebar {
    flex: 0 0 300px;
    min-width: 0;
}

.sp-catalog-categories>summary {
    font-size: 18px;
    font-weight: 600;
    list-style: none;
    pointer-events: none;
    margin-bottom: 24px;
}

.sp-category-tree .sp-category-tree {
    padding-top: 4px;
}

.sp-category-tree li>a,
.sp-category-tree summary>a {
    padding-left: calc(var(--sp-depth, 0)*12px);
}

.sp-category-tree {
    --sp-depth: 0;
}

.sp-category-tree li>a,
.sp-category-tree summary {
    display: block;
    cursor: pointer;
    padding: 8px 0;
    color: #666;
    font-size: 16px;
    list-style: none;
}

.sp-catalog-categories .sp-category-tree .sp-category-tree {
    border-left: 1px solid #ddd;
    padding-left: 12px;
}

.sp-catalog-categories .sp-category-tree li>a,
.sp-catalog-categories .sp-category-tree summary>a {
    padding-left: 0;
}

.sp-category-tree summary {
    display: flex;
    align-items: center;
    gap: 70px;
}

.sp-category-tree summary>a {
    flex: 1;
    min-width: 0;
    color: inherit;
}

.sp-category-tree summary::-webkit-details-marker,
.sp-catalog-categories>summary::-webkit-details-marker {
    display: none;
}

.sp-category-tree summary:after,
.sp-catalog-categories>summary:after {
    content: '';
    flex: none;
    width: 24px;
    height: 24px;
    background: url('../assets/spectre/arrow-2.svg') center/8px 14px no-repeat;
    transform: rotate(90deg);
    transition: transform .3s ease;
}

.sp-catalog-categories>summary:after {
    display: none;
}

.sp-category-tree details[open]>summary:after,
.sp-catalog-categories[open]>summary:after {
    transform: rotate(-90deg);
}

.sp-category-tree summary[aria-expanded=false]:after {
    transform: rotate(90deg);
}

.sp-category-submenu {
    overflow: hidden;
}

.sp-category-tree a:hover,
.sp-category-tree [aria-current=page],
.sp-category-tree summary>a[aria-current=page] {
    color: #f22f2f;
}

.sp-catalog-products {
    flex: 1;
    min-width: 0;
}

.sp-catalog .woocommerce-result-count {
    font-size: 14px;
    color: #999;
    float: none;
    margin: 0 0 20px;
}

.sp-catalog .woocommerce-ordering {
    float: none;
    margin: 0 0 40px;
}

.sp-catalog .woocommerce-ordering select {
    font-family: inherit;
    background: transparent;
    border: 0;
    font-size: 16px;
    padding: 0 24px 0 0;
    max-width: 100%;
}

.sp-catalog ul.products {
    display: flex!important;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0!important;
    padding: 0!important;
}

.sp-catalog ul.products:before,
.sp-catalog ul.products:after {
    display: none!important;
}

.sp-catalog ul.products li.sp-product-card {
    float: none;
    margin: 0;
    width: auto;
    flex: 0 0 calc((100% - 40px)/3);
}

.sp-catalog .woocommerce-pagination.sp-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e4e4e4;
}

.sp-catalog .woocommerce-pagination.sp-pagination ul {
    border: 0;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0;
}

.sp-catalog .woocommerce-pagination.sp-pagination ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 32px;
    min-width: 0;
    float: none;
    border: 0;
    margin: 0;
}

.sp-catalog .woocommerce-pagination.sp-pagination .page-numbers {
    min-width: 0;
    min-height: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    color: #111;
    background: transparent;
    padding: 0;
    text-decoration: none;
    box-shadow: none;
    transition: opacity .2s;
}

.sp-catalog .woocommerce-pagination.sp-pagination ul .page-numbers {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.sp-catalog .woocommerce-pagination.sp-pagination .current {
    background: #ececec;
}

.sp-catalog .woocommerce-pagination.sp-pagination a:hover {
    opacity: .8;
    color: #111;
    background: transparent;
}

.sp-catalog .woocommerce-pagination.sp-pagination .sp-pagination-direction .page-numbers {
    gap: 12px;
    min-height: 40px;
}

.sp-pagination-direction {
    display: flex;
    flex: 1;
}

.sp-pagination-next {
    justify-content: flex-end;
}

.sp-pagination-direction img {
    width: 9px;
    height: 14px;
    filter: invert(1);
}

.sp-pagination-next img {
    transform: rotate(180deg);
}

.sp-catalog .term-description {
    margin-bottom: 24px;
    color: #777;
}

.sp-js [data-reveal]:not(.sp-heading-reveal) {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s,transform .65s;
}

.sp-js [data-reveal]:not(.sp-heading-reveal).is-visible {
    opacity: 1;
    transform: none;
}

.sp-heading-word,
.sp-heading-char {
    display: inline-block;
}

.sp-heading-word {
    max-width: 100%;
}

.sp-js .sp-heading-reveal:not(.is-visible) .sp-heading-char {
    opacity: 0;
    filter: blur(10px);
}

@media (min-width: 1441px) {
    .sp-hero {
        height: calc(100vh - 72px);
        max-height: 1000px;
    }
}

@media (max-width: 1100px) {
    .sp-header-row {
        gap: 24px;
    }

    .sp-header-contact {
        display: none;
    }

    .sp-menu {
        gap: 16px;
    }

    .sp-footer-row {
        gap: 32px;
    }

    .sp-footer-documents {
        padding-inline: 24px;
    }

    .sp-footer-menu {
        gap: 20px;
    }

    .sp-faq {
        gap: 48px;
    }

    .sp-catalog-sidebar {
        flex-basis: 200px;
    }

    .sp-catalog-layout {
        gap: 24px;
    }

    .sp-product-rating {
        gap: 4px;
        font-size: 12px;
    }

    .sp-stars {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .sp-container {
        width: calc(100% - 32px);
    }

    .sp-header-row {
        min-height: 72px;
        justify-content: space-between;
        gap: 16px;
    }

    .sp-header-actions {
        gap: 4px;
    }

    .sp-header-actions>.sp-icon-button {
        margin-right: 4px;
    }

    .sp-menu-toggle {
        display: flex;
        margin-left: 16px!important;
        border: 0;
        border-left: 1px solid #ddd;
        border-radius: 0;
        width: 48px;
    }

    .sp-menu-toggle span,
    .sp-menu-toggle span:after {
        display: block;
        width: 22px;
        height: 2px;
        background: #111;
        position: relative;
    }

    .sp-menu-toggle span:after {
        content: '';
        position: absolute;
        top: 8px;
    }

    .sp-menu-toggle[aria-expanded=true] span {
        transform: rotate(45deg);
    }

    .sp-menu-toggle[aria-expanded=true] span:after {
        top: 0;
        transform: rotate(90deg);
    }

    .sp-navigation {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #f8f8f8;
        padding: 24px 16px 32px;
        border-bottom: 1px solid #ddd;
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
    }

    .sp-navigation.is-open {
        display: block;
    }

    .sp-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        font-size: 24px;
    }

    .sp-menu a {
        display: block;
        padding: 12px 0;
    }

    .sp-menu .sub-menu {
        position: static;
        box-shadow: none;
        display: block;
        background: none;
        padding: 0 0 0 16px;
        min-width: 0;
        font-size: 18px;
    }

    .sp-mobile-extra {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 24px;
        font-size: 18px;
    }

    .sp-hero {
        height: 560px;
    }

    .sp-hero-content {
        justify-content: center;
        padding-bottom: 20px;
    }

    .sp-hero h1 {
        font-size: clamp(43px,11.6vw,88px);
        letter-spacing: 0;
    }

    .sp-hero-bottom {
        align-self: flex-start;
        margin-top: 56px;
        gap: 16px;
        font-size: 14px;
    }

    .sp-hero-bottom br {
        display: none;
    }

    .sp-hero-bottom p {
        max-width: 260px;
    }

    .sp-hero-down {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }

    .sp-section {
        padding-block: 64px;
    }

    .sp-heading {
        font-size: 36px!important;
        margin-bottom: 40px!important;
        letter-spacing: 0;
    }

    .sp-individual-carousel {
        border-radius: 24px;
    }

    .sp-individual-slide {
        min-height: 470px;
        padding: 24px;
        background-position: center;
    }

    .sp-individual-copy h3 {
        font-size: 32px;
        line-height: 1.05;
    }

    .sp-individual-copy h3 br {
        display: none;
    }

    .sp-individual-copy p {
        font-size: 14px;
        margin-bottom: 24px;
        max-width: 280px;
    }

    .sp-button {
        padding: 20px 24px;
        font-size: 14px;
        min-height: 60px;
    }

    #individual>.sp-carousel-controls {
        position: static;
        margin-top: 24px;
        color: #111;
    }

    #individual .sp-circle {
        background: #fff;
        color: #111;
    }

    .sp-category-list {
        gap: 12px;
    }

    .sp-category-card {
        flex-basis: calc((100% - 12px)/2);
        border-radius: 16px;
    }

    .sp-category-image {
        aspect-ratio: 1.18;
    }

    .sp-category-info {
        padding: 16px 8px;
    }

    .sp-category-info h3 {
        font-size: 16px;
        min-height: 2.4em;
        margin-bottom: 8px;
    }

    .sp-category-info>span:not(.sp-card-arrow) {
        font-size: 13px;
    }

    .sp-card-arrow {
        right: 8px;
        bottom: 12px;
    }

    .sp-center {
        margin-top: 40px;
    }

    .sp-partners {
        padding-top: 0;
        padding-bottom: 48px;
    }

    .sp-partners .sp-divided {
        padding-top: 64px;
    }

    .sp-partner-list li {
        width: 144px;
        height: 80px;
    }

    .sp-product-carousel,
    .sp-video-list {
        gap: 12px;
        margin-right: -16px!important;
        padding-right: 16px!important;
    }

    .sp-product-carousel .sp-product-card {
        flex-basis: var(--carousel-card-width,272px);
    }

    .sp-video-card {
        flex-basis: 272px;
    }

    .sp-product-info {
        padding: 16px 12px;
    }

    .sp-product-info h3 {
        font-size: 18px;
    }

    .sp-product-rating {
        font-size: 14px;
        gap: 8px;
        margin-bottom: 20px;
    }

    .sp-stars {
        font-size: 20px;
    }

    .sp-product-price {
        font-size: 22px;
    }

    .sp-carousel-controls {
        margin-top: 24px;
    }

    .sp-cooperation {
        padding: 64px 0;
        min-height: 480px;
        background-position: 60% center;
    }

    .sp-cooperation h2 {
        font-size: 32px;
    }

    .sp-cooperation h2 br {
        display: none;
    }

    .sp-cooperation p {
        margin: 24px 0 40px;
        font-size: 16px;
    }

    .sp-faq {
        flex-direction: column;
        gap: 40px;
        padding-inline: 0;
    }

    .sp-faq h2 {
        font-size: 32px;
        text-align: center;
        margin: 0;
    }

    .sp-faq-heading {
        display: contents;
    }

    .sp-faq-heading .sp-button {
        order: 2;
        align-self: center;
        margin-top: 0;
    }

    .sp-faq-list {
        order: 1;
    }

    .sp-faq-item {
        margin-bottom: 16px;
    }

    .sp-faq-item button {
        padding: 24px 16px;
        font-size: 16px;
        min-height: 84px;
    }

    .sp-faq-answer-content {
        padding: 0 16px 24px;
    }

    .sp-map {
        height: 560px;
        background-position: center;
    }

    .sp-map-links {
        flex-direction: column;
        align-items: center;
        bottom: 32px;
        gap: 8px;
    }

    .sp-map-links a {
        font-size: 14px;
        padding: 12px 16px;
    }

    .sp-map-marker {
        top: 42%;
    }

    .sp-contact p {
        font-size: 14px;
        margin-bottom: 48px;
    }

    .sp-contact p br {
        display: none;
    }

    .sp-section-top {
        gap: 16px;
        align-items: flex-start;
        margin-bottom: 32px;
    }

    .sp-section-top h2 {
        font-size: 28px;
    }

    .sp-more {
        font-size: 12px;
        align-self: center;
        white-space: normal;
        text-align: right;
        max-width: 100px;
    }

    .sp-more span {
        display: none;
    }

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

    .sp-video-card button {
        font-size: 14px;
    }

    .sp-objects {
        padding-top: 0;
        padding-bottom: 48px;
    }

    .sp-objects .sp-section-top {
        padding-top: 48px;
    }

    .sp-object-rows {
        gap: 12px;
    }

    .sp-object-row {
        gap: 12px;
    }

    .sp-footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding: 32px 0;
    }

    .sp-footer h2 {
        display: block;
        font-size: 18px;
        margin-bottom: 20px;
    }

    .sp-footer-documents {
        padding: 0;
        border: 0;
        flex: auto;
    }

    .sp-footer-menu {
        flex-direction: column;
        gap: 14px;
        font-size: 14px;
    }

    .sp-footer-contact {
        font-size: 14px;
    }

    .sp-footer-contact span {
        font-size: 12px;
    }

    .sp-socials a {
        border: 0;
        padding: 0;
    }

    .sp-socials {
        gap: 20px;
    }

    .spectre-site .site-content>.ast-container {
        padding-inline: 16px;
    }

    .spectre-site #primary {
        margin: 48px 0 64px!important;
    }

    .sp-shop-highlights {
        margin-bottom: 48px;
    }

    .sp-shop-highlights .sp-section-top {
        margin-bottom: 24px;
        align-items: center;
    }

    .sp-shop-highlights .sp-carousel-controls {
        gap: 8px;
    }

    .sp-shop-highlights .sp-carousel-status {
        display: none;
    }

    .sp-category-carousel {
        gap: 12px;
        margin-right: -16px!important;
        padding-right: 16px!important;
    }

    .sp-category-carousel .sp-category-card {
        flex-basis: 176px;
    }

    .sp-catalog .woocommerce-breadcrumb {
        margin-bottom: 32px;
        font-size: 14px;
    }

    .sp-catalog-heading {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        margin-bottom: 24px;
    }

    .sp-catalog h1 {
        font-size: 34px;
    }

    .sp-search {
        width: 100%;
        flex: auto;
    }

    .sp-catalog-layout {
        flex-direction: column;
        gap: 24px;
    }

    .sp-catalog-sidebar {
        flex: auto;
        width: 100%;
    }

    .sp-catalog-categories {
        border: 1px solid #e3e3e3;
        border-radius: 6px;
        padding: 12px 16px;
    }

    .sp-catalog-categories>summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        pointer-events: auto;
        cursor: pointer;
        font-size: 16px;
        margin: 0;
		color: red;
    }

    .sp-catalog-categories>summary:after {
        display: block;
    }

    .sp-catalog-categories nav {
        padding-top: 20px;
    }

    .sp-catalog-products {
        width: 100%;
    }

    .sp-catalog .woocommerce-result-count {
        font-size: 12px;
    }

    .sp-catalog .woocommerce-ordering {
        margin-bottom: 40px;
    }

    .sp-catalog ul.products {
        gap: 12px;
    }

    .sp-catalog ul.products li.sp-product-card {
        flex-basis: calc((100% - 12px)/2);
    }

    .sp-catalog .sp-product-info {
        padding: 16px 8px;
    }

    .sp-catalog .sp-product-info h3 {
        font-size: 16px;
        min-height: 3.45em;
        margin-bottom: 12px;
    }

    .sp-catalog .sp-product-rating {
        font-size: 12px;
        gap: 6px;
        margin-bottom: 18px;
    }

    .sp-catalog .sp-stars {
        font-size: 17px;
    }

    .sp-catalog .sp-product-price {
        font-size: 20px;
    }

    .sp-catalog .sp-stock {
        font-size: 14px;
    }

    .sp-pagination-label {
        display: none;
    }

    .sp-catalog .woocommerce-pagination.sp-pagination .sp-pagination-direction .page-numbers {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #fff;
    }
}

@media (max-width: 359px) {
    .sp-catalog .woocommerce-pagination.sp-pagination ul li {
        flex-basis: 28px;
    }

    .sp-catalog .woocommerce-pagination.sp-pagination ul .page-numbers {
        width: 28px;
        height: 28px;
    }

    .sp-catalog .woocommerce-pagination.sp-pagination .sp-pagination-direction .page-numbers {
        width: 36px;
        height: 36px;
        min-height: 36px;
    }

    .sp-hero {
        height: 500px;
    }

    .sp-heading {
        font-size: 32px!important;
    }

    .sp-individual-copy h3 {
        font-size: 28px;
    }

    .sp-category-info h3,
    .sp-catalog .sp-product-info h3 {
        font-size: 14px;
    }

    .sp-catalog .sp-product-price {
        font-size: 17px;
    }

    .sp-header-actions {
        gap: 0;
    }

    .sp-menu-toggle {
        margin-left: 8px!important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp-marquee-track {
        animation: none;
    }

    .sp-partner-list[aria-hidden=true] {
        display: none;
    }

    .sp-marquee {
        overflow-x: auto;
    }

    .sp-js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .sp-js .sp-heading-reveal:not(.is-visible) .sp-heading-char {
        opacity: 1;
        filter: none;
    }

    .sp-home *,
    .sp-catalog * {
        scroll-behavior: auto!important;
        transition: none!important;
    }

    .sp-category-tree summary:after,
    .sp-catalog-categories>summary:after {
        transition: none;
    }

    .sp-hero h1 {
        transform: none!important;
    }
}

/*
 * Ограничить содержимое главной и сохранить кнопки расширений магазина
 */
.sp-home {
    position: relative;
    overflow-x: hidden;
}

.sp-individual-copy {
    min-width: 0;
}

.sp-catalog ul.products li.sp-product-card {
    flex-direction: column;
}

.sp-product-card .wa-shop-button {
    margin: 0 12px 12px;
    max-width: calc(100% - 24px);
    font-size: 13px;
    text-align: center;
}

.spectre-site.woocommerce-shop,
.spectre-site.tax-product_cat,
.spectre-site.tax-product_tag,
.spectre-site.post-type-archive-product {
    background: #f8f8f8;
}

.sp-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sp-mobile-extra {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .sp-mobile-extra {
        display: none;
    }
}

@media (max-width: 767px) {
    .sp-navigation {
        display: none;
    }

    .sp-navigation.is-open {
        display: block;
    }

    .sp-mobile-extra {
        flex-direction: column;
        font-size: 18px;
    }

}

.sp-carousel-controls .sp-circle {
    font-size: 28px;
}

/*
 * Мобильные пропорции главного экрана и нижних каруселей из макета
 */
@media (max-width: 767px) {
    .sp-hero {
        height: 802px;
    }

    .sp-hero-content {
        padding: 0;
        align-items: center;
    }

    .sp-hero h1 {
        position: absolute;
        top: 35%;
        font-size: clamp(64px,19.9vw,100px);
        letter-spacing: 0;
        white-space: normal;
        text-align: center;
        width: 100%;
        line-height: 1;
    }

    .sp-hero-bottom {
        position: absolute;
        bottom: 50px;
        margin: 0;
        align-self: center;
        flex-direction: column-reverse;
        gap: 24px;
        text-align: center;
        font-size: 16px;
    }

    .sp-hero-bottom p {
        max-width: 300px;
    }

    .sp-hero-down {
        width: 60px;
        height: 60px;
    }

    .sp-heading {
        font-size: 32px!important;
        line-height: 1;
        margin-bottom: 48px!important;
    }

    .sp-individual-slide {
        min-height: 500px;
    }

    .sp-individual-copy h3 {
        font-size: 24px;
        letter-spacing: 0;
    }

    .sp-individual-copy p {
        font-size: 16px;
        max-width: none;
        margin-bottom: 36px;
    }

    .sp-individual-copy .sp-button {
        width: 100%;
        font-size: 16px;
        min-height: 72px;
    }

    .sp-individual-copy {
        width: 100%;
    }

    .sp-videos,
    .sp-objects {
        display: flex;
        flex-direction: column;
    }

    .sp-videos .sp-section-top,
    .sp-objects .sp-section-top {
        display: contents;
    }

    .sp-videos h2,
    .sp-objects h2 {
        text-align: center;
        font-size: 32px;
        margin-bottom: 40px;
        letter-spacing: 0;
    }

    .sp-videos .sp-more,
    .sp-objects .sp-more {
        order: 10;
        align-self: center;
        margin: 32px 0 0;
        padding: 20px 24px;
        background: #fff;
        border-radius: 6px;
        max-width: none;
        font-size: 16px;
    }

    .sp-videos .sp-carousel-controls {
        margin-top: 24px;
    }

    .sp-objects {
        padding-top: 48px;
    }

    .sp-objects h2 {
        padding-inline: 16px;
    }

    .sp-objects .sp-carousel-controls {
        margin-top: 24px;
    }
}

@media (max-width: 359px) {
    .sp-hero {
        height: 700px;
    }

    .sp-individual-copy h3 {
        font-size: 23px;
    }
}

/*
 * Общая строка хлебных крошек и нативной сортировки WooCommerce
 */
.sp-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

.sp-catalog-toolbar .woocommerce-breadcrumb,
.sp-catalog-toolbar .woocommerce-result-count,
.sp-catalog-toolbar .woocommerce-ordering {
    margin: 0;
}

.sp-catalog-sorting {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sp-catalog-sorting .woocommerce-result-count {
    font-size: 12px;
}

.sp-shop-highlights {
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 48px;
    margin-bottom: 48px;
}

.sp-shop-highlights .sp-section-top {
    margin-bottom: 32px;
}

.sp-shop-highlights .sp-category-carousel {
    margin-right: calc(50% - 50vw)!important;
}

.sp-category-carousel .sp-category-image {
    aspect-ratio: 1.38;
}

.sp-catalog-categories>nav>.sp-category-tree>li {
    background: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
}

.sp-catalog-categories>nav>.sp-category-tree>li>a,
.sp-catalog-categories>nav>.sp-category-tree>li>details>summary {
    color: #111;
}

.sp-catalog-categories>nav>.sp-category-tree>li>a[aria-current=page] {
    color: #f22f2f;
}

@media (max-width: 1100px) {
    .sp-catalog-sorting {
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .sp-catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin-bottom: 24px;
    }

    .sp-catalog-sorting {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .sp-shop-highlights {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    .sp-shop-highlights .sp-section-top {
        margin-bottom: 24px;
    }
}

.sp-header-actions>.sp-icon-button {
    border: 0;
    background: transparent;
}

.sp-cart:after {
    display: none;
}

/*
 * Появление заголовка и управление страницами слайдеров
 */
.spectre-site :is(h1,h2,h3,h4,h5,h6),
.sp-home :is(h1,h2,h3,h4,h5,h6) {
    letter-spacing: 0;
}

.sp-hero-title {
    animation: sp-hero-title 1s cubic-bezier(.21,.6,.35,1) .4s both;
}

@keyframes sp-hero-title {
    from {
        opacity: 0;
        transform: perspective(1000px) translate3d(0,300px,0) rotate3d(-100,0,-50,45deg);
    }

    to {
        opacity: 1;
        transform: perspective(500px) translate3d(0,0,0);
    }
}

.sp-carousel-controls {
    position: relative;
}

.sp-carousel-controls .sp-circle img {
    width: 9px;
    height: 14px;
    filter: invert(1);
}

.sp-carousel-controls [data-carousel-next] img {
    transform: rotate(180deg);
}

#individual .sp-circle img {
    filter: none;
}

.sp-carousel-dots {
    display: flex;
    align-items: center;
    gap: 0;
}

.sp-home .sp-carousel-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.sp-carousel-dot:before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
}

.sp-carousel-dot[aria-current=true]:before {
    background: #111;
}

#individual .sp-carousel-dot:before {
    background: #ffffff50;
}

#individual .sp-carousel-dot[aria-current=true]:before {
    background: #fff;
}

.sp-product-carousel>.sp-product-card {
    scroll-snap-align: start;
}

.sp-popular .sp-product-link {
    scroll-snap-align: none;
}

.sp-popular .sp-carousel-controls .sp-circle {
    width: 40px;
    height: 40px;
}

.sp-rotating-word {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.1;
    white-space: nowrap;
}

.sp-rotating-word>span {
    display: block;
}

.sp-rotating-word .sp-word-next {
    position: absolute;
    inset: 0;
}

@media (max-width: 1100px) and (min-width: 768px) {
    .sp-popular .sp-product-card {
        flex-basis: var(--carousel-card-width,calc((100% - 20px)/2));
    }
}

@media (max-width: 767px) {
    .sp-hero-title {
        position: absolute;
        top: 35%;
        width: 100%;
    }

    .sp-hero h1 {
        position: static;
        top: auto;
    }

    #individual .sp-circle {
        border-color: #1112;
        backdrop-filter: blur(6px);
    }

    #individual .sp-circle img {
        filter: invert(1);
    }

    #individual .sp-carousel-dot:before {
        background: #ccc;
    }

    #individual .sp-carousel-dot[aria-current=true]:before {
        background: #111;
    }

    .sp-home .sp-more:hover,
    .sp-home .sp-more:focus {
        background: #fff;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp-hero-title {
        animation: none;
    }

    .sp-object-row {
        max-width: 100%;
        overflow-x: auto;
    }

    .sp-object-photo {
        transform: none;
        will-change: auto;
    }

    .sp-home .sp-object-photo img {
        transform: none;
    }

    .sp-rotating-word>span {
        transform: none!important;
        opacity: 1!important;
    }
}

.sp-carousel-controls .sp-circle {
    transition: opacity .2s;
}

.sp-home .sp-carousel-controls .sp-circle:is(:hover,:focus),
.sp-catalog .sp-carousel-controls .sp-circle:is(:hover,:focus) {
    background: #fff;
    color: #111;
    box-shadow: none;
}

.sp-carousel-controls .sp-circle:not(:disabled):hover {
    opacity: .8;
}

.sp-home #individual .sp-circle:is(:hover,:focus) {
    background: #ffffff30;
}

@media (max-width: 767px) {
    .sp-home #individual .sp-circle:is(:hover,:focus) {
        background: #fff;
    }
}

.sp-home .sp-hero-down:hover,
.sp-home .sp-hero-down:focus {
    background: #ffffff30;
    color: #fff;
    border-color: #ffffff2a;
    box-shadow: none;
}

/*
 * Редактируемый каталог и панели навигации
 */
.sp-mobile-menu-title,
.sp-mobile-catalog {
    display: none;
}

.sp-catalog-entry {
    display: flex;
    align-items: center;
}

.sp-catalog-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    line-height: 1;
    box-shadow: none;
}

.sp-catalog-toggle span {
    width: 16px;
    height: 16px;
    background: url('../assets/spectre/arrow-2.svg') center/6px 10px no-repeat;
    transform: rotate(90deg);
}

.sp-catalog-toggle[aria-expanded=true] span {
    transform: rotate(-90deg);
}

.sp-catalog-toggle:is(:hover,:focus) {
    background: transparent;
    color: inherit;
    box-shadow: none;
}

.sp-mega {
    position: absolute;
    inset: 100% 0 auto;
    background: #f8f8f8;
    box-shadow: 0 20px 60px #1113;
    height: calc(min(600px,100dvh - var(--sp-admin-height,0px)) - var(--sp-header-height,73px));
    border-bottom: 1px solid #ddd;
}

.sp-mega-layout {
    display: grid;
    grid-template-columns: 28% minmax(0,1fr);
    height: 100%;
}

.sp-mega-scroll-column {
    position: relative;
    min-width: 0;
    min-height: 0;
}

.sp-mega-scroll-column:after {
    content: '';
    position: absolute;
    inset: auto 8px 0 0;
    height: 48px;
    background: linear-gradient(to bottom,#f8f8f800,#f8f8f8 90%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

.sp-mega-scroll-column.has-more-below:after {
    opacity: 1;
}

.sp-mega-sections-column {
    border-right: 1px solid #e5e5e5;
}

@keyframes sp-menu-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.sp-mega:not([hidden]),
.sp-mega-panel:not([hidden]) {
    animation: sp-menu-fade-in .18s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .sp-mega:not([hidden]),
    .sp-mega-panel:not([hidden]) {
        animation: none;
    }

    .sp-mega-scroll-column:after {
        transition: none;
    }
}

.sp-mega-sections {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 10px 24px 0;
}

.sp-menu-specials {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 16px!important;
    margin-bottom: 16px!important;
}

:is(.sp-menu-specials,.sp-header-search) :focus,
:is(.sp-menu-specials,.sp-header-search) :focus-visible {
    outline: none;
    box-shadow: none;
}

:is(.sp-menu-specials,.sp-header-search) .dgwt-wcas-search-wrapp {
    /*float: none;*/
    min-width: 0;
    margin: 0 0 8px;
}

.sp-menu-specials .dgwt-wcas-search-wrapp {
    max-width: none;
}

.sp-header-search .dgwt-wcas-search-wrapp {
    margin-inline: auto;
}

:is(.sp-menu-specials,.sp-header-search) .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
:is(.sp-menu-specials,.sp-header-search) .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:hover,
:is(.sp-menu-specials,.sp-header-search) .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
    height: 56px;
    padding: 16px 56px 16px 16px;
    border: 0;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 400;
    font-style: normal;
    line-height: 24px;
    background: #fff;
    color: #111;
    box-shadow: none;
}

:is(.sp-menu-specials,.sp-header-search) .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder {
color: red;
  font-weight: 500;
  font-style: normal;
  opacity: 1;
}

:is(.sp-menu-specials,.sp-header-search) .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    text-shadow: none;
}

:is(.sp-menu-specials,.sp-header-search) .dgwt-wcas-search-submit:before {
    display: none;
}

:is(.sp-menu-specials,.sp-header-search) .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier {
    width: 16px;
    height: 16px;
}

:is(.sp-menu-specials,.sp-header-search) .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier path {
    fill: currentColor!important;
}

:is(.sp-menu-specials,.sp-header-search) .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover {
    color: #f22f2f;
    opacity: 1;
}

:is(.sp-menu-specials,.sp-header-search) .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:focus {
    opacity: 1;
}

.sp-menu-specials a,
.sp-mega-roots a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 8px;
    font-size: 14px;
    font-weight: 500;
}

.sp-mega-roots li {
    display: flex;
    align-items: center;
}

.sp-mega-roots a {
    flex: 0.3;
    min-width: 0;
}

.sp-mega-roots .is-selected,
.sp-mega-roots a:hover,
.sp-menu-specials a:hover {
    color: #f22f2f;
}

.sp-menu-item-icon {
    flex: none;
    width: 24px;
    height: 24px!important;
    object-fit: contain;
    text-align: center;
    font-size: 22px;
    line-height: 24px;
}

.sp-menu-sale-icon {
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg,#38b8ff,#087be9);
    font-size: 17px;
}

.sp-mega-panel {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 32px;
    padding: 40px 0 40px 40px;
    min-height: 0;
}

.sp-mega-links {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    min-width: 0;
    padding-right: 8px;
}

.sp-mega-links h2 {
    font: 600 32px/1.05 'Inter Tight',sans-serif;
    margin: 0 0 32px;
    color: #111;
}

.sp-mega-links .sp-category-tree li>a,
.sp-mega-links .sp-category-tree summary {
    font-size: 14px;
    color: #111;
}

.sp-mega-all {
    display: inline-block;
    margin-top: 32px;
    text-decoration: underline!important;
    font-weight: 600;
}

.sp-mega-card {
    position: relative;
    align-self: stretch;
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
}

.sp-header .sp-mega-card>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-mega-card:after {
    content: '';
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent,#0009);
}

.sp-mega-card>span {
    position: absolute;
    inset: auto 24px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    z-index: 1;
}

.sp-mega-card>span img {
    flex: none;
}

@media (max-width: 1100px) and (min-width: 768px) {
    .sp-mega-panel {
        padding-left: 24px;
        gap: 24px;
    }

    .sp-mega-links h2 {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .sp-mobile-menu-open {
        overflow: hidden;
    }

    .sp-mobile-menu-open .sp-header {
        position: fixed;
        top: var(--sp-admin-height,0px);
        left: 0;
        right: 0;
    }

    .sp-mobile-menu-open .gsb-buttons {
        display: none!important;
    }

    :is(.sp-navigation,.sp-catalog-categories,.sp-footer-menu) a:is(:focus,:focus-visible) {
        outline: none;
        box-shadow: none;
    }

    :is(.sp-navigation,.sp-footer-menu) .current-menu-item a:not([aria-current=page]) {
        color: #111!important;
    }

    .sp-catalog-categories .current-menu-item a:not([aria-current=page]) {
        color: #666!important;
    }

    :is(.sp-navigation,.sp-catalog-categories,.sp-footer-menu) a[aria-current=page] {
        color: #f22f2f!important;
    }

    .sp-mega,
    .sp-catalog-toggle,
    .sp-menu .sp-catalog-entry {
        display: none;
    }

    .sp-navigation {
        max-height: calc(100dvh - var(--sp-header-height,73px) - var(--sp-admin-height,0px));
        height: calc(100dvh - var(--sp-header-height,73px) - var(--sp-admin-height,0px));
        overscroll-behavior: contain;
    }

    .sp-mobile-menu-title,
    .sp-mobile-catalog {
        display: block;
    }

    .sp-mobile-menu-title,
    .sp-mobile-catalog-heading h2 {
        font: 600 24px/1.1 'Inter Tight',sans-serif;
        margin: 0 0 20px;
    }

    .sp-menu,
    .sp-mobile-extra {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 0 16px;
        font-size: 14px;
        font-weight: 500;
    }

    .sp-mobile-extra {
        margin-top: 0;
    }

    .sp-mobile-extra a {
        padding: 12px 0;
    }

    .sp-mobile-catalog {
        border-top: 1px solid #ddd;
        margin-top: 24px;
        padding-top: 24px;
    }

    .sp-mobile-catalog-heading {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 16px;
    }

    .sp-mobile-catalog-heading>a {
        font-size: 14px;
        font-weight: 600;
        text-decoration: underline;
    }

    .sp-mobile-catalog .sp-category-tree li>a,
    .sp-mobile-catalog .sp-category-tree summary {
        font-size: 14px;
        color: #111;
        padding-block: 14px;
    }

    .sp-mobile-catalog .sp-category-tree a {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .sp-mobile-catalog .sp-category-tree summary>a {
        padding-block: 0;
        padding-left: 0;
    }

    .sp-mobile-catalog .sp-category-tree .sp-category-tree {
        border-left: 1px solid #ddd;
        padding-left: 12px;
    }

    .sp-mobile-catalog>.sp-category-tree>li>details>.sp-category-submenu {
        margin-left: 36px;
    }
}