﻿html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}
a {
    color: #000000;
    text-decoration: none;
}
a:hover {
    color: #ff3e00 !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0 red, 0 0 0 0 red;
}

body {
    height: auto;
    margin: 0px;
    padding: 0px;
}


.headerRow {
    background-image: url("/images/headerBg6.jpg");
    background-position-x: center !important;
    background-position-y: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}


#searchProductResults {
    max-height: 400px; /* Yükseklik sınırlandırılır */
    overflow-y: auto; /* Dikey scrollbar'ı aktif eder */
    border: 1px solid #ccc; /* Kenarlık */
}


.product-img {
    height: 300px;              /* istediğin sabit yüksekliği belirle */
    object-fit: cover;          /* resmi taşmadan, güzelce kırpar */
    object-position: center;    /* ortalayarak gösterir */
    display: block;
}


.myFooter {
    background-image: url("/images/footerBG.jpg");
    background-position-x: center !important;
    background-position-y: bottom !important;
    background-repeat: no-repeat;
    background-size: cover;
}







.dropdown-menu {
    width: 100%;
    top: 44px !important;
    left: 50% !important;
    transform: translateX(-50%);
}

.navbar-nav .nav-item:hover .dropdown-menu,
.navbar-nav .nav-item:focus-within .dropdown-menu {
    display: block;
}
/* Varsayılan ok işaretini kaldır */
.nav-link.dropdown-toggle::after {
    display: none !important;
}






/* Oylama Sistemi için */
.star-rating {
    direction: ltr;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    display: inline-block;
}
.star-rating span {
    transition: color 0.2s;
}
.star-rating .hover,
.star-rating .selected {
    color: gold;
}







.kayarak-gelen {
    opacity: 0; /* Başlangıçta görünmez */
    transform: translateX(100%); /* Sağdan dışarıda başlasın */
    transition: all 1s ease-out;
    position: relative;
}

.soldan-gelen {
    transform: translateX(-100%); /* Soldan kayarak gelir */
}

.sagdan-gelen {
    transform: translateX(100%); /* Sağdan kayarak gelir */
}

.goster {
    opacity: 1; /* Görünür hale gelir */
    transform: translateX(0); /* Kayarak yerine gelir */
}



.slider-container {
    position: relative;
    height: 10px;
}

.slider-container input[type=range] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
}

/* Ana sayfa ana kategori vitrini */
.home-category-showcase {
    margin: 0 0 3.25rem;
    padding: 1.75rem;
    border: 1px solid #e6e9ee;
    border-radius: 1rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fb 100%);
    box-shadow: 0 0.85rem 2.25rem rgba(24, 31, 42, 0.07);
}

.home-category-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.35rem;
}

.home-category-heading h2 {
    margin: 0.25rem 0 0;
    color: #171b22;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.home-category-heading p {
    margin: 0;
    color: #6c7480;
    font-size: 0.95rem;
}

.home-category-eyebrow {
    color: #dc3545;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 1rem;
}

.home-category-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e5ea;
    border-radius: 0.85rem;
    background: #ffffff;
    color: #1e232b;
    text-decoration: none;
    box-shadow: 0 0.35rem 1.15rem rgba(20, 27, 37, 0.055);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-category-card:hover {
    border-color: rgba(220, 53, 69, 0.45);
    color: #1e232b;
    transform: translateY(-4px);
    box-shadow: 0 0.9rem 1.75rem rgba(20, 27, 37, 0.12);
}

.home-category-card:focus-visible {
    outline: 3px solid rgba(220, 53, 69, 0.3);
    outline-offset: 3px;
}

.home-category-image-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef1f5;
}

.home-category-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 300ms ease;
}

.home-category-card:hover .home-category-image {
    transform: scale(1.045);
}

.home-category-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #8c95a1;
    font-size: 2.25rem;
    background: linear-gradient(135deg, #f3f5f8, #e7ebf0);
}

