/* Ürün kartı ve kategori listesi */
.bex-grid,
.bex-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 18px;
    margin: 0;
    width: 100%;
    align-items: stretch;
}

.bex-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1199px) {
    .bex-grid,
    .bex-grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bex-grid,
    .bex-grid-3,
    .bex-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }
}

.bex-item {
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 0;
    height: 100%;
}

.bex-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #f6f6f6;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    padding: 12px 12px 14px;
    transition: box-shadow .2s ease;
}

.bex-card:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
    z-index: 1;
}

.bex-card-top {
    position: relative;
}

.bex-card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 133.34%;
    overflow: hidden;
    background: #f6f6f6;
    border-radius: 8px;
}

.bex-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    object-fit: contain;
    object-position: center center;
    transition: opacity .2s ease;
}

.bex-card-image .ty-card-img {
    opacity: 1;
    z-index: 1;
}

.bex-card-image .ty-hover-img {
    opacity: 0;
    z-index: 2;
}

.bex-card-image .ty-hover-img.ty-hover-zoom {
    opacity: 1;
}

.bex-card:hover .bex-card-image .ty-hover-img:not(.ty-hover-zoom) {
    opacity: 1;
}

.bex-card:hover .bex-card-image:has(.ty-hover-img:not(.ty-hover-zoom)) .ty-card-img {
    opacity: 0;
}

.bex-card-image.has-slider {
    display: block;
}

.bex-card-image .bex-slides {
    position: absolute;
    inset: 0;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
}

.bex-card-image .bex-slides::-webkit-scrollbar {
    display: none;
}

.bex-card-image .bex-slides img.bex-slide {
    position: relative;
    inset: auto;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    user-select: none;
    -webkit-user-drag: none;
}

.bex-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    z-index: 3;
    display: flex;
    gap: 5px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}

.bex-dots i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(25, 25, 25, .25);
    transition: width .25s ease, background-color .25s ease;
}

.bex-dots i.is-active {
    width: 16px;
    background: var(--ty-primary, #f27a1a);
}

.bex-card:hover .bex-dots,
.bex-card-image.is-swiped .bex-dots {
    opacity: 1;
}

@media (hover: none) {
    .bex-dots {
        opacity: 1;
    }
}

.bex-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bex-badges li {
    display: inline-block;
    background: var(--ty-primary, #f27a1a);
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    padding: 0 8px;
    border-radius: 4px;
}

.bex-card-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

.bex-wish {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #191919;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    transform: scale(.8);
    transition: .2s ease;
}

.bex-card:hover .bex-wish,
.bex-wish.active,
.bex-wish.is-favorited {
    opacity: 1;
    transform: scale(1);
}

.bex-wish.active,
.bex-wish.is-favorited {
    color: #e23e1d;
}

.bex-card-middle {
    padding: 12px 4px 0;
}

.bex-card-name {
    display: block;
    color: #191919;
    text-decoration: none !important;
}

.bex-card-name h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #191919;
    background: transparent;
}

.bex-card-bottom {
    position: relative;
    margin-top: auto;
    padding: 10px 4px 0;
}

.bex-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 36px;
}

.bex-kdv {
    margin-top: 1px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
    color: #6b7280;
}

.bex-prices {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    height: 22px;
    overflow: hidden;
}

.bex-old {
    font-size: 13px;
    color: #9aa0a6;
    text-decoration: line-through;
    font-weight: 400;
}

.bex-now {
    font-size: 16px;
    font-weight: 600;
    color: #191919;
    line-height: 22px;
}

