/* Общие стили и сбросы */
body {
    background-color: #1D113A;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

hr {
    border: none;              /* убираем стандартную границу */
    height: 1px;               /* толщина линии */
    margin: 0;            /* отступы сверху и снизу */
}

/* Header */
.header {
    margin-top: 70px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    padding: 0 250px;
    align-items: center;
}

.logo {
    height: auto;
}

.login-btn {
    display: flex;
    padding: 10px 50px;
    border: 1px solid #ffffff;
    border-left-color: #fff8f8;
    border-radius: 350px;
}

.login-btn a {
    text-decoration: none;
    font-size: 23px;
    color: #ffffff;
}

/* Main Content */
.main-content {
    padding-left: 250px;
    position: relative;
}

/* Hero Section */
.hero-section {
    position: relative;
}

.hero-text-wrapper {
    max-width: 1000px;
}

.hero-title {
    color: #ffffff;
    font-size: 65px;
    font-weight: 900;
    padding-top: 150px;
    margin: 0;
}

.hero-subtitle {
    color: #8A7DAB;
    font-size: 25px;
    font-weight: 400;
    margin: 0;
}

.hero-image {
    position: absolute;
    top: -100px;
    right: 0;
    z-index: -10;
}

.instruction-btn {
    display: inline-flex;
    padding: 20px 150px;
    background: linear-gradient(90deg, rgb(49, 33, 96) 0%, rgb(121, 0, 213) 42%, rgb(49, 33, 96) 100%);
    border-radius: 15px;
    margin-top: 250px;
    box-sizing: border-box;
}

.instruction-btn a {
    font-size: 35px;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
}

/* Illustration */
.illustration {
    display: block;
    margin-top: 150px;
}

/* Offers Section */
.offers-section {
    margin-top: 150px;
    max-width: 1500px;
}

.offers-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.offers-title-group .section-title {
    font-size: 35px;
    color: #ffffff;
    margin: 0;
    z-index: 10;
}

.offers-title-group .section-subtitle {
    color: #CECECE;
    font-size: 20px;
    margin: 5px 0 0 0;
}

.online-sellers {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-icon {
    width: 63px;
    height: 30px;
    min-height: 30px;
}

.online-text {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    margin: 0;
}

/* Filters */
.filters {
    display: flex;
    gap: 50px;
    margin-top: 30px;
}

.search-input {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 300px;
}

.filter-item {
    display: flex;
    gap: 100px;
    padding: 15px 30px;
    background-color: #efefef;
    align-items: center;
    border-radius: 5px;
}

.filter-label {
    color: #000000;
    font-size: 20px;
}

.filter-value {
    color: #626262;
    font-size: 20px;
}

.dropdown-icon {
    width: 32px;
    height: 20px;
}

/* Sellers Table */
.sellers-table .table-header {
    max-width: 1450px;
    background: linear-gradient(0deg, rgb(124, 124, 124) 0%, rgb(255, 255, 255) 100%);
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    display: flex;
    padding: 50px 0;
    justify-content: space-evenly;
    color: #000000;
    font-size: 20px;
    font-weight: 700;
}

.table-row {
    display: flex;
    justify-content: space-evenly;
    font-size: 20px;
    font-weight: 700;
    background-color: #ffffff;
    color: #000000;
    padding: 30px 0;
    max-width: 1450px;
}

.shop {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    align-items: center;
    justify-content: center;

}



.sellers-table {
    max-width: 1450px;
    /* margin: 0 auto; */
    margin-top: 50px;
}

.sellers-table .table-header,
.table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr; /* 5 ровных колонок, первая чуть шире */
    align-items: center;
    text-align: center;
}

.sellers-table .table-header {
    background: linear-gradient(0deg, rgb(124, 124, 124) 0%, rgb(255, 255, 255) 100%);
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 700;
}

.table-row {
    background-color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    font-weight: 700;

}


/* Promo Section */
.promo-section .promo-title,
.promo-section .how-it-works-title,
.promo-section .faq-title {
    font-size: 65px;
    font-weight: 700;
    margin-top: 150px;
    color: #ffffff;
}

.promo-section .promo-title,
.promo-section .faq-title {
    text-align: center;
    /* padding-right: 250px; */
}

.promo-section .how-it-works-title {
    text-align: left;
    /* padding-right: 250px; */
}

.promo-section, .rights-content {
    padding-right: 250px;
}

.how-it-works-img,
.diagram-img {
    margin-left: -100px;
    display: block;
    /* margin: 50px auto; */
}



.slider {
  position: relative;
  max-width: 800px;
  margin: 50px auto;
  overflow: hidden;
  border-radius: 10px;
  /* padding-right: 250px; */
  width: 500px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  min-width: 500px;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  width: 500px;
}

/* Стрелки */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Точки */
.dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #777;
}

.faq {
    padding: 50px;
    background-color: #fff;
    border-radius: 45px;
}


.faq-item {
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.05); */
}

