
/* Marka Logo Stilleri */
.brand-logo-overlay {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    z-index: 20;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-overlay:hover {
    transform: scale(1.1) translateY(-2px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 0.95) 100%);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    border: 1px solid rgba(26, 118, 209, 0.2);
}

.brand-logo-overlay .brand-logo,
.product-card .brand-logo {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    display: block !important;
    max-width: 40px !important;
    max-height: 40px !important;
}

/* Radiologia logosunu biraz daha büyük yap */
.brand-logo-overlay .brand-logo[alt="Radiologia"],
.product-card .brand-logo[alt="Radiologia"] {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
}

.brand-logo-overlay:hover .brand-logo[alt="Radiologia"] {
    transform: scale(1.08);
}

.brand-logo-overlay:hover .brand-logo {
    filter: drop-shadow(0 4px 8px rgba(26, 118, 209, 0.2));
    transform: scale(1.05);
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .brand-logo-overlay {
        top: 12px !important;
        right: 12px !important;
        bottom: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        padding: 6px;
        border-radius: 10px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
    }

    .brand-logo-overlay:hover {
        transform: scale(1.08) translateY(-1px);
    }

    .brand-logo-overlay .brand-logo,
    .product-card .brand-logo {
        width: 32px !important;
        height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        border-radius: 6px;
    }

    .brand-logo-overlay .brand-logo[alt="Radiologia"],
    .product-card .brand-logo[alt="Radiologia"] {
        width: 38px !important;
        height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
    }
}

@media (max-width: 576px) {
    .brand-logo-overlay {
        top: 10px !important;
        right: 10px !important;
        bottom: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        padding: 5px;
        border-radius: 8px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.85) 100%);
    }

    .brand-logo-overlay:hover {
        transform: scale(1.06) translateY(-1px);
    }

    .brand-logo-overlay .brand-logo,
    .product-card .brand-logo {
        width: 28px !important;
        height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        border-radius: 5px;
    }

    .brand-logo-overlay .brand-logo[alt="Radiologia"],
    .product-card .brand-logo[alt="Radiologia"] {
        width: 34px !important;
        height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
    }
}

/* Genel Stiller */
:root {
    --primary: #1A76D1;
    --primary-dark: #1557A0;
    --primary-light: rgba(26, 118, 209, 0.1);
    --secondary: #2C3E50;
    --white: #ffffff;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --dark: #343a40;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--light) 0%, #e9ecef 100%);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #1A2533 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shape Divider */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.shape-divider .shape-fill {
    fill: var(--light);
}

/* Ürün Kartı Temel Stilleri */
.product-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.1) !important;
}

.product-card .position-relative {
    height: 370px;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 1rem 1rem 0 0;
    margin-bottom: 0;
    position: relative;
}

.product-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    position: relative;
    z-index: 1;
}

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

.badge {
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: inline-block;
    background-color: var(--primary);
    color: white;
    margin: 0 0 1rem 0;
}

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

.card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    color: #2d3436;
    font-weight: 600;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #636e72;
    margin-bottom: 1.75rem;
}

.card-footer {
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 1.25rem 1.5rem;
}

/* Ürün kartlarındaki butonlar için spesifik stil */
.product-card .btn {
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
}

.product-card .btn:hover::before {
    animation: shine-effect 0.7s forwards;
}

