/* Basut Silo — ürün / kategori sayfaları */

:root {
    --catalog-cover-max-h: 420px;
    --catalog-grid-img-h: 260px;
    --catalog-category-img-h: 220px;
    --catalog-spec-img-max-h: 360px;
}

/* —— Liste başlığı —— */
.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: clamp(1.75rem, 4vw, 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;
}

/* —— Kategori swiper —— */
.categorySwiper {
    width: 100%;
    padding-bottom: 40px;
    direction: ltr;
    overflow: hidden;
}

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

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

.categorySwiper .swiper-slide.is-active .card {
    outline: 2px solid #ff3147;
    outline-offset: 0;
}

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

.categorySwiper .swiper-slide .card-img-top,
.catalog-category-card__image {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.catalog-category-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-category-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(2, 23, 56, 0.06);
}

.catalog-category-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(2, 23, 56, 0.25);
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(2, 23, 56, 0.05), rgba(255, 49, 71, 0.08));
}

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

.categorySwiper .swiper-slide .card-title {
    font-size: 1.05rem;
    margin-bottom: 0;
    font-weight: 600;
    line-height: 1.35;
}

/* —— Ürün grid kartları —— */
.product-card {
    margin-bottom: 20px;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 0;
    position: relative;
    border: none;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.product-card:hover .card-img-top,
.product-card:hover .catalog-product-card__image {
    transform: scale(1.04);
}

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

.product-card .card-img-top,
.catalog-product-card__image {
    transition: transform 0.5s ease;
    width: 100%;
    height: var(--catalog-grid-img-h);
    max-height: var(--catalog-grid-img-h);
    object-fit: cover;
    object-position: center;
    display: block;
}

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

.product-card .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.35;
}

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

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

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

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

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

/* —— Ürün detay —— */
.catalog-product-detail {
    font-family: 'Inter', sans-serif;
    color: #334155;
}

.catalog-product-detail__main {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(2, 23, 56, 0.06);
    overflow: hidden;
}

.catalog-product-detail__hero {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 1.75rem;
    padding: 1.75rem 1.75rem 0;
    align-items: start;
}

.catalog-product-detail__cover {
    width: 100%;
    max-height: var(--catalog-cover-max-h);
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8edf2;
}

.catalog-product-detail__cover img {
    width: 100%;
    max-width: 100%;
    max-height: var(--catalog-cover-max-h);
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.catalog-product-detail__intro {
    min-width: 0;
}

.catalog-product-detail__category {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #fff1f2;
    color: #ff3147;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
}

.catalog-product-detail__category:hover {
    background: #ff3147;
    color: #fff;
}

.catalog-product-detail__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #021738;
    margin: 0 0 0.85rem;
}

.catalog-product-detail__summary {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.catalog-product-detail__panel {
    padding: 1.25rem 1.75rem 1.75rem;
}

.catalog-product-detail__tabs {
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e8edf2;
}

.catalog-product-detail__tabs .nav-link {
    color: #021738;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    border: 1px solid transparent;
    background: #f4f6f8;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.catalog-product-detail__tabs .nav-link:hover {
    color: #ff3147;
    background: #fff5f6;
}

.catalog-product-detail__tabs .nav-link.active,
.catalog-product-detail .nav-pills .nav-link.active {
    background-color: #ff3147;
    color: #fff !important;
    border-color: #ff3147;
    box-shadow: 0 4px 14px rgba(255, 49, 71, 0.25);
}

.catalog-product-detail__tab-content {
    padding-top: 0.25rem;
}

.catalog-product-detail__prose,
.catalog-product-detail .product-detail-body {
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
}

.catalog-product-detail__prose h2,
.catalog-product-detail .product-detail-body h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #021738;
    margin: 1.75rem 0 0.85rem;
}

.catalog-product-detail__prose h2:first-child,
.catalog-product-detail .product-detail-body h2:first-child {
    margin-top: 0;
}

.catalog-product-detail__prose h3,
.catalog-product-detail .product-detail-body h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #021738;
    margin: 1.25rem 0 0.65rem;
}

.catalog-product-detail__prose p,
.catalog-product-detail .product-detail-body p {
    margin-bottom: 1rem;
}

