@import url('https://fonts.googleapis.com/css2?family=Carrois+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Предотвращает горизонтальный скроллинг */
}

.cyrillic {
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight:400;
}
.cart-header {
    display:none;
}
.content-wrapper {
    min-height: calc(100vh - 125px); /* Высота экрана минус высота хедера (65px) и футера (60px) */
    padding-bottom: 60px; /* Отступ снизу для футера */
}

:root {
    --box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.363);
}
:root {
    --top-shadow: 0px -1px 1px rgba(0, 0, 0, 0.363);
}

@font-face {
    font-family: "dark";
    src: url(../fonts/Blackblade.ttf);
}
@font-face {
    font-family: 'Courier-Bold';
    src: url('../fonts/Courier-Bold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    unicode-range: U+0400-04FF; /* Диапазон кириллицы */
}
@font-face {
    font-family: "cbolditalic";
    src: url(../fonts/CourierPrime-BoldItalic.ttf);
}
@font-face {
    font-family: "cbold";
    src: url(../fonts/CourierPrime-Bold.ttf);
}
@font-face {
    font-family: "citalic";
    src: url(../fonts/CourierPrime-Italic.ttf);
}
@font-face {
    font-family: "cregular";
    src: url(../fonts/CourierPrime-Regular.ttf);
}

span {
    font-family: "cregular", "Dark Wizards", serif;
    font-size: 48px;
    line-height: 0;
}

body {
    font-family: "cregular", sans-serif;
    font-size: 18px;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 48px;
    /* font-weight: 600; */
}

h3 {
    font-size: 36px;
}

h5 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

form select {
    background-color: #fff;
    border: none;
}

form select:focus {
    background-color: #fff;
    border: 1px solid #000;
}

input:focus {
    box-shadow: none;
}

.window {
    width: 1210px;
    height: 650px;
    margin-top: 100px;
    border: 1px solid #00000036;
    border-radius: 10px;
}

.window-login {
    width: 1000px;
    height: 600px;
    margin-top: 100px;
    border: 1px solid #00000036;
    border-radius: 10px;
}

.windowp {
    width: 1210px;
    height: 650px;
    margin-top: 100px;
    border: 1px solid #00000036;
    border-radius: 10px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px); /* Размытие фона под хедером */
    -webkit-backdrop-filter: blur(10px); /* Для Safari */
    height: 65px;
}

.header-list {
    text-transform: uppercase;
}
.socialnetphonee {
    display:none;
    margin-top:20px;
    margin-bottom:-20px;
}
.footer-list {
    text-transform: uppercase;
}

.heavy-logo {
    width:65px;
    position: fixed;
    top: 0.5%;
    left: 50%;
    transform:translateX(-50%)
}

.header-container {
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: space-between;
    padding: 0 15px;
    align-items: center;
}
.footer-container {
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: space-between;
    padding: 0 15px;
    align-items: center;
}

.container {
    box-sizing: border-box;
    max-width: 1600px;
    margin: 0 auto;
}

.home {
    margin-top: 0 auto;
    align-items: center;
}

.home-title {
    margin-top: 210px;
    margin-bottom: 50px;
}

.home-cards {
    width: 650px;
    overflow-x: hidden;
}

.home-card {
    width: 250px;
    height: 350px;
    border-radius: 5px;
    transition: all 0.5s ease;
    background-color: #fff;
}
.all-cardss {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.home-card:hover {
    border: 1px solid #000000;
}

.title-card {
    max-width: 185px;
    min-height: 70px;
}

.card-img {
    width: 195px;
    height: 250px;
}

.price {
    font-size: 20px;
    font-weight: 700;
    margin-top: -10px;
    margin-bottom: -10px;
}

.home-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 50px;
    border: 1px solid #0000004b;
    border-radius: 5px;
    transition: all .4s ease;
    z-index: 2;
}

.home-btn:hover {
    border: 1px solid #000000;
}

.dada {
    position: absolute;
    z-index: -1;
    opacity: 0.1;
    top: -16%;
}

