/* Header Styles */
.header {
    background-color: rgba(var(--primary-color));
    color: white;
    padding: 15px 0;
}

.header .header-adarea {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease-in-out;
}

.header .header-adarea .post-ad-btn {
    background-color: #FFC107;
    border: none;
    color: #1EB04E;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 1s ease;
    animation: fadeIn 3s infinite;
}

.header .header-adarea .post-ad-btn:hover {
    background-color: #e0a800;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.header .header-logo {
    display: flex;
    align-items: center;
    justify-content: left;
}
.header .header-logo .logo {
    width: 130px;
}
.header .header-logo img {
    width: 100%;
    height: 100%;
}


.header .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}
.header .header-right .header-right-chat, .header .header-right .header-right-login, .header .header-right .header-right-sigbup {
    color: rgba(var(--white));
    cursor: pointer;
    padding: 5px 15px;
    font-size: 16px;
    background-color: rgba(var(--primary-color));
}
.header-right-chat, .header-right-login {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 24px;
}
.header-right-chat span, .header-right-login span{
    margin-left: 5px;
}
@media (max-width: 944px) {
    .header .header-adarea-head {
        order: 3;
        margin-top: 20px;
    }
}






/* Search Section */
.search-area{
    background-color: rgba(var(--primary-color));
}
.search-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.search-bar {
    width: 80%;
    border: 1px solid #ccc;
    border-radius: 70px;
    overflow: hidden;
    position: relative;
    margin: 40px 0 10px 0;
}


.search-bar .search-bar-fill{
    width: 100%;
    height: 56px;
    outline: 0;
    border: 0;
}
.search-bar .search-bar-fill::placeholder {
    color: #ccc;
    padding-left: 20px;
    font-size: larger;
}

.search-bar-button {
    position: absolute;
    top: 2px;
    right:2px;
    border: none;
    font-size: 24px;
    height: 52px;
    width: 52px;
    line-height: 0;
    cursor: pointer;
    background-color: #FFC107;
    border-radius: 50%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.language-switch button {
    background-color: #fff;
    border: none;
    color: #1EB04E;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}
@media (max-width: 944px) {
    .search-bar {
        width: 100%;
    }
    .search-section {
        padding: 0;
    }
    .search-bar .search-bar-fill{
        height: 40px;
    }
    .search-bar-button {
        height: 40px;
        width: 40px;
        top:0;
        right: 0;
    }
}






/* Category Section */
.categories {
    margin-top: 30px;
}

.categories h2 {
    margin-bottom: 20px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
}

.category-item {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    flex: 0 1 calc(25% - 20px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-item-link{
    display: flex;
    align-items: center;
}
@media (max-width: 944px) {
    .category-list {
        padding: 10px;
        gap:10px;
    }
    
    .category-item {
        flex: 0 1 calc(50% - 10px);
    }
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
    width: 48px;
}

.category-name {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.category-ads {
    color: #888;
    font-size: 14px;
}
/* Category Section End */




/* Footer Styles */
.footer {
    background-color: #f1f1f1;
    padding: 20px 50px;
    text-align: center;
}
@media (max-width: 944px) {
    .footer {
        padding: 20px 0px;
    }
}

.footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.footer {
    flex: 1 1 200px;
    margin: 10px;
    align-items: center;
    justify-content: center;
}
.footer h3 {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: left;
}
.footer ul {
    list-style: none;
    padding: 0;
}
.footer ul li {
    margin-bottom: 8px;
    text-align: left;
}
.footer .social {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.footer .social img {
    margin: 0 5px;
    width: 24px;
    height: 24px;
}
.footer .credits {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}
/* Footer Styles End */











.card-body{
    display:flex;
    flex-wrap:wrap;
}
.card-body label{
    width: calc(33.33% - 10px);
    margin:5px;
}



/* General Styles */
#checkout .form-group {
    width: 100%;
    margin-bottom: 15px;
}

#checkout .widget3 .form-group {
    width: 100%;
    display: block;
    margin: 10px 0;
}

#checkout .widget3 button {
    border: none;
    border-radius: 5px;
    margin-top: 15px;
    padding: 10px;
    background: #034580;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#checkout .widget3 button:hover {
    background: #002c5a;
}

#checkout .widget3 .rvinfo {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    align-items: center;
}

#checkout .widget3 .rvinfo span:last-child,
#checkout .widget3 .rvinfo h4:last-child {
    flex: 1;
    text-align: right;
    font-weight: bold;
}

#checkout .widget3 .card, .o_card{
    background-color: #fff;
    padding: 0 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e6e6e6;
}

#checkout .form-groups {
    background: #fff;
    padding: 15px;
    border: 1px solid #e6e6e6;
    border-radius: 0 0 5px 5px;
}

#checkout .form-groups label {
    margin-top: 5px;
    display: flex;
    cursor: pointer;
    align-items: center;
}

#checkout .form-groups label span:last-child {
    flex: 1;
    text-align: right;
}

#checkout .form-groups::after,
#checkout .widget {
    display: block;
    clear: both;
    content: '';
}

#checkout .form-groups input[type="radio"] {
    width: 20px;
    float: left;
    margin-right: 10px;
}

input[type="submit"],
.redirect {
    border: none;
    color: white;
    padding: 12px;
    margin-top: 20px;
    font-weight: 500;
    border-radius: 5px;
    width: 100%;
    background: var(--primary_color);
    text-transform: capitalize;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

input[type="submit"]:hover {
    opacity: 0.9;
}

.form-title {
    background: var(--primary_color);
    color: #fff;
    padding: 15px;
    font-size: 18px;
    text-transform: capitalize;
    border-radius: 10px 10px 0 0;
}

.form-title span {
    color: #000;
    background: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}

#checkout .instruction {
    width: 100%;
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 10px;
    border-radius: 5px;
    margin: 0 !important;
    transition: border-color 0.3s ease;
}

#checkout .instruction:hover {
    border-color: #034580;
}

#checkout .instruction a {
    color: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: capitalize;
    text-decoration: none;
    font-weight: 500;
}

#checkout .instruction a .arrow2 {
    display: flex;
    align-items: center;
}

#checkout .instruction a .arrow2 .icofont-simple-down,
#checkout .instruction a .arrow2 .icofont-simple-right {
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

#checkout .instruction a:hover .arrow2 .icofont-simple-down,
#checkout .instruction a:hover .arrow2 .icofont-simple-right {
    color: #034580;
}

#checkout .collapse {
    margin-top: 10px;
}

#checkout .collapse input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
}

#checkout .collapse button {
    width: 100%;
    padding: 10px;
    background: #ccc;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#checkout .collapse button:hover {
    background: #666;
}

/* Product Section */
.product {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 10px;
}

.product a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    flex: 1;
}

.product span {
    font-weight: bold;
    color: #034580;
}

/* Order Summary */
.rvinfo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.rvinfo.coupon {
    color: #ff4d4d;
}

.rvinfo.total {
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
}

.rvinfo.total h4 {
    margin: 0;
    color: #034580;
}

hr {
    border: 0;
    border-top: 1px solid #e6e6e6;
    margin: 15px 0;
}
