* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Overlock", sans-serif;
}
.container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.collection-card-sec {
    padding: 0 0 50px 0;
    max-width: 100%;
}
.collection-title {
    text-align: center;
    color: #536942;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 40px;
    font-size: 40px;
}
.collection-card-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.card.collection-card-col {
    width: calc(33.33% - 10px);
}
.card-col-inner img {
    width: 100%;
    border-radius: 5px;
    display: flex;
}
.card-col-inner {
    transition: background-color 0.3s, border 0.3s, border-radius 0.3s,
        box-shadow 0.3s, color 0.3s, height 0.3s;
    padding: 12px;
    box-shadow: 0px 3px 30px 3px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-img-box {
    position: relative;
}
.card-box-info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.price {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffd835;
    color: #000000;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: 600;
}
.card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    margin: 20px 0 15px;
}
.card-details i {
    color: #536942;
    font-size: 14px;
}
.card-details p {
    margin: 0;
    color: #7a7a7a;
    margin-bottom: 10px;
}
.card-details p span {
    padding-left: 10px;
    font-size: 16px;
    line-height: 24px;
}
.card-actions {
    padding: 20px 0 0 0;
    display: flex;
    justify-content: space-between;
}
.card-view-btn i {
    margin-left: 10px;
}
.card-view-btn {
    font-size: 16px;
    color: #536942;
    line-height: 24px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.card-view-btn.card-delete-btn {
    color: #d00000;
}

.card-view-btn.card-edit-btn {
    color: darkgreen;
    margin: 0 10px;
}
.card-view-btn i {
    font-size: 14px;
}
.classified-search-form {
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0px 3px 30px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}
.classified-search-form-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #536942;
}
.frm-fieldset {
    border: none;
    padding: 0;
}
.frm-row {
    margin-bottom: 15px;
}
.frm-label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 30px;
}
.frm-row.vst--related {
    margin: 0;
    padding: 15px 0 0;
}
.frm-select:focus-visible {
    outline: none;
}
span.icon-button-text {
    font-weight: 600;
}
.frm-select-wrap {
    position: relative;
    width: 100%;
}
.frm-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #536942;
    border-radius: 5px;
    background-color: #fff;
    font-size: 1em;
}

.icon-button {
    background-color: #536942;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    width: 100%;
    margin: 0px !important;
}
button.reset-filt.icon-button {
    background-color: #536942;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    width: 100%;
    font-weight: 700;
    margin: 10px 0 0 0 !important;
}
.icon-button:hover {
    background-color: #45a049;
}
form.classified-search-form-frm.frm + br {
    display: none;
}
.collection-main-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.collection-col-left {
    width: calc(25% - 15px);
}

.collection-card-right {
    width: calc(75% - 15px);
}
.pagination {
    margin: 50px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.pagination a {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 16px;
    color: black;
    border: 1px solid #ddd;
}

.pagination a:hover {
    background: #f0f0f0;
}
.pagination .active {
    color: #536942;
    font-weight: bold;
    border: 1px solid #536942;
}

.pagination .disabled {
    color: #ddd;
    pointer-events: none;
    border: 1px solid #ddd;
}

.collection-show-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #ebebeb;
    width: 100%;
    border-bottom: 1px solid #ebebeb;
    margin: 0 0 20px;
    padding: 15px 0;
}
.pagination-info {
    font-size: 16px;
    line-height: normal;
    font-weight: 700;
    color: #536942;
}
.collection-sort {
    display: flex;
    align-items: center;
}
legend.collection-sort-label {
    padding-right: 15px;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    color: #536942;
    white-space: nowrap;
}
.frm-select-wrap:before {
    content: "\f107";
    display: inline-block;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0px;
    font-size: 18px;
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
select.frm-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    position: relative;
    width: 100%;
    padding: 9px 10px;
    color: #333;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    background-color: transparent;
    font-size: 18px;
    padding-right: 30px;
}
/* Ensure responsiveness */
@media (max-width: 991px) {
    .collection-main-row {
        flex-direction: column;
        gap: 20px;
    }
    .classified-search-form {
        max-width: 100%;
    }
    .collection-col-left,
    .collection-card-right {
        width: 100%;
    }
        .card.collection-card-col {
        width: calc(50% - 8px);
    }
}
@media (max-width: 768px) {
    .container {
        padding: 0px;
    }
}
@media (max-width: 650px) {
    .card.collection-card-col {
        width: 100%;
    }
    .pagination a {
        padding: 2px 8px;
        font-size: 14px;
    }
    .pagination-info {
        width: 100%;
        margin-bottom: 12px;
    }
    .collection-sort {
        width: 100%;
    }
    .collection-show-row {
        flex-wrap: wrap;
    }
}