.frame1 {
    position: absolute;
    right: -0.5%;
    bottom: 60%;
    z-index: -1;
}

.frame2 {
    position: absolute;
    left: -0.5%;
    bottom: 60%;
    z-index: -1;
}

.frame3 {
    position: absolute;
    left: -0.3%;
    top: 73.4%;
    z-index: -1;
}

.frame4 {
    position: absolute;
    right: -0.3%;
    top: 73.4%;
    z-index: -1;
}

.logogothic {
    position: absolute;
    top: 6%;
    left: 40%;
    width: 400px;
    height: 300px;
}

.subtitlee {
    position: absolute;
    bottom: 0%;
    left: 44.5%;
}

.detail-image {
    width: 550px;
    height: 650px;
}

.detail-product {
    margin-top: 80px;
}

.detail-description {
    margin-left: 90px;
    margin-top: 40px;
}

.detail-description p {
    margin-top: 30px;
    max-width: 700px;
}

.detail-description h2 span {
    font-size: 56px;
}

.card-discount {
    margin-top: -10px;
    font-weight: 600;
}

.card-discount .price {
    margin-top: -1px;
}

.line {
    opacity: 0.7;
    text-decoration: line-through;
    font-weight: 300;
}

.cart-btn {
    width: 220px;
    height: 50px;
    border: 1px solid #000;
    border-radius: 5px;
    margin-top: 20px;
}

.main {
    margin-left: 150px;
}

.main-title {
    margin-left: 10px;
    font-size: 36px;
    margin-bottom: 10px;
    margin-top: 65px;
}

.items {
    display: grid;
    grid-template-columns: repeat(auto-fill, 270px);
    width: 100%;
    max-width: 1300px;
    justify-content: center;
    justify-items: center;
    column-gap: 0px;
    row-gap: 10px;
    margin: 0 auto;
}

.sidebar {
    margin-top: 70px;
}

.llist {
    margin-left: -80px;
}

.sidebar ul li {
    font-size: 20px;
    width: 165px;
    height: 35px;
    margin-bottom: 5px;
}

.sidebar ul li a {
    margin-left: 15px;
    width: 165px;
}

.sidebar ul {
    margin-top: 20px;
}

.selected {
    border: 1px solid #000;
    border-radius: 5px;
}

.grob {
    width: 25px;
    height: 25px;
    margin-bottom: 5px;
    margin-right: 10px;
}

.grobb {
    width: 25px;
    height: 25px;
    margin-right: -10px;
    margin-left: 20px;
}
.grobb_phone {
    width:25px;
}
.grobb_phonee {
    margin:5px;
    width:25px;
    display:none;
}
.cart-quantity {
    position: absolute;
    border-radius: 20px;
    width: 20px;
    height: 20px;
    font-size: 13px;
    border: 1px solid #000;
    text-align: center;
    margin-left: 20px;
    margin-top: -40px;
}

.pagination {
    display: flex;
    position: absolute;
    bottom: 0%;
    left: 46%;
    gap: 12px;
    justify-content: center;
}

.disabled {
    opacity: 0.2;
}

.cart {
    flex-direction: column;
}

.cart-title {
    margin-top: 60px;
    margin-bottom: 30px;
}

.cart-cards {
    max-height: 52vh; 
    max-width: 700px;
    overflow-y: auto;
}

.cart-cardsrem {
    max-height: 52vh; 
    width: 600px;
    overflow-y: auto;
}

.cart-cardsproc {
    max-height: 40vh; 
    width: 900px;
    overflow-y: auto;
    overflow-x: hidden;
}

.cart-card {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 650px;
    height: 180px;
    border: 1px solid #00000042;
    border-radius: 10px;
    margin-bottom: 10px;
}

.cart-card-img img {
    width: 125px;
    height: 125px;
    border: 1px solid #00000086;
}

.cart-card-info {

}

.cart-card-name {
    width: 180px;
}

.remove-btn {
    font-family: 'Courier-Bold', monospace;
    background-color: #fff;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 30px;
    border: 1px solid #00000034;
    border-radius: 5px;
    font-size: 12px;
    transition: all 0.5s ease;
}