.bex-now.is-sale {
    color: var(--ty-primary, #f27a1a);
}

.bex-bag {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ty-primary, #f27a1a) !important;
    background: transparent;
    text-decoration: none !important;
    font-size: 18px;
}

.bex-bag:hover {
    color: var(--ty-primary-hover, #d86509) !important;
    background: rgba(242, 122, 26, .12);
}

.bex-shop .bex-bag {
    opacity: 0;
    transform: scale(.8);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, color .2s ease, background .2s ease;
}

.bex-shop .bex-card:hover .bex-bag,
.bex-shop .bex-card:focus-within .bex-bag {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.bex-sizes {
    margin-top: 8px;
}

.bex-sizes summary {
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.bex-sizes summary::-webkit-details-marker {
    display: none;
}

.bex-sizes summary:before {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #9aa0a6;
    margin-top: 1px;
}

.bex-sizes[open] summary:before {
    transform: rotate(180deg);
}

.bex-size-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
}

.bex-size {
    min-width: 32px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
    color: #191919;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bex-size.is-out {
    color: #9aa0a6;
    text-decoration: line-through;
}

.bex-swatches {
    display: flex;
    gap: 6px;
    padding-top: 10px;
}

.bex-swatch {
    width: 28px;
    height: 36px;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ececec;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bex-swatch:hover,
.bex-swatch.is-active {
    border-color: var(--ty-primary, #f27a1a);
    box-shadow: 0 0 0 1px #191919;
}

.bex-swatch:hover {
    transform: translateY(-2px);
}

.bex-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-content,
.page-wrapper,
.bex-shop {
    background: #fff;
    color: #191919;
}

.bex-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #9aa0a6;
    margin: 18px 0 22px;
}

.bex-crumb a {
    color: #9aa0a6;
    text-decoration: none !important;
}

.bex-crumb a:hover {
    color: #191919;
}

.bex-crumb span {
    color: #9aa0a6;
}

.bex-shop {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.bex-shop-side {
    width: 230px;
    flex: 0 0 230px;
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    align-self: flex-start;
    padding-right: 4px;
    scrollbar-width: thin;
}

.bex-shop-side::-webkit-scrollbar {
    width: 4px;
}

.bex-shop-side::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 999px;
}

.bex-altkat-scroll {
    display: none;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 12px;
    margin: 0 0 4px;
    scrollbar-width: none;
}

.bex-altkat-scroll::-webkit-scrollbar {
    display: none;
}

.bex-altkat-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #e8e2db;
    border-radius: 999px;
    background: #fff;
    color: #f27a1a !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    white-space: nowrap;
}

.bex-altkat-chip.is-active {
    background: #f27a1a;
    border-color: #f27a1a;
    color: #fff !important;
}

.bex-shop-main {
    flex: 1;
    min-width: 0;
}

.bex-side-title {
    font-size: 22px;
    font-weight: 600;
    color: #191919;
    margin: 0 0 14px;
    letter-spacing: 0;
}

.bex-cat-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bex-cat-nav > li {
    border-bottom: 1px solid #f0f0f0;
}

.bex-cat-row {
    display: flex;
    align-items: center;
    min-height: 42px;
}

.bex-cat-row > a {
    flex: 1;
    color: #191919;
    font-size: 14px;
    text-decoration: none !important;
    padding: 10px 0;
}

.bex-cat-row > a.is-current,
.bex-cat-nav summary span.is-current {
    font-weight: 600;
}

.bex-cat-row:after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #191919;
    border-bottom: 1.5px solid #191919;
    transform: rotate(-45deg);
    margin-left: 8px;
    flex: 0 0 8px;
}

.bex-cat-nav details {
    width: 100%;
}

.bex-cat-nav summary {
    display: flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
    min-height: 42px;
}

.bex-cat-nav summary::-webkit-details-marker {
    display: none;
}

.bex-cat-nav summary a,
.bex-cat-nav summary span {
    flex: 1;
    color: #191919;
    font-size: 14px;
    text-decoration: none !important;
    padding: 10px 0;
}

.bex-cat-nav summary:after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #191919;
    border-bottom: 1.5px solid #191919;
    transform: rotate(45deg);
    margin-left: 8px;
    flex: 0 0 8px;
}

.bex-cat-nav details[open] > summary:after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.bex-cat-nav .bex-cat-children {
    list-style: none;
    margin: 0;
    padding: 0 0 8px 8px;
}

.bex-cat-nav .bex-cat-children a {
    display: block;
    padding: 7px 0;
    color: #4b5563;
    font-size: 13px;
    text-decoration: none !important;
}

.bex-cat-nav .bex-cat-children a.is-current {
    color: #191919;
    font-weight: 600;
}

.bex-shop-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
}

.bex-shop-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #191919;
    line-height: 1.3;
}

.bex-shop-title em {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    color: #9aa0a6;
    margin-left: 6px;
}

.bex-shop-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bex-sort {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 42px;
    margin: 0;
    padding: 0 0 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease;
}

