/* Basut Silo — ürün / kategori sayfaları (canlı site parity) */

.catalog-page-header {
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

.catalog-page-header .category-title {
    text-align: center;
    margin: 1.5rem 0;
    font-weight: 700;
    color: #252525;
    font-size: 2.5rem;
    position: relative;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

.catalog-page-header .category-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #ff3147;
    margin: 15px auto 0;
    border-radius: 2px;
}

.categorySwiper {
    width: 100%;
    padding-bottom: 40px;
    direction: ltr;
    overflow: hidden;
}

.categorySwiper .swiper-slide {
    cursor: pointer;
    transition: transform 0.3s;
    text-align: center;
}

.categorySwiper .swiper-slide:hover {
    transform: translateY(5px);
}

.categorySwiper .swiper-slide.is-active {
    border: 2px solid #ff3147;
    border-radius: 8px;
}

.categorySwiper .swiper-slide .card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

.categorySwiper .swiper-slide .card-img-top {
    height: 250px;
    object-fit: cover;
}

.categorySwiper .swiper-slide .card-body {
    padding: 0.75rem;
    text-align: center;
}

.categorySwiper .swiper-slide .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.product-card {
    margin-bottom: 20px;
    margin-top: 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 380px;
    position: relative;
    border: none;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card .card-img-top {
    transition: transform 0.5s ease;
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.product-card .card-body {
    padding: 1.25rem;
    position: relative;
    z-index: 1;
    background: #fff;
}

.product-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 49, 71, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    pointer-events: none;
}

.product-card:hover .product-overlay {
    pointer-events: auto;
}

.overlay-content {
    color: white;
    text-align: center;
    padding: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.overlay-content h4 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.btn-details {
    background-color: white;
    color: #ff3147;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-details:hover {
    background-color: #021738;
    color: white;
    transform: translateY(-3px);
}

.catalog-product-detail .li-menu {
    padding-left: 10px !important;
}

.catalog-product-detail .li-menu a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.catalog-product-detail .li-menu.li-product {
    padding-left: 25px !important;
}

.catalog-product-detail .li-menu.li-product.is-active a {
    color: #ff3147;
    font-weight: 600;
}

.catalog-product-detail .sidebar__service .head {
    background: #ff3147;
}

.catalog-product-detail .sidebar__service .head h4,
.catalog-product-detail .sidebar__service .head h4 a {
    color: #fff;
    margin: 0;
}

.catalog-product-detail .sidebar__service .head h4 a {
    text-decoration: none;
}

.catalog-product-detail .service__thumb img {
    width: 100%;
    max-width: 756px;
    height: auto;
    display: block;
    border-radius: 6px;
}

.catalog-product-detail .nav-pills .nav-link {
    color: #021738;
    font-weight: 600;
}

.catalog-product-detail .nav-pills .nav-link.active {
    background-color: #ff3147;
}

.catalog-product-detail .spec-gallery img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.catalog-product-detail .doc-card {
    border: 1px solid #ff3147;
    border-radius: 0.375rem;
}

.catalog-product-detail .btn-catalog-other {
    background-color: #fff1f1;
    color: #ff3147;
    border-color: #ffe1e1;
}

@media (max-width: 767px) {
    .catalog-page-header .category-title {
        font-size: 1.75rem;
    }

    .product-card {
        min-height: 320px;
    }

    .product-card .card-img-top {
        height: 220px;
    }
}