.remove-btn:hover {
    border: 1px solid #000000;
}

.cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 50px;
    border: 1px solid #00000034;
    border-radius: 5px;
    margin: 0;
    transition: all 0.5s ease;
}

.cart-btn:hover {
    border: 1px solid #000000;
}

.cart-card-q {
    font-family: 'Courier-Bold', monospace;
}

.cart-price {
    font-size: 16px;
}

.opac {
    opacity: 0.5;
    margin: 0;
}

.cart-total-price-ots {
    font-size: 18px;
    margin-bottom: 25px;
}

.cart-total-price {
    margin: 0;
}

.total {
    font-family: 'Courier-Bold', monospace;
    margin: 50px 0 25px 0;
}

.cart-form {
    margin-top: 25px;
}

.cart-buttons {
    font-size: 14px;
    font-family: 'Courier-Bold', monospace;
}

.add-to-cart-btn {
    font-family: 'Courier-Bold', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 50px;
    border: 1px solid #00000034;
    border-radius: 5px;
    margin: 0;
    transition: all 0.5s ease;
    background-color: #fff;
    margin-top: 25px;
    font-size:14px;
    color:#000;
}

.add-to-cart-btn:hover {
    border: 1px solid #000000;
}

.login {
    width: 400px;
    height: 600px;
    margin-top: 100px;
    border: 1px solid #00000036;
    border-radius: 10px;
}

.login-reg {
    width: 600px;
    height: 600px;
    margin-top: 100px;
    border: 1px solid #00000036;
    border-radius: 10px;
}

.login-title h2 {
    margin-bottom: 30px;
    margin-left: 20px;
    margin-top: 20px;
}

.form-style {
    width: 250px;
    margin-left: 40px;
}
.form-label {
    font-family: 'Courier-Bold', monospace;
}
.login-btn {
    display: flex;
    justify-content: center;
    width: 100px;
    height: 50px;
    align-items: center;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #00000034;
    margin-top: 20px;
    transition: all 0.5s ease;
    font-size:14px;
    color:#000;
}

.login-btn:hover {
    border: 1px solid #000000;
}

.reset-pass {
    margin-left: 40px;
    margin-top: 200px;
}

.form-stylereg {
    width: 250px;
    margin-left: 20px;
}

.form-styleprofile {
    width: 250px;
}

.profile {
    width: 570px;
    height: 870px;
    margin-top: 100px;
    border: 1px solid #00000036;
    border-radius: 10px;
    background-image: url(../img/logo2.png);
    background-repeat: round;
    background-position-x: 80px;
}

.box2 {
    margin-top: 212px;
    margin-left: 20px;
}

.box22 {
    margin-left: 20px;
}

.profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 50px;
    border: 1px solid #00000034;
    border-radius: 5px;
    margin: 0;
    transition: all 0.5s ease;
    background-color: #fff;
    color:#000;
}

.profile-btn:hover {
    border: 1px solid #000000;
}

.checkout {
    margin-left: 20px;
    margin-top: 125px;
    width: 600px;
}

.checkk {
    margin-top: 30px;
    margin-left: 150px;
    width: 200px;
    height: 80px;
}

.order-info {
    margin-left: 40px;
}

.forcreate {
    display:flex;
}

.order-form input {
    border-radius: 5px;
    width: 250px;
    height: 38px;
    background-color: #fff;
    box-shadow: none;
    border: 1px solid #00000046;
}

.order-form {
    display: flex;
    flex-direction: column;
}
.cart-discount {
    flex-direction: column-reverse;
}
.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 50px;
    border: 1px solid #00000034;
    border-radius: 5px;
    margin: 0;
    transition: all 0.5s ease;
    background-color: #fff;
}

.order-btn:hover {
    border: 1px solid #000000;
}

.paynow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 50px;
    border: 1px solid #00000034;
    border-radius: 5px;
    transition: all 0.5s ease;
    background-color: #fff;
}

.paynow:hover {
    border: 1px solid #000000;
}

