/* Store Module Styles */

/* Category Item Overlay Hover Effects */
.category-item-overlay:hover .overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0.3) 100%);
}

/* Categories Summary Carousel */
.categoriesSummary .carousel-inner {
    border-radius: 0 !important;
}

/* Category Cover Styles */
.categoryCover {
    transition: all 0.3s ease;
}

.categoryCover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-additional-info-detail {
    scroll-margin-top: 90px;
    /* Üstte bırakmak istediğiniz boşluk kadar px */
}

/* Category Item Overlay Base Styles */
.category-item-overlay {
    transition: all 0.3s ease;
}

.category-item-overlay:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Category Carousel Pagination */
.categoryCarousel .swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
}

.categoryCarousel .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.categoryCarousel .swiper-pagination-bullet-active {
    background: #fff;
}

/* Kategori navigasyon stilleri */
.category-tree .category-expand-link {
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.category-tree .category-expand-link:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.category-tree .category-direct-link {
    color: #6c757d;
    transition: all 0.2s ease;
}

.category-tree .category-direct-link:hover {
    color: var(--primaryColor);
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateX(2px);
}

.categorySummary .swiper-slide {
    height: 100%;
}

.storeBanner * {
    margin: 0 !important;

}

.offcanvas.offcanvas-end:focus-visible {
    outline: none !important;
}

.storeBanner img {
    max-width: 100%;
}

.storeNotice {
    display: block;
    text-align: center;
}

.favorite-button {
    width: 32px;
    height: 32px;
    font-size: 13px;
    background-color: white;
    border: 0;
    color: var(--primaryColor);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discount-badge {
    background-color: red;
    display: flex;
    align-items: center;
    color: white;
    flex-direction: column;
    aspect-ratio: 1 / 1;
    width: 32px;
    line-height: normal;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.discount-badge .icon {
    font-size: small;
    margin-bottom: -4px;
}

.order-item-price .fw-bold {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-item-price * {
    font-size: 16px;
}

.attribute-icon {
    max-width: 32px;
}

.footer-badge-img--etbis {
    width: 80px;
    height: fit-content;
}

.footer-feature-img {
    max-width: 32px;
    max-height: 32px;
}

.basket-bar .item-count {
    position: absolute;
    top: 4px;
    right: -6px;
    background-color: var(--primaryColor);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 13px;
    text-align: center;
}

.route-magaza #floatingContactBar {
    display: none;
}

.categorySummary .description p {
    margin-bottom: 0
}

.showcase-card {
    transition: all .2s ease-in-out;
}

.showcase-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

.showcase-card-inner {
    min-height: 160px;
    padding: 1.5rem;
}

.showcase-card-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.showcase-card-content.has-image {
    padding-right: 42%;
}

.showcase-card-price {
    letter-spacing: .06em;
}

.showcase-card-title {
    line-height: 1.15;
}

.showcase-card-desc {
    font-size: .82rem;
    margin-top: .3rem;
}

.showcase-card-cta-wrap {
    margin-top: .9rem;
}

.showcase-card-cta {
    font-size: .75rem;
    letter-spacing: .08em;
    padding-bottom: 1px;
}

.showcase-card-img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 40%;
    object-fit: cover;
    object-position: left center;
}

.cat-featured-banner {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: .5rem;
    overflow: hidden;
    text-decoration: none;
}

.cat-featured-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cat-featured-banner-bg {
    position: absolute;
    inset: 0;
    background: var(--bs-secondary-bg, #e9ecef);
}

.cat-featured-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0, 0, 0, .72) 40%, rgba(0, 0, 0, .15) 100%);
}

