@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');
* { padding: 0px; margin: 0px; border: 0px; box-sizing: border-box;}
:root {
    --lime: #28DEA6;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb { 
    background-color:  var(--lime);
}

/* ГЛАВНЫЕ ПРАВКИ ДЛЯ ЛИПКОГО ФУТЕРА */
html, body {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}
main {
    flex: 1 0 auto;
}

/* остальной твой CSS оставляем без изменений: */
html {
    background: #14161A;
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
body {
    line-height: 1.2;
    color: white;
    font-family: "Onest";
    font-size: 16px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
input, button, textarea {
    font-family: "Onest";
    font-size: inherit;
    outline: none;
    border: 1px solid transparent;
}
button {
    cursor: pointer;
    color: inherit;
    background-color: inherit;
}
input::-webkit-search-decoration, input::-webkit-search-cancel-button, input::-webkit-search-results-button, input::-webkit-search-results-decoration {
    display: none;
}
a {
    color: inherit;
}
a:link, a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
ul li {
    list-style: none;
}
img {
    vertical-align: top;
    max-width: 100%;
    height: auto;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: inherit;
    font-size: inherit;
}
h1, h2 {
    font-size: 1.3rem;
}
[class*=__container], .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9375rem;
    box-sizing: border-box;
}
[class*=__box], .box {
    width: 100%;
    max-width: 910px;
    margin: 0 auto;
    padding: 0.9375rem;
    box-sizing: border-box;
}
/* Хедер */
.header {
    background-color: #0E1012;
}
.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.logo {
    display: flex;
    column-gap: 1rem;
    align-items: center;
    font-size: 36px;
    font-weight: 600;
}
.header-menu ul {
    display: flex;
    column-gap: 1rem;
    align-items: center;
    font-size: 16px;
}
.header-menu ul li{
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}
.header-menu ul a:last-child {
    background: linear-gradient(180deg, #05C68B 0%, #59FFCC 100%);
    border-radius: 15px;
    padding: 0.5rem 1rem;
    color: #0E1012;
}
/* live лента */
.live-buys {
    background: rgba(217, 217, 217, 0.03);
}
.live-buys__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 3rem;
}
.live-buys-title {
    font-size: 20px;
    font-weight: 600;
}
.live-buys-list {
   display: flex;
   width: 100%;
   column-gap: 1rem;
}
.live-buy-item {
    padding: 1rem;
    border-radius: 15px;
    background-color: #0E1012;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    width: calc(100% / 5);
}
.live-item-context p:last-child {
    color: var(--lime);
}
/* */
.mainpage-text {
    text-align: center;
}
.mainpage-text p:nth-child(1) {
    font-size: 32px;
    font-weight: 600;
}
.mainpage-text p:nth-child(2) {
    font-size: 36px;
    font-weight: 600;
    color: var(--lime);
}
.mainpage-text p:nth-child(3) {
    font-size: 16px;
}
/* */
.products {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: space-between;
    gap: 1rem;
    
}
.product {
    padding: 1.5rem 0;
    background-color: #0E1012;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1.5rem;
}
.product-title {
    text-align: center;
}
.product-title p:first-child {
    font-size: 20px;
    font-weight: 600;
}
.product-title p:last-child {
    font-size: 16px;
    color: var(--lime);
}
.price {
    display: flex;
    column-gap: 0.5rem;
}
.price-val {
    font-size: 20px;
    font-weight: 600;
}
.price-discount {
    background-color: #CA4A66;
    color: #0E1012;
    font-size: 16px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 0.15rem 0.3rem;
}
.product-buy {
    background-color: #14161A;
    border-radius: 15px;
    text-align: center;
    width: 80%;
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
}
/* faq */
.faq-title {
    display: flex;
    column-gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
}
.faq-title > span {
    font-weight: 600;
    font-size: 32px;
}
.faq {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}
.faq details {
    background: #181A1D;
    border-radius: 3px;
    margin: 0;
    padding: 0;
    transition: box-shadow 0.2s;
    box-shadow: none;
    border: none;
    position: relative;
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    padding: 1.2rem 1.5rem;
    color: #fff;
    outline: none;
    background: none;
    transition: background 0.15s;
    user-select: none;
    border-radius: 3px;
    gap: 1rem;
}

.faq summary::after {
    content: "+";
    font-size: 24px;
    color: #757575;
    transition: 0.15s;
    font-weight: 400;
    margin-left: 1rem;
}

.faq details[open] summary::after {
    content: "-";
    color: var(--lime);
}

.faq details > *:not(summary) {
    padding: 1.2rem 1.5rem;
    color: #aaa;
    font-size: 16px;
    animation: faqFade 0.8s;
}

@keyframes faqFade {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: none;}
}
/* */