.catalog-product-detail__prose ul,
.catalog-product-detail .product-detail-body ul {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.catalog-product-detail__prose li,
.catalog-product-detail .product-detail-body li {
    margin-bottom: 0.45rem;
}

.catalog-product-detail__faq-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #021738;
    margin: 0 0 1rem;
}

.catalog-faq-accordion {
    border: 1px solid #e8edf2;
    border-radius: 10px;
    overflow: hidden;
}

.catalog-faq-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid #e8edf2;
}

.catalog-faq-accordion .accordion-item:last-child {
    border-bottom: 0;
}

.catalog-faq-accordion .accordion-button {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #021738;
    background: #fff;
    box-shadow: none;
    padding: 1rem 1.15rem;
    line-height: 1.45;
}

.catalog-faq-accordion .accordion-button:not(.collapsed) {
    color: #ff3147;
    background: #fff8f8;
}

.catalog-faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.catalog-faq-accordion .accordion-body {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #64748b;
    padding: 0 1.15rem 1.1rem;
}

.catalog-product-detail__spec-table {
    margin-top: 0.5rem;
    border-color: #e8edf2;
}

.catalog-product-detail__spec-table th {
    width: 38%;
    background: #f8fafc;
    color: #021738;
    font-weight: 600;
    vertical-align: middle;
}

.catalog-product-detail__spec-table td {
    color: #475569;
}

.catalog-product-detail__doc-card {
    height: 100%;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid #ffd6db;
    border-radius: 10px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-product-detail__doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 49, 71, 0.12);
}

.catalog-product-detail__doc-link {
    display: inline-flex;
    margin-bottom: 0.75rem;
}

.catalog-product-detail__trust {
    padding: 0 1.75rem 1.75rem;
}

.catalog-product-detail__trust-card {
    height: 100%;
    padding: 1.25rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e8edf2;
    text-align: center;
}

.catalog-product-detail__trust-card img {
    margin-bottom: 0.85rem;
}

.catalog-product-detail__trust-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #021738;
    margin: 0 0 0.5rem;
}

.catalog-product-detail__trust-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

.catalog-product-detail__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.catalog-product-detail__sidebar-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(2, 23, 56, 0.06);
}

.catalog-product-detail__cta {
    display: block;
    padding: 0.9rem 1rem;
}

.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%;
    color: #334155;
    text-decoration: none;
    font-size: 0.95rem;
}

.catalog-product-detail .li-menu a:hover {
    color: #ff3147;
}

.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;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
}

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

.catalog-product-detail .sidebar__helps .head h5 {
    font-family: 'Space Grotesk', sans-serif;
}

.catalog-product-detail .sidebar__helps .body .thumb img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

.catalog-product-detail .spec-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.catalog-product-detail .spec-gallery img {
    width: 100%;
    max-width: 100%;
    max-height: var(--catalog-spec-img-max-h);
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background: #f4f6f8;
    padding: 0.5rem;
    border: 1px solid #e8edf2;
}

.catalog-product-detail .btn-catalog-other {
    background-color: #fff1f1;
    color: #ff3147;
    border: 1px solid #ffe1e1;
    border-radius: 999px;
    padding: 0.65rem 1.35rem;
    font-weight: 600;
}

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

@media (max-width: 991px) {
    :root {
        --catalog-cover-max-h: 340px;
        --catalog-grid-img-h: 240px;
        --catalog-category-img-h: 200px;
        --catalog-spec-img-max-h: 280px;
    }

    .catalog-product-detail__hero {
        grid-template-columns: 1fr;
        padding: 1.25rem 1.25rem 0;
    }

    .catalog-product-detail__panel,
    .catalog-product-detail__trust {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 767px) {
    :root {
        --catalog-cover-max-h: 280px;
        --catalog-grid-img-h: 210px;
        --catalog-category-img-h: 180px;
        --catalog-spec-img-max-h: 240px;
    }

    .catalog-product-detail__tabs .nav-link {
        font-size: 0.88rem;
        padding: 0.45rem 0.85rem;
    }

    .overlay-content h4 {
        font-size: 1.05rem;
    }
}

@media (max-width: 575px) {
    :root {
        --catalog-cover-max-h: 240px;
    }
}