.faq-question {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    background: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f1f1f1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    font-size: 15px;
    background: #fff;
    transition: max-height 0.35s ease, padding 0.3s ease;
    color: #000000;
}

.faq-answer.open {
    padding: 15px;
}

.how-it-works-img {
    width: 1000px;
}


.table-row-mobile {
    display: none;
    background-color: #ECECEC;
    color: #000000;
    padding: 30px;
}

.table-row-mobile-cell-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
}

.table-row-mobile-cell {
    gap: 10px;
    display: flex;
    flex-direction: column;
}

/* .table-row-mobile-left, table-row-mobile-left-down */

.table-row-mobile-left-up, .table-row-mobile-left-down {
    display: flex;
    gap: 50px;
}

.table-row-mobile-left, .table-row-mobile-right {
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.table-row-mobile {
    gap: 50px;
    font-weight: 700;
}


.table-row-mobile:nth-child(3) {
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
}

.table-row-mobile:nth-child(30) {
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
}






.pay-btn {
    display: flex;
    padding: 10px 20px;
    background-color: #7900D5;
    border-radius: 25px;
    justify-content: center;
    max-width: 100px;
    color: #fff;
}



@media (max-width: 1800px) {
    .main-content {
        padding-left: 100px;
    }

    .header-container {
        padding: 0 100px;
    }

    .diagram-img {
        content: url("/img/Frame 2087327513.png");
        width: 800px;
        margin-left: 150px;
    }


}


@media (max-width: 1600px) {
    .main-content {
        padding-left: 20px;
    }

    .header-container {
        padding: 0 20px;
    }

    .hero-image {
        right: -250px;
    }

    .rights-content {
        padding-right: 20px;
    }

    .how-it-works-img {
        margin-left: 00px;
    }

    .promo-section {
        padding-right: 0;
    }

}



@media (max-width: 1300px) {
    .hero-title {
        padding-top: 50px;
    }

    .filters {
        gap: 10px;
    }

    .hero-image {
        content: url("/img/Frame\ 2087327512.png");
        right: 0;
        top: 150px;
        left: 150px;
    }

    .instruction-btn {
        margin-top: 550px;
    }

    .filters {
        flex-wrap: wrap
    }

    .how-it-works-img {
        width: 800px;
    }

    .diagram-img {
        width: 600px;
    }


}



@media (max-width: 900px) {
    .hero-image {
        top: 250px;
        left: 0px;
    }
    .how-it-works-img {
        content: url("/img/Frame\ 2087327514.svg");
        width: 400px;
    }

    .section-title {
        font-size: 15px;
    }
    .promo-section .promo-title, .promo-section .faq-title {
        font-size: 25px;
    }

    .table-row-mobile {
        display: flex;
        /* flex-direction: column; */
    }

    .table-row {
        display: none;
    }

    .offers-section .table-header {
        display: none;
    }

}



@media (max-width: 900px) {
    .diagram-img {
        margin-left: 0px;
        width: 500px;
    }

}


@media (max-width: 700px) {
    .main-content {
        margin-top: 50px;
    }

    .hero-title {
        font-size: 55px;
    }

    .hero-image {
        top: 200px;
        right: 00px;
        left: unset;
    }

    .hero-subtitle {
        margin-top: 25px;
        max-width: 350px;
    }

}


@media (max-width: 600px) {


    .hero-image {
        width: 450px;

        top: 300px;
    }



    .table-row-mobile-cell {
    gap: 10px;
}


.table-row-mobile-left-up, .table-row-mobile-left-down {
    gap: 20px;
}

.table-row-mobile-left, .table-row-mobile-right {
    gap: 10px;
}

.table-row-mobile {
    gap: 20px;
}


.slide img {
    width: 400px;
}

.slide {
    width: 400px;
}

.slider {
    width: 400px;
}

.diagram-img {
    width: 400px;
}


.instruction-btn {
    padding: 10px 100px;
}

.instruction-btn {
    margin-top: 400px;
}

.illustration {
    margin-top: 50px;
}

.header {
    margin-top: 40px;
}

    .main-content {
        margin-top: 0px;
    }

.offers-section {
    margin-top: 100px;
}

.illustration {
    height: 50px;
}

.online-sellers {
    display: none;
}

.section-title {
    font-size: 25px;
}

}

@media (max-width: 500px) { 
    .table-row-mobile {
        font-size: 10px;
    }


    .filter-label {
        font-size: 12px;
    }

    .filter-item {
        gap: 50px;
    }

    .slide img {
        width: 200px;
    }

    .diagram-img {
        margin: 100px 0;
    }


    .promo-section .how-it-works-title {
        font-size: 2em;
    }

    .table-row-mobile-cell-content {
        padding: 10px;
    }


.slide {
    width: 200px;
}

.slider {
    width: 200px;
}

.instruction-btn a {
    font-size: 20px;
}

.how-it-works-img, .diagram-img {
    width: 300px;
}

.faq {
    padding: 20px;
}

.hero-title {
    font-size: 45px;
}

.sellers-table {
    padding-right: 20px;
}

}