/*Футер */
.footer {
    background: #0E1012;
    margin-top: 4rem;
}
.footer__container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.footer-first-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-contacts {
    display: flex;
    gap: 1.2rem;
}
.footer-contacts li {
    background: rgba(0,0,0,0.3); /* Тёмно-синий круглый фон */
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.footer-second-row {
    margin-top: 2.5rem;
}

.footer-menu {
    display: flex;
    justify-content: flex-start;
    gap: 3rem; /* расстояние между колонками, подбери под свой макет */
    font-size: 16px;
}

.footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem; /* расстояние между пунктами */
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 210px; /* ширина колонки, подбери под свой макет */
}

.footer-menu li {
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.93;
    cursor: pointer;
    transition: color 0.2s;
}

.footer-menu li:hover {
    color: var(--lime);
    text-decoration: underline;
}
.footer-bottom {  
    background: rgba(217, 217, 217, 0.03);
    border-bottom: 2px solid var(--lime);
}
.footer-bottom__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.7rem 1rem 0.4rem 1rem;
}
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.footer-bottom-copyright {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}
.footer-bottom-support {
    font-size: 0.95rem;
    color: #b2c4dc;
}

.footer-bottom-payments img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}
.footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    color: #b2c4dc;
    font-size: 0.97rem;
    line-height: 1.3;
}
.footer-bottom img {
    width: 220px;
}
/* */
/* order */
.order-product {
    padding: 1.5rem 0;
    background-color: #0E1012;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1.5rem;
    width: 100%;
}
.order__container {
    display: grid;
    grid-template-columns: 30% 70%;
    column-gap: 1.5rem;
}
.order-info {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background-color: #0E1012;
}
.order-form {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}
.order-form input {
    padding: 1rem 2rem;
    background-color: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 2px solid var(--lime);
    color: white;
}
#order-confirm {
    background: linear-gradient(180deg, #05C68B 0%, #59FFCC 100%);
    border-radius: 15px;
    padding: 1rem;
    color: #0E1012;
}
/* */
@media(max-width: 1165px) {
    .live-buys-list > .live-buy-item:nth-child(5) {
        display: none;
    }
    .live-buy-item {
        width: calc(100% / 4);
    }
}
@media(max-width: 960px) {
    .live-buys__container {
        column-gap: 1rem;
    }
    .live-buys-list > .live-buy-item:nth-child(4) {
        display: none;
    }
    .live-buy-item {
        width: calc(100% / 3);
        font-size: 14px;
    }
    .live-buys-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding-bottom: 8px;
  }
  .live-buy-item {
    min-width: 160px;
    max-width: 180px;
    width: 180px;
    flex: 0 0 auto;
  }
    /* Скрыть скроллбар */
    .live-buys-list {
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .live-buys-list::-webkit-scrollbar {
        display: none;
    }
    .live-buys-title {
        font-size: 16px;
        font-weight: 500;
    }
    .products {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .faq-title > span {
        font-size: 24px;
    }
    .mainpage-text p:nth-child(1) {
    font-size: 24px;
    font-weight: 600;
    }
    .mainpage-text p:nth-child(2) {
        font-size: 26px;
        font-weight: 600;
        color: var(--lime);
    }
    .mainpage-text p:nth-child(3) {
        font-size: 14px;
    }
}
@media(max-width: 760px) {
    .header-menu ul a:not(:last-child) {
        display: none;
    } 
}
@media(max-width: 700px) {
    .products {
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width: 600px) {
    .footer-menu {
        flex-direction: column;
    }
}