.bex-sort:hover {
    border-color: var(--ty-primary, #f27a1a);
}

.bex-sort > span {
    font-size: 13px;
    color: #9aa0a6;
    white-space: nowrap;
}

.bex-sort select {
    height: 40px;
    border: 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.2L6 6.2 11 1.2' fill='none' stroke='%23191919' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
    padding: 0 40px 0 8px;
    font-size: 14px;
    font-weight: 500;
    color: #191919;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.bex-fs {
    position: relative;
}

.bex-fs > summary {
    list-style: none;
}

.bex-fs > summary::-webkit-details-marker {
    display: none;
}

.bex-fs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid var(--ty-primary, #f27a1a);
    border-radius: 999px;
    background: var(--ty-primary, #f27a1a);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: background-color .2s ease;
}

.bex-fs-btn:hover,
.bex-fs[open] > .bex-fs-btn {
    background: var(--ty-primary, #f27a1a);
}

.bex-fs-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--ty-primary, #f27a1a);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.bex-fs-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 30;
    width: 380px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-height: min(640px, calc(100vh - 160px));
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(20, 16, 12, .16);
    overflow: hidden;
}

.bex-fs[open] .bex-fs-panel {
    animation: bexFsAc .22s ease-out;
}

@keyframes bexFsAc {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

.bex-fs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.bex-fs-head strong {
    font-size: 16px;
    font-weight: 600;
    color: #191919;
}

.bex-fs-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f5f5f5;
    color: #191919;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.bex-fs-close:hover {
    background: #ebebeb;
}

.bex-fs-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    margin: 0;
}

.bex-fs-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 4px 20px;
    overscroll-behavior: contain;
}

.bex-fs-sec {
    padding: 16px 0;
}

.bex-fs-sec + .bex-fs-sec {
    border-top: 1px solid #f0f0f0;
}

.bex-fs-sec-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.bex-fs-sec-head h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #191919;
}

.bex-fs-sec-head small {
    font-size: 12px;
    color: #9aa0a6;
}

.bex-range {
    position: relative;
    height: 24px;
    margin: 0 9px 14px;
}

.bex-range-track {
    position: absolute;
    left: -9px;
    right: -9px;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    border-radius: 999px;
    background: #ececec;
}

.bex-range-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 999px;
    background: var(--ty-primary, #f27a1a);
}