.home-category-name {
    display: block;
    padding: 0.9rem 2.5rem 0.95rem 1rem;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-category-arrow {
    position: absolute;
    right: 1rem;
    bottom: 0.92rem;
    color: #dc3545;
    font-size: 1rem;
    transition: transform 180ms ease;
}

.home-category-card:hover .home-category-arrow {
    transform: translateX(3px);
}

@media (max-width: 767.98px) {
    .home-category-showcase {
        padding: 1.1rem;
        margin-bottom: 2.25rem;
    }

    .home-category-heading {
        align-items: start;
        flex-direction: column;
        gap: 0.4rem;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .home-category-name {
        font-size: 0.92rem;
    }
}

@media (max-width: 380px) {
    .home-category-grid {
        grid-template-columns: 1fr;
    }
}


/* Category catalog */
.category-catalog {
    --catalog-border: #e5e9ef;
    --catalog-muted: #667085;
    --catalog-surface: #ffffff;
    --catalog-soft: #f7f8fa;
    margin: 2rem 0 4rem;
}

.category-catalog__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--catalog-border);
    border-radius: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.category-catalog__header h1 {
    margin: 0.35rem 0 0;
    font-size: clamp(1.5rem, 2vw, 2.1rem);
    font-weight: 750;
}

.category-catalog__header p {
    max-width: 52rem;
    margin: 0.65rem 0 0;
    color: var(--catalog-muted);
}

.category-catalog__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--catalog-muted);
    font-size: 0.84rem;
}

.category-catalog__count {
    display: flex;
    min-width: 8.5rem;
    flex-direction: column;
    align-items: flex-end;
    color: var(--catalog-muted);
}

.category-catalog__count strong {
    color: #111827;
    font-size: 1.55rem;
    line-height: 1;
}

.category-catalog__layout {
    display: grid;
    grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
    align-items: start;
    gap: 1.25rem;
}

.category-filter {
    position: sticky;
    top: 1rem;
    overflow: hidden;
    border: 1px solid var(--catalog-border);
    border-radius: 1rem;
    background: var(--catalog-surface);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}

.category-filter__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--catalog-border);
    background: var(--catalog-soft);
}

.category-filter__heading > div {
    display: flex;
    flex-direction: column;
}

.category-filter__heading span {
    font-weight: 750;
}

.category-filter__heading small,
.category-filter__range-info {
    color: var(--catalog-muted);
    font-size: 0.76rem;
}

.category-filter__clear {
    color: #dc3545;
    font-size: 0.82rem;
    font-weight: 650;
    text-decoration: none;
}

.category-filter form {
    padding: 0 1.1rem 1.1rem;
}

.category-filter__group {
    padding: 1rem 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--catalog-border);
}

.category-filter__group legend {
    float: none;
    width: auto;
    margin: 0 0 0.65rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.category-filter__options {
    display: grid;
    gap: 0.45rem;
    max-height: 13rem;
    overflow: auto;
    padding-right: 0.25rem;
}

.category-filter__option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    cursor: pointer;
    color: #344054;
    font-size: 0.88rem;
}

.category-filter__option input {
    width: 1rem;
    height: 1rem;
    accent-color: #dc3545;
}

.category-filter__option small {
    min-width: 1.8rem;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    background: #eef1f5;
    color: var(--catalog-muted);
    text-align: center;
}

.category-filter__price {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.category-filter__price label > span {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--catalog-muted);
    font-size: 0.76rem;
}

.category-filter__range-info {
    display: block;
    margin-top: 0.5rem;
}

.category-filter__apply {
    margin-top: 1rem;
}

.category-products {
    min-width: 0;
}

.category-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.category-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--catalog-border);
    border-radius: 1rem;
    background: var(--catalog-surface);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-product-card:hover {
    transform: translateY(-3px);
    border-color: #d1d7e0;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.category-product-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f5f7fa;
}

.category-product-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 240ms ease;
}

.category-product-card:hover .category-product-card__image img {
    transform: scale(1.035);
}

.category-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0.9rem;
}

.category-product-card__brand {
    margin-bottom: 0.25rem;
    color: var(--catalog-muted);
    font-size: 0.76rem;
}