.cat-featured-banner-body {
    position: relative;
    z-index: 1;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cat-featured-banner-name {
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: .5rem;
}

.cat-featured-banner-name,
.cat-featured-banner-desc,
.cat-featured-banner-cta {
    color: #fff;
}

.cat-featured-banner-bg~.cat-featured-banner-body .cat-featured-banner-name,
.cat-featured-banner-bg~.cat-featured-banner-body .cat-featured-banner-desc,
.cat-featured-banner-bg~.cat-featured-banner-body .cat-featured-banner-cta {
    color: var(--bs-body-color);
}

.cat-featured-banner-desc {
    font-size: .82rem;
    opacity: .85;
    margin-bottom: .9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-featured-banner-cta {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-bottom: 2px solid currentColor;
    padding-bottom: 1px;
    width: fit-content;
}

/* Swiper init öncesi flash önleme */
.categorySummary .swiper:not(.swiper-initialized) {
    overflow: hidden;
    opacity: 0;
}

.categorySummary .swiper {
    transition: opacity 0.2s ease;
}

/* Swiper grid mode: slide yüksekliğini eşitle */
.categorySummary--category_grid .swiper-slide {
    height: auto !important;
    box-sizing: border-box;
}

.categorySummary--showcase .swiper-slide {
    height: auto !important;
    box-sizing: border-box;
}

.cat-grid-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .5rem;
    height: 100%;
    overflow: hidden;
    transition: box-shadow .2s;
}

.cat-grid-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

.cat-grid-card__img-wrap {
    flex-shrink: 0;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-secondary-bg, #f8f9fa);
}

.cat-grid-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cat-grid-card__img-placeholder {
    width: 80px;
    min-height: 90px;
    background: var(--bs-secondary-bg, #f0f0f0);
}

.cat-grid-card__body {
    flex: 1;
    min-width: 0;
    padding: .6rem .75rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.cat-grid-card__name {
    font-weight: 700;
    font-size: .88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    color: inherit;
}

.cat-grid-card__name:hover {
    color: var(--bs-primary);
}

.cat-grid-card__children {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.cat-grid-card__child {
    font-size: .78rem;
    line-height: 1.65;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-grid-card__child a {
    color: var(--bs-secondary-color, #6c757d);
    text-decoration: none;
}

.cat-grid-card__child a:hover {
    color: var(--bs-primary);
}

.featuredCategory--category_grid {
    padding-bottom: 0px !important;
}

@media only screen and (max-width: 992px) {
    .categorySummary__featured {
        margin-top: 0 !important;
    }

    #basketApp .dropdown-menu {
        position: fixed;
        left: 0 !important;
        top: 0;
        right: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: unset !important;
        margin: 0;
        border: 0;
        border-radius: 0;
    }
}

.product-tabs-wrapper {
    overflow: hidden;
}

.product-tabs-wrapper {
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
}

.product-tabs-scroll {
    flex-wrap: nowrap !important;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid var(--bs-border-color);
    max-width: 100%;
    min-width: 0;
}

.product-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.product-tabs-scroll .nav-item {
    flex: 0 0 auto;
}

.product-tabs-scroll .nav-link {
    white-space: nowrap;
}

.product-tabs-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 24px;
    pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

@media (max-width: 575.98px) {
    .product-tabs-scroll .nav-link {
        padding: .5rem .75rem;
        font-size: .9rem;
    }
}

#mobile-basket-bar {
    max-width: 100vw;
    overflow: hidden;
}

#mobile-basket-bar .d-flex>* {
    min-width: 0;
}

#mobile-basket-bar .addBasketButton,
#mobile-basket-bar basket-save .btn,
#mobile-basket-bar basket-save button {
    white-space: nowrap;
    font-size: .9rem;
    padding: .45rem .75rem;
}

#mobile-basket-bar basket-save {
    display: inline-flex;
    align-items: center;
    max-width: 60%;
}

@media (max-width: 360px) {

    #mobile-basket-bar .addBasketButton,
    #mobile-basket-bar basket-save .btn,
    #mobile-basket-bar basket-save button {
        font-size: .8rem;
        padding: .4rem .55rem;
    }

    #mobile-basket-bar .addBasketButton i {
        display: none;
    }
}

/* ============================================================
   Ürün listeleme - görünüm modu seçici (sütun sayısı ikonları)
   ============================================================ */
.view-mode-switcher .view-mode-icon {
    display: inline-flex;
    align-items: stretch;
    gap: 2px;
    height: 16px;
    vertical-align: middle;
}

.view-mode-switcher .view-mode-bar {
    width: 2px;
    background: currentColor;
    border-radius: 1px;
}

.view-mode-switcher .view-mode-icon--list {
    flex-direction: column;
    width: 16px;
    gap: 3px;
    justify-content: center;
}

.view-mode-switcher .view-mode-row {
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

.view-mode-switcher .btn {
    padding: .35rem .55rem;
    display: flex;
    width: 35px;
    justify-content: center;
    align-items: center;
}



/* Mobilde sadece "2 sütun" ve "liste" butonları görünür; 3/4/5 gizlenir */
@media (max-width: 991.98px) {

    .view-mode-switcher .view-mode-grid-btn[data-cols="3"],
    .view-mode-switcher .view-mode-grid-btn[data-cols="4"],
    .view-mode-switcher .view-mode-grid-btn[data-cols="5"] {
        display: none !important;
    }
}

/* ============================================================
   Ürün Detay - Öne Çıkan Özellikler (StoreFeatureModel listesi)
   ============================================================ */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
}

.product-feature {
    list-style: none;
}

.product-feature-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    background: #fff;
    color: #2d3748;
    text-decoration: none;
    transition: all .18s ease;
}

.product-feature-link:hover {
    border-color: var(--bs-primary, #ff8a00);
    background: #fffaf2;
    color: var(--bs-primary, #ff8a00);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .12);
}

.product-feature-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb, 255, 138, 0), .1);
    color: var(--bs-primary, #ff8a00);
    flex-shrink: 0;
}

.product-feature-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.product-feature-img {
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
}

.product-feature-title {
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .2px;
    flex: 1;
}

.product-feature-arrow {
    font-size: .85rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: all .18s ease;
}

.product-feature-link:hover .product-feature-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   Fiyat Filtresi (price_filter partial)
   ============================================================ */
.price-filter .price-slider {
    position: relative;
    height: 28px;
}

.price-filter .price-slider-track,
.price-filter .price-slider-range {
    position: absolute;
    top: 12px;
    height: 4px;
    border-radius: 2px;
}

.price-filter .price-slider-track {
    left: 0;
    right: 0;
    background: #e9ecef;
}

.price-filter .price-slider-range {
    background: #212529;
}

.price-filter .price-slider-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 28px;
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.price-filter .price-slider-thumb::-webkit-slider-runnable-track {
    background: transparent;
    height: 28px;
    border: 0;
}

.price-filter .price-slider-thumb::-moz-range-track {
    background: transparent;
    height: 28px;
    border: 0;
}

.price-filter .price-slider-thumb::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: 5px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #212529;
    cursor: grab;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
    position: relative;
    z-index: 3;
}

.price-filter .price-slider-thumb::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #212529;
    cursor: grab;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.price-filter .price-slider-thumb:active::-webkit-slider-thumb {
    cursor: grabbing;
}

.price-filter .price-manual-toggle {
    font-size: .8rem;
}