.pay-title {
    margin-top: 20px;
    margin-left: 20px;
}

.pay-card {
    width: 700px;
    margin-top: 40px;
    margin-left: 20px;
}

.payform {
    position: fixed;
    top: 75%;
}

.castle {
    position: absolute;
    width: 450px;
    height: 650px;
    left: 37%;
    top: 15%;
}

.castlep {
    position: absolute;
    width: 450px;
    height: 650px;
    left: 48%;
    top: 15%;
}

.logopay {
    position: absolute;
    width: 500px;
    height: 600px;
    left: 45%;
    top:15%;
}

.vl {
    position: absolute;
    width: 1px;
    height: 500px;
    background-color: #000;
    left: 32%;
    top: 25%;   
    opacity: 0.2;
}

.orderss {
    margin-left: 70px;
    width: 520px;
    max-height: 52vh; 
    overflow-y: auto;
}

.order-cart {
    width: 500px;
    border: 1px solid #00000034;
    border-radius: 5px;
    background-color: #fff;
    margin: 0;
    transition: all 0.5s ease;
    margin-bottom: 10px;
}

.order-cart:hover {
    border: 1px solid #000000;
}

.order-title {
    margin-top: 10px;
    margin-left: 10px;
}

.order-desc {
    margin-top: 5px;
    margin-left: 10px;
}

.orders h2 {
    font-family: 'Courier-Bold', monospace;
    margin-left: 60px;
}