.category-product-card__name {
    display: -webkit-box;
    min-height: 2.7rem;
    overflow: hidden;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.category-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding-top: 0.85rem;
    margin-top: auto;
    border-top: 1px solid var(--catalog-border);
}

.category-product-card__footer strong {
    white-space: nowrap;
    font-size: 1rem;
}

.category-empty-state {
    display: grid;
    min-height: 24rem;
    place-items: center;
    align-content: center;
    padding: 2rem;
    border: 1px dashed #cbd2dc;
    border-radius: 1rem;
    background: var(--catalog-soft);
    text-align: center;
}

.category-empty-state i {
    color: #98a2b3;
    font-size: 2.5rem;
}

.category-empty-state h2 {
    margin: 0.75rem 0 0.35rem;
    font-size: 1.2rem;
}

.category-empty-state p {
    color: var(--catalog-muted);
}

.category-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
}

.category-pagination__button {
    display: inline-grid;
    min-width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border: 1px solid var(--catalog-border);
    border-radius: 0.65rem;
    background: #fff;
    color: #344054;
    font-weight: 650;
}

.category-pagination__button:hover:not(:disabled),
.category-pagination__button.is-active {
    border-color: #dc3545;
    background: #dc3545;
    color: #fff;
}

.category-pagination__button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.category-pagination__ellipsis {
    color: var(--catalog-muted);
}

@media (max-width: 991.98px) {
    .category-catalog__layout {
        grid-template-columns: 1fr;
    }

    .category-filter {
        position: static;
    }

    .category-filter form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 1rem;
    }

    .category-filter__category {
        grid-column: 1 / -1;
    }

    .category-filter__apply {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .category-catalog__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-catalog__count {
        align-items: flex-start;
    }

    .category-filter form {
        grid-template-columns: 1fr;
    }

    .category-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

@media (max-width: 420px) {
    .category-product-grid {
        grid-template-columns: 1fr;
    }
}

.category-filter__price-toggle {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.65rem;
    color: #344054;
    cursor: pointer;
    font-size: 0.8rem;
}

.category-filter__price-toggle input {
    width: 1rem;
    height: 1rem;
    accent-color: #dc3545;
}

/* Ana sayfa güven ve hizmet avantajları */
.home-trust {
    --home-trust-accent: #dc3545;
    --home-trust-ink: #17152f;
    margin: 1rem 0 3.5rem;
}

.home-trust__heading {
    margin-bottom: 1.25rem;
    text-align: center;
}

.home-trust__heading span {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--home-trust-accent);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-trust__heading h2 {
    margin: 0;
    color: #151a25;
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    font-weight: 750;
}

.home-trust__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.home-trust-card {
    display: flex;
    min-width: 0;
    min-height: 14.5rem;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #e3e7ee;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0.65rem 1.8rem rgba(23, 21, 47, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-trust-card:hover {
    border-color: rgba(220, 53, 69, 0.35);
    box-shadow: 0 1rem 2.25rem rgba(23, 21, 47, 0.12);
    transform: translateY(-0.3rem);
}

.home-trust-card__icon {
    display: grid;
    min-height: 7.2rem;
    place-items: center;
    background: linear-gradient(145deg, #fff 15%, #f7f8fb 100%);
    color: var(--home-trust-accent);
}

.home-trust-card__icon i {
    font-size: 3.35rem;
    line-height: 1;
}

.home-trust-card__content {
    display: flex;
    min-height: 7.3rem;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1rem 1.1rem;
    border-top: 0.22rem solid var(--home-trust-accent);
    background: var(--home-trust-ink);
    color: #fff;
    text-align: center;
}

.home-trust-card__content h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-weight: 750;
}

.home-trust-card__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    line-height: 1.45;
}

@media (max-width: 1199.98px) {
    .home-trust__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .home-trust {
        margin-bottom: 2.5rem;
    }

    .home-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479.98px) {
    .home-trust__grid {
        grid-template-columns: 1fr;
    }

    .home-trust-card {
        min-height: 0;
    }
}