@keyframes shine-effect {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

.product-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Pagination Stilleri */
.pagination {
    gap: 0.5rem;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-link {
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    color: #6c757d;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #e9ecef;
    color: #343a40;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background-color: var(--primary);
    color: white;
}

.page-item.disabled .page-link {
    background-color: #f8f9fa;
    color: #adb5bd;
}

/* Responsive Ayarlar */
@media (max-width: 1200px) {
    .product-card .position-relative {
        height: 340px;
    }

    .card-body {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 992px) {
    .product-card .position-relative {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .product-card {
        margin-bottom: 1.5rem;
    }

    .product-card .position-relative {
        height: 320px;
    }

    .card-body {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
        margin: 1.25rem 0;
    }

    .card-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .card-text {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .page-link {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .product-card .position-relative {
        height: 260px;
    }

    .card-body {
        padding: 0 1rem 1rem 1rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
        margin: 1rem 0;
    }

    .card-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .card-text {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .card-footer {
        padding: 1rem;
    }

    .product-card .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .pagination {
        gap: 0.25rem;
    }

    .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Kategori Filtreleme Stilleri */
.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    padding: 2rem 0;
    margin: 0 -0.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Tüm Ürünler Butonu - Dikdörtgen Tasarım */
.filter-btn-all {
    background: #fff;
    border: 2px solid #e9ecef;
    padding: 1rem 2rem;
    border-radius: 12px;
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-decoration: none;
    justify-content: flex-start;
}

.filter-btn-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.filter-btn-all:hover::before,
.filter-btn-all.active::before {
    left: 0;
}

.filter-btn-all:hover,
.filter-btn-all.active {
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 118, 209, 0.3);
}

.filter-btn-all.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary);
}

.filter-all-icon {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.filter-btn-all:hover .filter-all-icon,
.filter-btn-all.active .filter-all-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.filter-btn-all i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.filter-btn-all:hover i,
.filter-btn-all.active i {
    color: white;
    transform: scale(1.1);
}

.filter-btn-all span {
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    color: #6c757d;
    flex-grow: 1;
    text-align: left;
}

.filter-btn-all:hover span,
.filter-btn-all.active span {
    color: white;
}

.filter-btn-all:hover span,
.filter-btn-all.active span {
    color: white;
}

/* Kategori Butonları Grid */
.filter-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-btn {
    background: #fff;
    border: 2px solid #e9ecef;
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    color: #6c757d;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin: 0 0.5rem;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.filter-btn:hover::before {
    left: 0;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
    border-color: var(--primary) !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 118, 209, 0.3);
}

.filter-btn.active::before {
    left: 0 !important;
    transition: none !important;
}

.filter-btn.active span {
    color: white !important;
}

.filter-btn .filter-icon {
    background: #f8f9fa;
    border: none;
}

.filter-btn.active .filter-icon,
.filter-btn:hover .filter-icon {
    background: linear-gradient(135deg, #1A76D1 0%, #0c62b9 100%);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(26, 118, 209, 0.4);
}

.filter-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(26, 118, 209, 0.12);
    padding: 0;
}

.filter-btn i {
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.filter-btn:hover i,
.filter-btn.active i {
    color: white;
    transform: scale(1.1);
}

.filter-svg-icon {
    width: 48px;
    height: 48px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
    border-radius: 10px;
    padding: 0;
    background: none;
    backdrop-filter: none;
    margin: 0;
}

/* Injector SVG için özel stil - beyaz renk */
.filter-svg-icon[alt="Injector"] {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.filter-btn:hover .filter-svg-icon,
.filter-btn.active .filter-svg-icon {
    transform: scale(1.25);
    filter: drop-shadow(0 6px 16px rgba(26, 118, 209, 0.18));
}

/* Hover durumunda injector için özel stil */
.filter-btn:hover .filter-svg-icon[alt="Injector"],
.filter-btn.active .filter-svg-icon[alt="Injector"] {
    transform: scale(1.25);
    filter: brightness(0) invert(1) drop-shadow(0 6px 16px rgba(255, 255, 255, 0.8));
}

.filter-btn span {
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 118, 209, 0.3);
}

.filter-btn:hover span,
.filter-btn.active span {
    color: white;
}

/* Responsive Ayarlar */
@media (max-width: 1200px) {
    .filter-buttons {
        gap: 0.75rem;
        padding: 1.5rem 0;
    }

    .filter-btn {
        padding: 1rem 1.5rem;
        min-width: 120px;
    }

    .filter-icon {
        width: 55px;
        height: 55px;
        background: linear-gradient(135deg, #1A76D1 0%, #0c62b9 100%);
        border: 1px solid #1A76D1;
        box-shadow: 0 2px 8px rgba(26, 118, 209, 0.2);
    }

    .filter-svg-icon {
        width: 36px;
        height: 36px;
        border-radius: 6px;
        padding: 1.5px;
    }
}

@media (max-width: 992px) {
    .filter-buttons {
        gap: 1.25rem;
        padding: 1.25rem 0;
    }

    .filter-btn-all {
        max-width: 260px;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        gap: 0.75rem;
    }

    .filter-all-icon {
        width: 36px;
        height: 36px;
    }

    .filter-btn-all i {
        font-size: 1.2rem;
    }

    .filter-btn-all span {
        font-size: 0.95rem;
    }

    .filter-buttons-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
        margin: 0 auto;
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.875rem 1.25rem;
        min-width: auto;
        flex: none;
        width: 100%;
    }

    .filter-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #1A76D1 0%, #0c62b9 100%);
        border: 1px solid #1A76D1;
        box-shadow: 0 2px 8px rgba(26, 118, 209, 0.2);
    }

    .filter-svg-icon {
        width: 32px;
        height: 32px;
        border-radius: 5px;
        padding: 1px;
    }

    .filter-btn span {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .filter-buttons {
        margin: 0 -1rem;
        padding: 1rem;
        border-radius: 15px;
        gap: 1rem;
    }

    .filter-btn-all {
        max-width: 240px;
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .filter-all-icon {
        width: 32px;
        height: 32px;
    }

    .filter-btn-all i {
        font-size: 1.1rem;
    }

    .filter-btn-all span {
        font-size: 0.9rem;
    }

    .filter-buttons-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 450px;
        margin: 0 auto;
    }

    .filter-btn {
        padding: 0.75rem 1rem;
        min-width: auto;
        border-radius: 12px;
        width: 100%;
    }

    .filter-icon {
        width: 45px;
        height: 45px;
        border-radius: 8px;
        background: linear-gradient(135deg, #1A76D1 0%, #0c62b9 100%);
        border: 1px solid #1A76D1;
        box-shadow: 0 2px 8px rgba(26, 118, 209, 0.2);
    }

    .filter-svg-icon {
        width: 28px;
        height: 28px;
        border-radius: 4px;
        padding: 1px;
    }

    .filter-btn span {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .filter-buttons {
        margin: 0 -0.75rem;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .filter-btn-all {
        max-width: 200px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        gap: 0.6rem;
    }

    .filter-all-icon {
        width: 28px;
        height: 28px;
    }

    .filter-btn-all i {
        font-size: 1rem;
    }

    .filter-btn-all span {
        font-size: 0.85rem;
    }

    .filter-buttons-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .filter-btn {
        padding: 0.625rem 0.875rem;
        min-width: auto;
        gap: 0.5rem;
        width: 100%;
    }

    .filter-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #1A76D1 0%, #0c62b9 100%);
        border: 1px solid #1A76D1;
        box-shadow: 0 2px 8px rgba(26, 118, 209, 0.2);
    }

    .filter-svg-icon {
        width: 24px;
        height: 24px;
        border-radius: 3px;
        padding: 0.5px;
    }

    .filter-btn span {
        font-size: 0.75rem;
    }
}