.dadad {
    font-family: "Carrois Gothic", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.orders-carts {
    margin-left: 10px;
    margin-top: 10px;
}

.image-nav {
    position: absolute;
    top: 50%;
    left: -70px;
    width: 100%;
    text-align: center;
}

.prev-btn, .next-btn {
    color: #000;
    background-color: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.next-btn:hover {
    background-color: #00000013;
}

.prev-btn:hover {
    background-color: #00000013;
}

.prev-btn {
    position: absolute;
    left: 190px;
}

.next-btn {
    position: absolute;
    left: 41%;
}

.notorders {
    margin-left: 70px;
    margin-top: 20px;
}

.mainvl {
    position: absolute;
    height: 650px;
    width: 1px;
    background-color: #000;
    opacity: 0.2;
    left: 18%;
    top: 23%;
}

.regform button {
    margin-left: 20px;
    margin-top: 30px;
}
.orders_h1 {
    font-family: 'Courier-Bold', monospace;
    font-size:26px;
}
.oformit {
    font-family: 'Courier-Bold', monospace;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.footer-main {
  width: 100%;
  background: #fff;
  padding: 40px 0 20px 0;
  border-top: 1px solid #eee;
  font-family: 'Montserrat', Arial, sans-serif;
}

.footer-container-main {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  min-width: 160px;
  flex: 1 1 160px;
}

.footer-title {
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #888;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  gap: 10px;
}

.footer-social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.footer-social-icons img {
  width: 28px;
  height: 28px;
  filter: grayscale(1);
  transition: filter 0.2s;
}

.footer-social-icons img:hover {
  filter: grayscale(0);
}

.footer-logo img {
  width: 200px;
  margin: 10px 0;
}

.footer-copy {
  font-size: 13px;
  color: #222;
  margin-top: 5px;
  text-align: center;
  font-weight: 600;
}

/* Медиа-запросы от большего к меньшему */
@media (min-width: 1441px) and (max-width: 1740px) {
    .main {
        margin-left: 70px;
    }
    .llist {
        margin-left: 20px;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .prev-btn {
        display: none;
    }
    .home-cardss {
        flex-wrap: wrap;
        justify-content: center;
    }
    .items {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .home-cardss {
        margin-bottom: 50px;
    }
    .llist {
        margin: 0;
        overflow-x: hidden;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .items {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
    .home-card {
        width: 250px;
        height: 398px;
    }
    .card-img {
        width: 220px;
        height: 280px;
    }
    .title-card {
        font-size: 20px;
    }
    .price, .line {
        font-size: 20px;
    }
    .main {
        width: 800px;
        margin-left: 0px;
    }
    .mainvl {
        display: none;
    }
    .sidebar {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .grobb {
        display: none;
    }
    .pagination {
        margin-top: 30px;
        position: unset;
    }
}

@media (min-width: 770px) {
    .footer {
        display: none;
    }
    .cart-quantity {
        margin-top: -10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .image-nav {
        display: none;
    }
    .home-cardss {
        flex-wrap: wrap;
        justify-content: center;
    }
    .grobb {
        display: none;
    }
    .detail-product {
        flex-direction: column;
        align-items: center;
    }
    .items {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .llist {
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .items {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        margin-bottom: 30px;
    }
    .home-card {
        width: 230px;
        height: 360px;
    }
    .card-img {
        min-height: 220px;
        max-height: 220px;
    }
    .title-card {
        font-size: 18px;
    }
    .price, .line {
        font-size: 18px;
    }
    .mainvl {
        display: none;
    }
    .main {
        width: 500px;
        margin: 0;
    }
    .sidebar {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
    .pagination {
        position: unset;
    }
    .cart-discount {
        flex-direction: column-reverse;
        margin-top: -10px;
    }
    .price {
        margin: 0px;
    }
}

@media (max-width: 768px) {
    .orders_h1 {
        font-size:20px;
    }
    .cart-header {
        display:flex;
        margin-top:15px;
        margin-right:25px
    }
    .grob {
        width: 30px !important;
        height: 30px !important;
    }
    .orders_username {
        font-family: 'Courier-Bold', monospace;
        font-size:20px;
        margin-bottom:70px;
    }
    .login {
        border: none;
    }
    .socialnetphone {
        display:none;
    }
    .socialnetphonee {
        display:flex;
    }
    .grobb_phonee {
        display:flex;   
    }
    .login-reg {
        width: auto;
        height: auto;
        border: none;
        margin-bottom: 50px;
    }
    .windowp {
        width: auto;
        height: auto;
        border: none;
        flex-direction: column;
        margin-top: 50px;
        padding: unset !important;
    }
    .orders h2 {
        margin-bottom: 50px !important;
        margin-top: 50px;
        margin-left: 0px;
    }
    .box2 {
        margin: 0;
        padding: 0;
    }
    .btns {
        margin-top: 0;
    }
    .orders {
        display: flex;
        flex-direction: column;
        text-align: left;
    }
    .orderss {
        margin: 0;
        width: auto;
        max-height: auto !important;
        overflow-y: auto;
    }
    .box1 {
        display: flex;
        flex-direction: column;
    }
    .cartochka {
        flex-direction: column;
    }
    .order-cart {
        width: auto;
    }
    .forcreate {
        flex-direction: column;
    }
    .profile {
        width: auto;
    }
    .checkout {
        width: auto;
    }
    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        display: flex;
        height: 50px;
        align-items: center;
        justify-content: center;
    }
    .footer-container {
        margin-top:20px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .content-wrapper {
        min-height: calc(100vh - 125px); /* Корректируем для мобильных устройств */
        padding-bottom: 60px;
    }
    .header-nav {
        display: none;
    }
    .prof {
        display: none;
    }
    .detail-img {
        display: flex;
    }
    .image-nav {
        display: none;
    }
    .detail-image {
        width: 350px;
        height: 400px;
    }
    .qform {
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        margin-bottom: 20px;
    }
    body {
        font-size: 16px;
        overflow-x: hidden;
    }
    .header-container {
        align-items: center;
        justify-content: right;
    }
    .footer-container {
        align-items: center;
    }
    .header-profile {
        margin-left: 65px;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    .header-list {
        flex-direction: column;
        gap: 10px;
    }
    .footer-list {
        justify-content: center;
        gap: 10px;
    }
    .home-cardss {
        margin-bottom: 50px;
        flex-direction: column;
        align-items: center;
    }
    .detail-product {
        flex-direction: column;
        align-items: center;
    }
    .detail-description {
        margin-left: 0;
        text-align: center;
    }
    .sidebar {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .main {
        max-width: 414px;
        display: flex;
        margin-left: 0;
        flex-direction: column;
    }
    .items {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        margin-bottom: 15px;
    }
    .home {
        font-size: 30px;
    }
    .grobb {
        display: none;
    }
    .header {
        height: 65px;
    }
    .container {
        font-size: 16px;
    }
    .home-btn {
        font-size: 16px;
    }
    .rec-title span {
        font-size: 20px;
    }
    .price {
        font-size: 16px;
    }
    .cart-discount {
        font-size: 16px;
        flex-direction: column-reverse;
    }
    .home-title {
        margin-top: 50px;
    }
    .mainvl {
        display: none;
    }
    .pagination {
        position: unset;
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        margin-bottom: 20px;
    }
    .llist {
        margin: 0 auto;
        width: auto;
        flex-direction: column;
        align-items: center;
        overflow-x: hidden;
    }
    .main-title {
        font-size: 28px;
        text-align: center;
    }
    .items {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    .home-card {
        width: 180px;
    }
    .card-img {
        width: 180px;
        height: 200px;
    }
    .title-card {
        font-size: 16px;
        min-height: 60px;
    }
    .price, .line {
        font-size: 16px;
    }
    .pagination {
        gap: 10px;
    }
    .pagination li a {
        font-size: 16px;
        padding: 8px 12px;
    }
}

@media (max-width: 900px) {
  .footer-container-main {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .footer-col {
    width: 100%;
    min-width: unset;
    align-items: center;
    text-align: center;
  }
  .footer-title {
    font-size: 18px;
  }
  .footer-logo img {
    width: 200px;
  }
}

@media (max-width: 600px) {
  .footer-container-main {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .footer-col {
    width: 100%;
    min-width: unset;
    align-items: center;
    text-align: center;
  }
  .footer-title {
    font-size: 18px;
  }
  .footer-logo img {
    width: 45px;
  }
}

/*@media (max-width: 470px) {*/
/*    .header-profile {*/
/*        margin-left: 80px;*/
/*    }*/
/*}*/

/*@media (max-width: 450px) {*/
/*    .header-profile {*/
/*        margin-left: 70px;*/
/*    }*/
/*}*/

/*@media (max-width: 420px) {*/
/*    .header-profile {*/
/*        margin-left: 60px;*/
/*    }*/
/*}*/

@media (max-width: 414px) {
    .detail-img {
        display: flex;
    }
    .image-nav {
        display: none;
    }
    .detail-image {
        width: 350px;
        height: 400px;
    }
    .qform {
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        margin-bottom: 20px;
    }
    .login {
        overflow-x: hidden;
        width: 335px;
    }
    .reset-pass {
        margin-left: 25px;
    }
    .main {
        width: 300px;
    }
    .header-profile {
        display: flex;
        flex-direction: column-reverse;
    }
    .llist {
        flex-direction: column;
        align-items: center;
        overflow-x: hidden;
    }
    .main-title {
        font-size: 24px;
        text-align: center;
    }
    .items {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    .home-card {
        width: 140px;
        height: auto;
    }
    .card-img {
        width: 120px;
        height: 160px;
    }
    .title-card {
        font-size: 14px;
    }
    .price, .line {
        font-size: 14px;
    }
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    .pagination li a {
        font-size: 14px;
        padding: 5px 10px;
    }
    .footer {
        display: block;
    }
}

/*@media (max-width: 400px) {*/
/*    .header-profile {*/
/*        margin-left: 50px;*/
/*    }*/
/*}*/

/*@media (max-width: 395px) {*/
/*    .header-profile {*/
/*        margin-left: 45px;*/
/*    }*/
/*}*/
/*@media (max-width: 390px) {*/
/*    .header-profile {*/
/*        margin-left: 45px;*/
/*    }*/
/*}*/

/*@media (max-width: 380px) {*/
/*    .header-profile {*/
/*        margin-left: 40px;*/
/*    }*/
/*}*/

/*@media (max-width: 370px) {*/
/*    .header-profile {*/
/*        margin-left: 35px;*/
/*    }*/
/*}*/

/*@media (max-width: 360px) {*/
/*    .header-profile {*/
/*        margin-left: 30px;*/
/*    }*/
/*}*/

/*@media (max-width: 350px) {*/
/*    .header-profile {*/
/*        margin-left: 25px;*/
/*    }*/
/*}*/

/* Бургер-меню стили */
.burger-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: absolute;
    left: 15px;
    top: 20px;
}

.burger-menu-btn span {
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu-btn.active {
    opacity: 0;
    visibility: hidden;
}

/* Бургер-меню */
.burger-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.burger-menu.active {
    left: 0;
}

/* Заголовок бургер-меню */
.burger-menu-header {
    display: flex;
    justify-content: flex-start;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Кнопка закрытия */
.burger-close-btn {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.burger-close-btn span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-close-btn span:first-child {
    transform: rotate(45deg);
}

.burger-close-btn span:last-child {
    transform: rotate(-45deg);
}

.burger-close-btn:hover span {
    background: #666;
}

/* Навигация бургер-меню */
.burger-nav {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 20px 20px 40px;
}

.burger-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.burger-nav-list li {
    margin: 30px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.burger-menu.active .burger-nav-list li {
    opacity: 1;
    transform: translateY(0);
}

.burger-menu.active .burger-nav-list li:nth-child(1) {
    transition-delay: 0.1s;
}

.burger-menu.active .burger-nav-list li:nth-child(2) {
    transition-delay: 0.2s;
}

.burger-menu.active .burger-nav-list li:nth-child(3) {
    transition-delay: 0.3s;
}

.burger-nav-link {
    font-family: "cregular", sans-serif;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.burger-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.burger-nav-link:hover {
    color: #666;
}

.burger-nav-link:hover::after {
    width: 100%;
}

/* Оверлей */
.burger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.burger-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Скрываем обычную навигацию на всех устройствах */
.header-nav {
    display: none;
}

/* Скрываем боковую панель на всех устройствах */
.sidebar {
    display: none;
}

/* Стили для корзины в хедере */
.header-cart {
    position: absolute;
    right: 15px;
    top: 20px;
    z-index: 1001;
}

.header-cart .grob {
    width: 25px;
    height: 25px;
    transition: all 0.3s ease;
}

.header-cart:hover .grob {
    transform: scale(1.1);
}

/* Адаптивность для бургер-меню */
@media (max-width: 768px) {
    .burger-nav-link {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .burger-nav-link {
        font-size: 24px;
    }
    
    .burger-menu-btn {
        width: 25px;
        height: 20px;
        margin-left: 10px;
    }
    
    .burger-menu-btn span {
        height: 2px;
    }
}

/* Баннер-бегущая строка */
.banner-container {
    width: 120vw;
    height: 600px;
    overflow: hidden;
    position: relative;
    background: #000;
    margin: 0;
    margin-left: calc(-60vw + 50%);
}

.banner-scroll {
    display: flex;
    animation: scroll-left 30s linear infinite;
    height: 100%;
    align-items: center;
}

.banner-item {
    flex-shrink: 0;
    height: 100%;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.banner-image {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: cover;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Текстовая бегущая строка */
.scrolling-text-container {
    width: 120vw;
    height: 50px;
    overflow: hidden;
    position: relative;
    background: #000;
    margin-bottom: 30px;
}

.scrolling-text {
    display: flex;
    animation: scroll-text-left 15s linear infinite;
    height: 100%;
    align-items: center;
    white-space: nowrap;
}

.scrolling-text-item {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 0 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scroll-text-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Адаптивность для баннера */
@media (max-width: 768px) {
    .banner-container {
        height: 500px;
        width: 100vw;
        margin-left: 0;
    }
    
    .scrolling-text-container {
        height: 40px;
    }
    
    .scrolling-text-item {
        font-size: 16px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .banner-container {
        height: 500px;
    }
    
    .scrolling-text-container {
        height: 35px;
    }
    
    .scrolling-text-item {
        font-size: 14px;
        padding: 0 10px;
    }
}