/**
 * Theme Name: Brozzilla
 * Version:    1.0.1
 */

@view-transition {
    navigation: auto;
}

@font-face {
    font-family: "TDAText";
    src: local("TDAText"),
    url("assets/fonts/TDAText.ttf") format("truetype");
}

@font-face {
    font-family: "TDAText Condensed";
    src: local("TDATextCondensed"),
    local("TDATextCondensed"),
    url("assets/fonts/TDATextCondensed.ttf") format("truetype");
}

@font-face {
    font-family: "Pragmatica";
    src: local("Pragmatica"),
    url("assets/fonts/Pragmatica.ttf") format("truetype");
}

.copyright {
    font-size: 12px;
    font-family: Pragmatica, sans-serif;
}

video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover; /* как фон */
    pointer-events: none; /* чтобы нельзя было нажать и вызвать плеер */

}

:root {
    --background-color-dark: #171717;
    --accent-color: #FF6400;
    --font-color: #EDEDD1;
}

button {
    cursor: pointer;
}

*, *:before, *:after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    min-height: 100vh;
    position: relative;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html {
    scroll-padding-top: 70px;
}

html {
    margin-top: 0 !important;
}

body, .app-header {
    background-color: var(--background-color-dark, #171717);
}

.app-main {
    margin-top: 70px;
    width: 100%;
    height: 100%;
}

.page-container, .header-container, .footer-container {
    max-width: 355px;
    margin: 0 auto;
}

.header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.page-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

a, p, li, h1, h2, h3, h4, h5, h6, button, span {
    font-style: normal;
    line-height: normal;
    font-weight: 400;
    color: var(--font-color, #EDEDD1);
    outline: none !important;
    border: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none !important;
}

img {
    border-radius: 0;
}

ul, ol {
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.woocommerce-notices-wrapper {
    display: none;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/*Header*/

.app-header {
    position: fixed;
    width: 100%;
    height: 70px;
    border: none;
    padding: 0 25px;
    z-index: 100;
}

.app-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100dvh;
    z-index: 1000;
    border-left: 1px solid var(--accent-color, #FF6400);
    background-color: rgba(23, 23, 23, .9);
    backdrop-filter: blur(2px);
    padding: 26px 20px;
    display: none;
}

.app-header__nav--open {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.app-header__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    z-index: 999;
    display: none;
}

.app-header__overlay.active {
    display: block;
}

.app-header__list {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 16px;
    align-items: end;
}

.app-header__close-menu {
    background: none !important;
    padding: 0;
    margin-bottom: 30px;
}

.app-header__item a {
    font-family: "TDAText Condensed", sans-serif;
    font-size: 20px;
    text-transform: lowercase;
}

.app-header__item--faq a {
    text-transform: uppercase;
}

.app-header__item a:focus {
    color: var(--accent-color, #FF6400);
}

.app-header__cart a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.app-header__cart-counter {
    font-family: "TDAText Condensed", sans-serif;
    font-size: 16px;
    text-transform: lowercase;
}

.app-header__cart-counter:before {
    content: "(";
}

.app-header__cart-counter:after {
    content: ")";
}

.app-header__logo {
    margin-right: auto;
}

.app-header__menu {
    margin-left: 15px;
    background: none !important;
    padding: 0;
}

/* Footer */
.footer-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    margin: 0 auto;
}

.app-footer {
    margin-top: 45px;
    margin-bottom: 45px;
}

.app-footer:before {
    content: none !important;
}

.app-footer__logo a {
    display: flex;
    flex-direction: column;
}

.app-footer__logo img {
    margin-top: -9px;
}

.app-footer__logo-text {
    color: var(--accent-color, #FF6400);
    font-family: TDAText, sans-serif;
    font-size: 19px;
    letter-spacing: -0.774px;
    text-transform: uppercase;
    margin-top: -7px;
}

.app-footer__nav-title, .app-footer__contacts-title {
    color: var(--font-color, #EDEDD1);
    font-family: TDAText, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.app-footer__list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-footer__contacts-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-footer__item a, .app-footer__contacts-item a {
    color: var(--font-color, #EDEDD1) !important;
    font-family: "TDAText Condensed", sans-serif;
    font-size: 16px;
    text-transform: lowercase;
}

.app-footer__item--faq a {
    text-transform: uppercase;
}

.app-footer__contacts-item a {
    font-size: 14px;
    font-family: "TDAText", sans-serif;
}

.app-footer__contacts-item {
    margin: 0;
}

.app-footer__contacts-item--manager a {
    background: linear-gradient(90deg, #FFFD2B 0%, #6CF510 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}


.app-footer__logo {
    justify-self: start;
}

.app-footer__nav {
    justify-self: center;
}

.app-footer__contacts {
    justify-self: end;
}

.app-footer__contacts-item a:focus, .app-footer__item a:focus {
    color: var(--accent-color, #FF6400) !important;
}

.error-404 {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.error-404__title {
    text-align: center;
    font-family: TDAText, sans-serif;
    font-size: 40px;
    line-height: 100%;
    background: linear-gradient(90deg, #FB24FC 0%, #0201CB 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.error-404__back-home {
    background: linear-gradient(90deg, #F56B6B 0%, #F91C4E 100%);
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: #EDEDD1;
    font-family: TDAText, sans-serif;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    width: 183px;
    height: 26px;
}

.error-404__image {
    height: 302px;
}

.woocommerce-error {
    outline: none;
    border: 1px solid var(--font-color, #EDEDD1);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.woocommerce-message, .woocommerce-message a {
    font-family: TDAText, sans-serif;
    color: var(--font-color, #EDEDD1);
    border: 1px solid var(--font-color, #EDEDD1);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.woocommerce-error li {
    list-style: none;
    font-family: TDAText, sans-serif;
}

.woocommerce-error li:nth-child(2) {
    display: none;
}


.footer__link {
    color: #EDEDD1;
    font-family: "TDAText", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: lowercase;
    margin-bottom: 6px;
}


.product-card {
    position: relative;
    width: 348px;
    border: solid 1px var(--font-color, #EDEDD1);
}

.product-card__image {
    width: 100%;
    height: 405px;
    object-position: bottom;
    object-fit: cover;
    border-bottom: 1px solid var(--font-color, #EDEDD1);
}

.product-card__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 7px 15px;
}

.product-card__title {
    max-width: 150px;
    font-size: 18px;
    font-family: "Pragmatica", sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.product-card__price {
    font-family: "TDAText", sans-serif;
    font-size: 24px;
    text-transform: uppercase;
}

/* @media */
@media (width >= 768px) {
    .product-card {
        width: 348px;
    }

    .product-card__image {
        height: 435px;
    }

    .product-card__title {
        font-size: 20px;
        max-width: 165px;
    }

    .page-container, .header-container, .footer-container {
        max-width: 728px;
    }

    .app-header__item a {
        font-size: 30px;
    }

    .app-footer {
        margin-top: 65px;
    }

    .error-404__title {
        font-size: 52px;
        line-height: 198px;
    }

    .error-404__image {
        height: 392px;
    }

    .error-404__back-home {
        width: 238px;
        height: 34px;
        padding: 10px 21px;
        font-size: 21px;
    }
}

@media (width >= 1024px) {
    .product-card {
        width: 382px;
    }

    .product-card__price {
        font-size: 26px;
    }

    .page-container, .header-container, .footer-container {
        max-width: 1219px;
    }

    .app-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 69px;
        z-index: 100;
        padding: 15px 25px;
    }

    .app-header__nav {
        position: static !important;
        display: flex !important;
        align-items: center;
        background: none;
        border: none;
        width: auto;
        height: 100%;
        padding: 0;
    }

    .app-header__list {
        flex-direction: row;
        gap: 16px;
        align-items: center;
    }

    .app-header__item a {
        font-size: 16px;
    }

    .app-header__item a:hover {
        color: var(--accent-color, #FF6400);
    }

    .app-header__item a:focus {
        color: inherit;
    }

    .app-header__logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        pointer-events: auto;
    }

    .app-header__cart {
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .app-header__menu,
    .app-header__close-menu {
        display: none !important;
    }

    .app-footer__contacts-item a:focus, .app-footer__item a:focus {
        color: inherit !important;
    }

    .app-footer__contacts-item a:hover, .app-footer__item a:hover {
        color: var(--accent-color, #FF6400) !important;
    }

    .app-footer {
        margin-top: 85px;
    }

    .error-404__title {
        font-size: 96px;
        line-height: 153px;
    }

    .error-404__image {
        height: 547px;
    }

    .error-404__back-home {
        font-size: 36px;
        line-height: 20px;
        width: 370px;
        height: 52px;
    }

    .app-header__overlay {
        display: none !important;
    }
}