.bex-range input[type="range"] {
    position: absolute;
    left: -9px;
    width: calc(100% + 18px);
    top: 0;
    height: 24px;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.bex-range input[type="range"]::-webkit-slider-runnable-track {
    background: none;
    border: 0;
}

.bex-range input[type="range"]::-moz-range-track {
    background: none;
    border: 0;
}

.bex-range input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid var(--ty-primary, #f27a1a);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    cursor: grab;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    transition: transform .15s ease;
}

.bex-range input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 2px solid var(--ty-primary, #f27a1a);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    cursor: grab;
    pointer-events: auto;
}

.bex-range input[type="range"]:active::-webkit-slider-thumb,
.bex-range input[type="range"]:focus-visible::-webkit-slider-thumb {
    transform: scale(1.15);
}

.bex-fs-prices {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bex-fs-prices > i {
    font-style: normal;
    color: #9aa0a6;
}

.bex-price-box {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 6px 34px 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: text;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bex-price-box:focus-within {
    border-color: var(--ty-primary, #f27a1a);
    box-shadow: 0 0 0 3px rgba(25, 25, 25, .08);
}

.bex-price-box.is-hata {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

.bex-price-box span {
    display: block;
    font-size: 11px;
    color: #9aa0a6;
    line-height: 1.2;
}

.bex-price-box input {
    display: block;
    width: 100%;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #191919;
    outline: none;
    -moz-appearance: textfield;
}

.bex-price-box input::-webkit-outer-spin-button,
.bex-price-box input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.bex-price-box em {
    position: absolute;
    right: 12px;
    bottom: 9px;
    font-style: normal;
    font-size: 12px;
    color: #9aa0a6;
}

.bex-fs-uyari {
    margin: 8px 0 0;
    font-size: 12px;
    color: #dc2626;
}

.bex-fs-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.bex-fs-quick a {
    padding: 7px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 12px;
    color: #374151;
    text-decoration: none !important;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.bex-fs-quick a:hover {
    border-color: var(--ty-primary, #f27a1a);
    color: #191919;
}

.bex-fs-quick a.is-active {
    background: var(--ty-primary, #f27a1a);
    border-color: var(--ty-primary, #f27a1a);
    color: #fff;
}

.bex-fs-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 8px;
}

.bex-size-opt {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.bex-size-opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bex-size-opt span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #191919;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.bex-size-opt span small {
    font-size: 10px;
    font-weight: 500;
    color: #9aa0a6;
}

.bex-size-opt:hover span {
    border-color: var(--ty-primary, #f27a1a);
}

.bex-size-opt input:checked + span {
    background: var(--ty-primary, #f27a1a);
    border-color: var(--ty-primary, #f27a1a);
    color: #fff;
}

.bex-size-opt input:checked + span small {
    color: rgba(255, 255, 255, .6);
}

.bex-size-opt input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(196, 154, 108, .45);
}

.bex-switch {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 8px 0;
    font-size: 14px;
    color: #191919;
    cursor: pointer;
}

.bex-switch small {
    color: #9aa0a6;
}

.bex-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bex-switch i {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 24px;
    border-radius: 999px;
    background: #e5e7eb;
    transition: background-color .2s ease;
}

.bex-switch i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    transition: transform .2s ease;
}

.bex-switch input:checked + i {
    background: var(--ty-primary, #f27a1a);
}

.bex-switch input:checked + i::after {
    transform: translateX(16px);
}

.bex-switch input:focus-visible + i {
    box-shadow: 0 0 0 3px rgba(196, 154, 108, .45);
}

.bex-fs-foot {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.bex-fs-clear,
.bex-fs-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
}

.bex-fs-clear {
    flex: 0 0 auto;
    padding: 0 18px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #191919 !important;
}

.bex-fs-clear:hover {
    border-color: var(--ty-primary, #f27a1a);
}

.bex-fs-apply {
    flex: 1;
    border: 0;
    background: var(--ty-primary, #f27a1a);
    color: #fff;
}

.bex-fs-apply:hover {
    background: var(--ty-primary, #f27a1a);
}

.bex-fs-apply:disabled {
    background: #9aa0a6;
    cursor: not-allowed;
}

.bex-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: -4px 0 18px;
}

.bex-active-filters a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 10px 0 14px;
    border-radius: 999px;
    background: #f5f1ec;
    color: #191919;
    font-size: 13px;
    text-decoration: none !important;
    transition: background-color .2s ease;
}

.bex-active-filters a span {
    font-size: 16px;
    line-height: 1;
    color: #6b7280;
}

.bex-active-filters a:hover {
    background: #ebe3d9;
}

.bex-active-filters a.bex-active-clear {
    padding: 0 6px;
    background: transparent;
    color: #6b7280;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.shop-empty-filter {
    grid-column: 1 / -1;
    width: 100%;
    padding: 40px 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

body.bex-fs-acik {
    overflow: hidden;
}

@media (max-width: 991px) {
    .bex-shop {
        flex-direction: column;
        gap: 8px;
    }

    .bex-shop-side {
        display: none;
    }

    .bex-altkat-scroll {
        display: flex;
        position: sticky;
        top: 72px;
        z-index: 40;
        background: #fff;
        padding-top: 8px;
        margin: 0 -4px 8px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .bex-shop-head {
        flex-wrap: wrap;
    }

    .bex-shop-tools {
        width: 100%;
    }

    .bex-sort,
    .bex-fs {
        flex: 1 1 0;
        min-width: 0;
    }

    .bex-sort > span {
        display: none;
    }

    .bex-sort select {
        width: 100%;
        min-width: 0;
        padding-left: 0;
        text-overflow: ellipsis;
    }

    .bex-fs-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .bex-fs[open]::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 6000;
        background: rgba(15, 12, 10, .45);
        animation: bexFsOrtu .2s ease-out;
    }

    .bex-fs-panel {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 6001;
        width: 100%;
        max-width: 100%;
        max-height: 88vh;
        max-height: 88dvh;
        border: 0;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, .18);
    }

    .bex-fs[open] .bex-fs-panel {
        animation: bexFsYukari .28s cubic-bezier(.22, .9, .25, 1);
    }

    .bex-fs-head {
        position: relative;
        padding-top: 22px;
    }

    .bex-fs-head::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        width: 40px;
        height: 4px;
        margin-left: -20px;
        border-radius: 999px;
        background: #e0e0e0;
    }

    .bex-fs-foot {
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }
}

@keyframes bexFsYukari {
    from { transform: translateY(100%); }
    to { transform: none; }
}

@keyframes bexFsOrtu {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .bex-fs[open] .bex-fs-panel,
    .bex-fs[open]::before {
        animation: none;
    }
}

@media (max-width: 767px) {
    .bex-wish,
    .bex-shop .bex-bag {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

/* Ürün detay: beratexpress düzeni */
/* Ürün detay renkleri :root / tema (--ty-primary) ile gelir; burada override yok */

.bex-detail .ty-brand-official-bar,
.bex-detail .ty-installment-bar,
.bex-detail .ty-whatsapp-direct-btn,
.bex-detail .ty-single-brand-box,
.bex-detail .ty-quick-specs-card,
.bex-detail .ty-shipping-promo-box,
.bex-detail .ty-stage-badges,
.bex-detail .ty-breadcrumb-actions {
    display: none !important;
}

.bex-detail .ty-gallery-flex {
    flex-direction: column;
    gap: 12px;
}

.bex-detail .ty-main-stage {
    width: 100%;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    box-shadow: none;
}

.bex-detail .ty-main-stage-wrap {
    position: relative !important;
    display: block !important;
    height: 0 !important;
    min-height: 0 !important;
    padding-top: 125% !important;
    aspect-ratio: auto !important;
    overflow: hidden;
}

.bex-detail .ty-main-stage-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 1 !important;
}

.bex-detail .ty-product-main-title {
    font-size: 24px;
    line-height: 30px;
    font-weight: 500;
    color: #191919;
    letter-spacing: 0;
}

.bex-detail .ty-rating-meta-row {
    border-bottom: 0;
    padding-bottom: 4px;
}

.bex-detail .ty-stock-indicator.in-stock {
    color: #1eb48e;
}

.bex-detail .ty-pricing-card {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 8px 0 0;
    margin-bottom: 8px;
}

.bex-detail .ty-price-num,
.bex-detail .ty-price-cur {
    color: #191919;
    font-weight: 500;
}

.bex-detail .ty-price-num {
    font-size: 24px;
}

.bex-detail .yeniButon.ty-btn-cart-main {
    background: var(--ty-primary, #f27a1a) !important;
    border-radius: 8px !important;
    text-transform: none !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    height: 45px !important;
}

.bex-detail .yeniButon.ty-btn-cart-main:hover {
    background: var(--ty-primary-hover, #d86509) !important;
    box-shadow: none !important;
    transform: none;
}

.bex-detail .ty-qty-stepper {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    height: 45px;
}

.bex-detail .ty-fav-action-btn {
    border: 1px solid #ebebeb !important;
    border-radius: 8px !important;
    color: #191919;
}

.bex-detail .ty-fav-action-btn.active,
.bex-detail .ty-fav-action-btn.is-favorited {
    color: #e23e1d;
}

.bex-detail .ty-tabs-container {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    box-shadow: none;
}

.bex-detail .ty-nav-link.active {
    color: #222529;
    border-bottom-color: #222529;
}

.bex-detail .ty-ms-cart-btn,
.bex-detail .ty-mobile-sticky-bar .ty-ms-cart-btn {
    background: var(--ty-primary, #f27a1a) !important;
    border-radius: 8px !important;
}

@media (max-width: 767px) {
    .ty-mobile-sticky-bar {
        bottom: calc(70px + env(safe-area-inset-bottom)) !important;
        z-index: 4500 !important;
    }

    body:has(.ty-mobile-sticky-bar) {
        padding-bottom: calc(156px + env(safe-area-inset-bottom)) !important;
    }
}

.ty-share-social-btn.tw {
    background: #111111 !important;
    color: #ffffff !important;
}

.ty-share-social-btn.tw i,
.ty-share-social-btn.tw svg,
.ty-share-social-btn.tw svg path {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.bex-detail .benzer-urunler-baslik {
    font-size: 22px;
    font-weight: 500;
    color: #191919;
}
