.stocks-filter {
    margin-bottom: 40px;
}

.stocks-filter-form .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 250px;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    color: #E8E6D4;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background-color: #84A8AC1A;
    transition: border-color 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23E8E6D4' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.filter-select:focus {
    border-color: #84A8AC;
    outline: none;
    box-shadow: 0 0 0 3px rgba(132, 168, 172, 0.25);
}

.filter-actions {
    display: flex;
    gap: 10px;
}


.filter-submit-btn:hover {
    background-color: #0f272a;
}

.filter-select option {
    background-color: #18383C;
    color: #E8E6D4;
    padding: 12px 15px;
}

.filter-reset-btn {
    padding: 12px 24px;
    background-color: #84A8AC;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.filter-reset-btn:hover {
    background-color: #6c8d91;
}

.btn_stocks {
    /* padding: 0 50px; */
    /* height: 45px; */
    /* line-height: 45px; */
}

@media screen and (max-width: 768px) {
    .stocks-filter-form .filter-row {
        flex-direction: column;
    }

    .filter-group {
        min-width: 100%;
    }

    .filter-actions {
        width: 100%;
        justify-content: center;
    }
}

.no-stocks-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    width: 100%;
}

.no-stocks-message {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 20px;
}

.all-stocks-section {

    margin: 0 auto;
}

.all-stocks-cards {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0px;
    row-gap: 30px;
    justify-content: flex-start;
}

.all-stocks-cards .special-card {
    width: calc(33.33333% - 10px);
}

.special-card {
    border-radius: 8px;
    background-color: #E8E6D4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.special-card__content {
    padding: 40px 20px 0;
    margin-bottom: auto;
}

.special-card__name-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.special-card__info {
    width: 26px;
    height: 26px;
    border-radius: 100px;
    background-color: #84A8AC;
    color: #E8E6D4;
    font-weight: 700;
    font-family: Inter, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.special-card__info-wrapper {
    position: relative;
    display: inline-block;
}

.special-card__tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-157px);
    margin-top: 8px;
    padding: 10px;
    background: var(--color-orange);
    color: #E8E6D4;
    border-radius: 4px;
    font-family: Inter, sans-serif;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    white-space: normal;
    z-index: 10;
    min-width: 189px;
}

.special-card__info-wrapper:hover .special-card__tooltip {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.special-card__description {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #18383C;
    margin-top: 20px;
}

.special-card__price {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 26px;
    color: var(--color-orange);
    /* margin-bottom: 30px; */
    text-align: center;
}

.special-card__photo {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: 20px;
}

.special-card__photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    /* aspect-ratio: 14/10; */
    display: block;
}

.special-offers__intro {
    /* width: 100%; */
    /* max-width: 800px; */
    /* margin: 0 auto; */
    /* text-align: center; */
    padding: 0px 0px 30px;
    /* display: flex; */
    /* justify-content: center; */
    align-items: center;
}

.special-offers__intro-text {
    display: inline;
}

.special-offers__intro-light {
    color: #E8E6D4;
}

.special-card__button{
    margin: 0 auto;
}

.checkup-countdown {
    margin: 30px auto 0;
    padding: 18px 24px;
    max-width: 560px;
    border: 1px dashed #84A8AC;
    border-radius: 16px;
    background: #E8E6D4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.checkup-countdown__item {
    min-width: 84px;
    text-align: center;
}

.checkup-countdown__value {
    display: block;
    font-family: Inter, sans-serif;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    color: #18383C;
}

.checkup-countdown__label {
    display: block;
    margin-top: 8px;
    font-family: Inter, sans-serif;
    font-size: 20px;
    line-height: 1.1;
    color: #18383C;
}

.checkup-countdown__separator {
    margin-top: -18px;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    color: #18383C;
}

@media screen and (max-width: 768px) {
    .all-stocks-section {
        margin: 0 auto;
    }

    .all-stocks-cards {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .special-card {
        max-width: 301px;
        min-width: 301px;
        width: 100%;
        height: 575px;
        border-radius: 8px;
        background-color: #E8E6D4;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin: 0;
    }

    .special-card__content {
        padding: 40px 20px 0;
    }

    .special-card__name-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .special-card__info {
        width: 26px;
        height: 26px;
        border-radius: 100px;
        background-color: #84A8AC;
        color: #E8E6D4;
        font-weight: 700;
        font-family: Inter, sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
    }

    .special-card__description {
        font-family: Inter, sans-serif;
        font-weight: 500;
        font-size: 14px;
        color: #18383C;
        margin-bottom: 10px;
    }

    .special-card__price {
        font-family: Inter, sans-serif;
        font-weight: 500;
        font-size: 26px;
        color: var(--color-orange);
        margin-bottom: 30px;
    }

    .special-card__photo {
        width: 100%;
        height: 100%;
        overflow: hidden;
        margin-top: 20px;
    }

    .special-card__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    .special-card__button {
        width: max-content;
    }

    .special-offers__intro {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .special-offers__intro-text {
        margin: 0;
        display: inline;
    }

    .special-offers__intro-light {
        color: #E8E6D4;
    }

    .special-offers__intro-colored {
        color: var(--color-orange);
        font-style: italic;
        margin-left: 10px;
    }

    .checkup-countdown {
        gap: 8px;
        padding: 14px 12px;
        max-width: 100%;
    }

    .checkup-countdown__item {
        min-width: 62px;
    }

    .checkup-countdown__value {
        font-size: 30px;
    }

    .checkup-countdown__label {
        margin-top: 6px;
        font-size: 15px;
    }

    .checkup-countdown__separator {
        margin-top: -12px;
        font-size: 24px;
    }
}