body {
    font-family: 'Segoe UI', sans-serif;
}

.navbar-custom {
    background-color: #0e4531;
    padding: 0.5rem 1rem;
}

.search-box {
    background: #f7f7f7;
    border-radius: 50px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 5px 10px;
    margin-left: 1rem;
}

    .search-box input {
        border: none;
        background: none;
        flex-grow: 1;
        outline: none;
        color: #555;
        padding-left: 10px;
    }

.btn-search {
    background-color: black;
    color: white;
    border-radius: 50px;
    padding: 6px 15px;
    border: none;
    white-space: nowrap;
}

.btn-outline-dark {
    border-radius: 10px;
    margin-right: 10px;
}

.btn-success {
    border-radius: 10px;
    background-color: #0e4531;
    border: 2px solid #0e4531;
}

.main-head {
    background-color: #0C482F;
    color: white;
}

.body-contnet-1 {
    background-color: #b7cec7;
    color: #0C482F;
}

.body-popular-content {
    background-color: #d5e5e0;
}

.box-li {
    font-size: 30px;
    background-color: #EFF5F3;
    color: #0C482F;
    border-radius: 100%;
}

.category-slider {
    display: flex;
    align-items: center;
    overflow: visible;
    position: relative;
    padding: 20px 0;
}

.category-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .category-track::-webkit-scrollbar {
        display: none;
    }

.category-item {
    background: white;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

    .category-item:hover {
        transform: scale(1.03);
    }

.follow-btn {
    border: 1px solid #0e4531;
    background: #edf5f1;
    color: #0e4531;
    border-radius: 50px;
    padding: 2px 10px;
    font-size: 14px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    background: black;
    color: white;
    border-radius: 50%;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    margin: 0px -8px 0 -8px !important;
}

    .slider-btn.left {
        left: 8px;
    }

    .slider-btn.right {
        right: 8px;
    }

.product-card {
    border: none;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
    }

.product-img {
    border-radius: 15px 15px 0 0;
    height: 180px;
    object-fit: cover;
    background-color: #f5f5f5;
}

.product-body {
    padding: 10px 12px;
}

.brand-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 2px;
}

.product-title {
    font-size: 0.92rem;
    font-weight: 500;
    color: #222;
    min-height: 40px;
}

.rating {
    color: #f4a300;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
}

.download-btn {
    width: 100%;
    background-color: #d9f0e3;
    color: #0c5132;
    border: none;
    font-weight: 600;
    border-radius: 10px;
    padding: 6px 0;
}

    .download-btn:hover {
        background-color: #c5e5d3;
    }

.body-collections-content {
    background-color: #D8E7E2 !important;
    padding-bottom:70px!important
}

.box-li-collections {
    font-size: 30px;
    background-color: white !important;
    color: #0C482F;
    border-radius: 100% !important;
}

.collection-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
   
}
}

    .collection-card img:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }

.collection-card p {
    font-size: 0.95rem;
}

.info-1 {
    background-color: #F9EAD8;
    color: #0e4531;
}

.info-2 {
    background-color: #D5E5E0;
    color: #0e4531;
}

.info-3 {
    background-color: #B0CCC2;
    color: #0e4531;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 30px;
    font-size: 0.95rem;
}

    footer a {
        color: #ccc;
        text-decoration: none;
    }

        footer a:hover {
            color: #fff;
        }

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    margin-right: 10px;
    font-size: 18px;
    transition: all 0.3s ease;
}

    .social-icons a:hover {
        transform: scale(1.1);
        background: #198754;
        color: #fff;
    }

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 1200px) {
    .search-box {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .search-box {
        max-width: 400px;
        margin: 10px 0;
    }

    .navbar .d-flex {
        width: 100%;
        justify-content: space-between;
    }

    .btn-outline-dark,
    .btn-success {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .main-head .offset-6 {
        margin-left: 0 !important;
    }

    .main-head .row > div {
        margin-bottom: 5px;
    }

    .body-contnet-1 .col-lg-6 {
        margin-bottom: 20px;
    }

    .body-contnet-1 video {
        width: 100%;
        height: auto;
    }

    .category-item {
        min-width: 160px;
        padding: 8px 15px;
    }

    .product-img {
        height: 150px;
    }

    .brand-card,
    .product-card {
        margin-bottom: 15px;
    }

    .info-1 .row > div,
    .info-2 .row > div,
    .info-3 .row > div {
        margin-bottom: 20px;
    }

    .slider-btn {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 576px) {
    .search-box {
        margin: 10px 0;
        flex-wrap: wrap;
    }

        .search-box input {
            width: 100%;
            margin: 5px 0;
        }

    .btn-search {
        width: 100%;
        margin-top: 5px;
    }

    .category-item {
        min-width: 140px;
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .follow-btn {
        font-size: 0.8rem;
        padding: 2px 8px;
    }

    .product-img {
        height: 120px;
    }

    .product-title {
        font-size: 0.85rem;
        min-height: auto;
    }

    .brand-name,
    .rating {
        font-size: 0.8rem;
    }

    .collection-card p {
        font-size: 0.85rem;
    }

    .info-1 .fw-bold.h4,
    .info-2 .fw-bold.h1,
    .info-3 .fw-bold.h1 {
        font-size: 1.5rem;
    }

    footer {
        padding: 40px 0 20px;
    }

    .footer-title {
        font-size: 1rem;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}
