body { font-family: system-ui, -apple-system, sans-serif; }
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ürün sayfası galeri */
.product-zoom-wrap {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    background: #fff;
}

.product-zoom-wrap .product-zoom-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.15s ease;
}

.product-zoom-lens {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.product-zoom-wrap.is-zooming .product-zoom-lens {
    opacity: 1;
}

.product-zoom-wrap.is-zooming .product-zoom-img {
    opacity: 0;
}

.gallery-thumb {
    border: 2px solid transparent;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gallery-thumb.is-active {
    border-color: var(--color-primary, #e11d48);
    box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb, 225, 29, 72), 0.45);
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    flex-direction: column;
    background: rgb(0 0 0 / 0.92);
}

.product-lightbox.is-open {
    display: flex;
}

.product-lightbox__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    color: #fff;
}

.product-lightbox__stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-height: 0;
}

.product-lightbox__image {
    max-width: min(100%, 960px);
    max-height: 100%;
    object-fit: contain;
}

.product-lightbox__footer {
    padding: 0.75rem 1rem 1.25rem;
    background: rgb(0 0 0 / 0.35);
}

.product-lightbox__thumbs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.product-lightbox__thumb {
    width: 4.5rem;
    height: 4.5rem;
    flex: 0 0 auto;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    overflow: hidden;
    opacity: 0.65;
    transition: border-color 0.15s ease, opacity 0.15s ease;
}

.product-lightbox__thumb.is-active {
    border-color: var(--color-primary, #fb7185);
    opacity: 1;
}

.product-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-lightbox__close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.12);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
}

.product-lightbox__close:hover {
    background: rgb(255 255 255 / 0.2);
}

@media (max-width: 640px) {
    .product-lightbox__thumb {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.product-description {
    color: #374151;
    line-height: 1.7;
}

.product-description p {
    margin: 0 0 0.75rem;
}

.product-description p:last-child {
    margin-bottom: 0;
}

.product-description b,
.product-description strong {
    font-weight: 600;
    color: #111827;
}

.search-suggest {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 12px 30px rgb(0 0 0 / 0.12);
    max-height: 24rem;
    overflow-y: auto;
    z-index: 60;
}

.search-suggest__section + .search-suggest__section {
    border-top: 1px solid #f3f4f6;
}

.search-suggest__title {
    padding: 0.5rem 0.75rem 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
}

.search-suggest__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    color: #111827;
}

.search-suggest__row:hover {
    background: var(--color-primary-light, #fff1f2);
}

.search-suggest__thumb {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.mega-menu__panel {
    display: flex;
    min-height: 280px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgb(0 0 0 / 0.12);
    overflow: hidden;
}

.mega-menu__main {
    width: 16rem;
    flex-shrink: 0;
    max-height: 70vh;
    overflow-y: auto;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    padding: 0.35rem 0;
}

.mega-menu__main-link {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.mega-menu__fly {
    width: min(36rem, 70vw);
    max-height: 70vh;
    overflow-y: auto;
    padding: 0.75rem;
}

.mega-menu__sub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
}

.mega-menu__sub-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.65rem;
    padding: 0.45rem;
    font-size: 0.875rem;
    line-height: 1.3;
}

.mega-menu__sub-link img {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.product-buy {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}

.product-buy__price {
    display: none;
}

.product-buy__submit {
    flex: 1;
    min-width: 10rem;
    height: 3.25rem;
    padding: 0 1.5rem;
    border-radius: 0.5rem;
    background: var(--color-primary, #e11d48);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.product-buy__submit:hover {
    background: var(--color-primary-hover, #be123c);
}

.qty-stepper {
    display: inline-flex;
    align-items: stretch;
    height: 3.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
}

.qty-stepper button {
    width: 3.25rem;
    height: 100%;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.qty-stepper button:hover {
    background: #f3f4f6;
}

.qty-stepper input {
    width: 3.5rem;
    height: 100%;
    border: 0;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-stepper--compact {
    height: 2rem;
}

.qty-stepper--compact button {
    width: 2rem;
    font-size: 1rem;
}

.qty-stepper--compact input {
    width: 2.6rem;
    font-size: 0.875rem;
}

.cart-remove {
    display: block;
    margin-top: 0.4rem;
    margin-left: auto;
    color: #e11d48;
    font-size: 0.75rem;
    text-decoration: underline;
}

.cart-qty-alert {
    max-width: 11rem;
    margin-top: 0.35rem;
    color: #b45309;
    font-size: 0.75rem;
    line-height: 1.35;
    text-align: right;
}

.home-lazy__status {
    min-height: 4.5rem;
}

@media (max-width: 768px) {
    .mega-menu {
        display: none !important;
    }
}

/* Sepet çekmecesi — sağ üst */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 44;
    background: rgb(0 0 0 / 0.35);
}

.cart-drawer-backdrop.hidden {
    display: none;
}

.cart-drawer {
    position: fixed;
    top: 5.5rem;
    right: 0;
    z-index: 45;
    display: flex;
    align-items: stretch;
    pointer-events: none;
}

.cart-drawer__tab {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 2.75rem;
    min-height: 7rem;
    padding: 0.75rem 0.35rem;
    border: 1px solid #e5e7eb;
    border-right: 0;
    border-radius: 0.75rem 0 0 0.75rem;
    background: var(--color-primary, #e11d48);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.1;
    box-shadow: -4px 8px 24px rgb(0 0 0 / 0.12);
    transition: background-color 0.2s ease;
}

.cart-drawer__tab:hover {
    background: var(--color-primary-hover, #be123c);
}

.cart-drawer__tab-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.cart-drawer__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.25rem;
    border-radius: 9999px;
    background: #fde047;
    color: #111827;
    font-size: 0.7rem;
    font-weight: 700;
}

.cart-drawer__panel {
    pointer-events: auto;
    width: 18rem;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-right: 0;
    border-radius: 0.75rem 0 0 0.75rem;
    box-shadow: -8px 12px 32px rgb(0 0 0 / 0.14);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.cart-drawer.is-open .cart-drawer__panel {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.cart-drawer__close {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    color: #6b7280;
    font-size: 1.5rem;
    line-height: 1;
}

.cart-drawer__close:hover {
    background: #f3f4f6;
    color: #111827;
}

.cart-drawer__notice {
    margin: 0.75rem 1rem 0;
    padding: 0.55rem 0.65rem;
    border-radius: 0.5rem;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.75rem;
    line-height: 1.4;
}

.cart-drawer__items {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-drawer__item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.cart-drawer__item-thumb {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.cart-drawer__controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.cart-drawer__stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 0.4rem;
    overflow: hidden;
    background: #fff;
}

.cart-drawer__stepper button {
    width: 1.45rem;
    height: 1.45rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.cart-drawer__stepper button:hover {
    background: #f3f4f6;
}

.cart-drawer__stepper span {
    min-width: 1.35rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.cart-drawer__remove {
    padding: 0;
    border: 0;
    background: transparent;
    color: #e11d48;
    font-size: 0.75rem;
    text-decoration: underline;
}

.cart-drawer__alert,
.cart-drawer__alert-banner {
    color: #b45309;
    font-size: 0.75rem;
    line-height: 1.35;
}

.cart-drawer__alert {
    margin-top: 0.3rem;
}

.cart-drawer__alert-banner {
    margin: 0.75rem 1rem 0;
    padding: 0.5rem 0.65rem;
    border-radius: 0.5rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.cart-drawer__btn--disabled {
    background: #e5e7eb;
    color: #6b7280;
    cursor: not-allowed;
}

.cart-drawer__total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid #f3f4f6;
    font-weight: 700;
}

.cart-drawer__actions {
    display: grid;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
}

.cart-drawer__btn {
    display: block;
    text-align: center;
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.cart-drawer__btn--outline {
    border: 1px solid var(--color-primary, #e11d48);
    color: var(--color-primary, #e11d48);
}

.cart-drawer__btn--outline:hover {
    background: var(--color-primary-light, #fff1f2);
}

.cart-drawer__btn--primary {
    background: var(--color-primary, #e11d48);
    color: #fff;
}

.cart-drawer__btn--primary:hover {
    background: var(--color-primary-hover, #be123c);
}

body.cart-drawer-open,
body.mobile-nav-open {
    overflow: hidden;
}

.header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    color: #111827;
}

.header-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.header-icon__count {
    position: absolute;
    top: 0.05rem;
    right: 0;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: var(--color-primary, #e11d48);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-drawer__empty {
    padding: 1.5rem 1rem 2rem;
    text-align: center;
    color: #6b7280;
}

@media (max-width: 1023px) {
    header .site-header__bar {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        row-gap: 0.75rem;
    }

    header .site-logo {
        position: absolute;
        left: 50%;
        top: calc(0.75rem + 1.25rem);
        transform: translate(-50%, -50%);
        max-width: min(9.5rem, calc(100% - 9.5rem));
        text-align: center;
        z-index: 1;
    }

    header .site-logo img {
        height: 2.25rem;
        max-width: 100%;
        margin-inline: auto;
    }

    header .site-header__mobile-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    header .site-search {
        flex: 1 1 100%;
        width: 100%;
        order: 5;
    }

    .cart-drawer__tab {
        display: none !important;
    }

    .cart-drawer-backdrop {
        z-index: 55;
    }

    .cart-drawer {
        top: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        z-index: 60;
    }

    .cart-drawer__panel {
        width: min(22rem, 92vw);
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    body.product-page #product-display-price {
        display: none;
    }

    body.product-page main {
        padding-bottom: 6.5rem;
    }

    body.product-page:has(.product-option-group) main {
        padding-bottom: min(40vh, 14rem);
    }

    .product-purchase {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 35;
        max-height: 46vh;
        overflow: auto;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -8px 24px rgb(0 0 0 / 0.08);
        padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
    }

    .product-purchase .product-option-group {
        margin-bottom: 0.35rem;
    }

    .product-purchase .product-option-group__label {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .product-purchase .product-option-pills {
        flex-wrap: nowrap;
        gap: 0.4rem;
        overflow-x: auto;
        padding-bottom: 0.15rem;
    }

    .product-purchase .product-option-pill__box {
        width: 3.15rem;
        gap: 0.15rem;
        padding: 0.2rem;
        border-radius: 0.45rem;
    }

    .product-purchase .product-option-pill__thumb {
        width: 2.15rem;
        height: 2.15rem;
    }

    .product-purchase .product-option-pill__name {
        font-size: 0.6rem;
    }

    .product-purchase .product-option-pill__text {
        min-height: 1.75rem;
        padding: 0.15rem 0.55rem;
        font-size: 0.75rem;
    }

    .product-purchase .product-buy {
        position: sticky;
        bottom: 0;
        display: flex;
        align-items: center;
        gap: 0.45rem;
        background: #fff;
        padding-top: 0.4rem;
    }

    .product-purchase .product-buy__price {
        display: block;
        flex: 0 0 auto;
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1.1;
        color: var(--color-primary, #e11d48);
        white-space: nowrap;
    }

    .product-purchase .qty-stepper,
    .product-purchase .product-buy__submit {
        height: 2.75rem;
    }

    .product-purchase .qty-stepper button {
        width: 2.15rem;
    }

    .product-purchase .qty-stepper input {
        width: 2.35rem;
    }

    .product-purchase .product-buy__submit {
        flex: 1;
        min-width: 0;
        padding: 0 0.55rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .whatsapp-float {
        left: auto;
        right: 0.85rem;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .whatsapp-float:hover {
        transform: translateY(-50%) scale(1.05);
    }
}

/* Mobil kategori menüsü — soldan sağa */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 48;
    background: rgb(0 0 0 / 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 49;
    width: min(20rem, 88vw);
    pointer-events: none;
}

.mobile-nav__panel {
    height: 100%;
    background: #fff;
    box-shadow: 8px 0 32px rgb(0 0 0 / 0.15);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav.is-open .mobile-nav__panel {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s ease, visibility 0s linear 0s;
}

.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    background: var(--color-primary, #e11d48);
    color: #fff;
}

.mobile-nav__close {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.15);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
}

.mobile-nav__body {
    overflow-y: auto;
    padding: 0.75rem 0 1.5rem;
}

.mobile-nav__all {
    display: block;
    margin: 0 0.75rem 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.65rem;
    background: var(--color-primary-light, #fff1f2);
    color: var(--color-primary, #e11d48);
    font-weight: 700;
}

.mobile-nav__section + .mobile-nav__section {
    border-top: 1px solid #f3f4f6;
}

.mobile-nav__main-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    font-weight: 600;
    color: #111827;
}

.mobile-nav__main-link:hover {
    background: var(--color-primary-light, #fff1f2);
    color: var(--color-primary, #e11d48);
}

.mobile-nav__subs {
    padding: 0 0.75rem 0.75rem 1rem;
    display: grid;
    gap: 0.35rem;
}

.mobile-nav__sub-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.55rem;
    font-size: 0.875rem;
    color: #374151;
}

.mobile-nav__sub-link:hover {
    background: #f9fafb;
    color: var(--color-primary, #e11d48);
}

.mobile-nav__thumb {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.whatsapp-float {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 43;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 24px rgb(37 211 102 / 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgb(37 211 102 / 0.45);
}

.whatsapp-float__icon {
    width: 1.85rem;
    height: 1.85rem;
}

@media (max-width: 640px) {
    .whatsapp-float {
        right: 0.75rem;
    }
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.stock-badge--in {
    background: #ecfdf5;
    color: #047857;
}

.stock-badge--low {
    background: #fff7ed;
    color: #c2410c;
}

.stock-badge--out {
    background: #fef2f2;
    color: #b91c1c;
}

.admin-category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-height: 70vh;
    overflow-y: auto;
}

.admin-category-link {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 0.55rem;
    font-size: 0.875rem;
    color: #374151;
}

.admin-category-link:hover {
    background: #f9fafb;
    color: var(--color-primary, #e11d48);
}

.admin-category-link.is-active {
    background: var(--color-primary-light, #fff1f2);
    color: var(--color-primary, #e11d48);
    font-weight: 600;
}

.category-sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}

.category-sidebar__title {
    padding: 1rem 1rem 0.5rem;
    font-weight: 700;
    font-size: 1rem;
}

.category-sidebar__all {
    display: block;
    margin: 0 0.75rem 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.65rem;
    background: var(--color-primary-light, #fff1f2);
    color: var(--color-primary, #e11d48);
    font-weight: 700;
    font-size: 0.875rem;
}

.category-sidebar__section + .category-sidebar__section {
    border-top: 1px solid #f3f4f6;
}

.category-sidebar__section {
    padding: 0.35rem 0.75rem 0.75rem;
}

.category-sidebar__section--active {
    margin: 0.5rem 0.75rem;
    padding: 0.35rem;
    border: 2px solid var(--color-primary, #e11d48);
    border-radius: 0.75rem;
    background: var(--color-primary-light, #fff1f2);
}

.category-sidebar__section--active + .category-sidebar__section {
    border-top: 0;
}

.category-sidebar__main-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.65rem;
    border-radius: 0.55rem;
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
}

.category-sidebar__main-link:hover,
.category-sidebar__sub-link:hover {
    background: rgb(255 255 255 / 0.72);
    color: var(--color-primary, #e11d48);
}

.category-sidebar__main-link.is-active,
.category-sidebar__sub-link.is-active {
    color: var(--color-primary, #e11d48);
    font-weight: 700;
}

.category-sidebar__subs {
    padding: 0 0.35rem 0.25rem 0.65rem;
    display: grid;
    gap: 0.2rem;
}

.category-sidebar__sub-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.55rem;
    font-size: 0.8125rem;
    color: #374151;
}

.category-sidebar__thumb {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.product-rating-stars {
    color: #f59e0b;
    letter-spacing: 0.05em;
}

.product-review + .product-review {
    margin-top: 0;
}

.slide-unlock__track {
    position: relative;
    height: 3rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background: #f9fafb;
    overflow: hidden;
    user-select: none;
    touch-action: none;
}

.slide-unlock__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3.2rem;
    color: #6b7280;
    font-size: 0.875rem;
    pointer-events: none;
}

.slide-unlock__knob {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 9999px;
    background: #e11d48;
    color: #fff;
    cursor: grab;
    touch-action: none;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.15);
}

.slide-unlock__knob::before {
    content: "›";
    font-size: 1.5rem;
    line-height: 1;
}

.slide-unlock.is-done .slide-unlock__track {
    background: #dcfce7;
    border-color: #86efac;
}

.slide-unlock.is-done .slide-unlock__label {
    color: #166534;
    font-weight: 600;
}

.slide-unlock.is-done .slide-unlock__knob {
    background: #16a34a;
    cursor: default;
}

.checkout-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 700;
}

.checkout-summary-item {
    display: grid;
    grid-template-columns: 4rem 1fr auto;
    gap: 0.75rem;
    align-items: start;
}

.checkout-summary-item__image {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.checkout-summary-item__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin-top: 0.45rem;
}

.checkout-summary-item__tools .cart-remove {
    display: inline;
    margin: 0;
}

.checkout-summary-item__tools .cart-qty-alert,
.checkout-summary-item__min {
    flex-basis: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
    color: #6b7280;
    font-size: 0.75rem;
}

.checkout-summary-item__tools .cart-qty-alert {
    color: #b45309;
}

.contract-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.contract-modal.hidden {
    display: none;
}

.contract-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.5);
}

.contract-modal__panel {
    position: relative;
    width: min(920px, 100%);
    max-height: min(90vh, 900px);
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.contract-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.contract-modal__close {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    font-size: 1.5rem;
    line-height: 1;
    color: #6b7280;
}

.contract-modal__close:hover {
    background: #f3f4f6;
}

.contract-modal__body {
    padding: 1.25rem;
    overflow: auto;
}

.contract-document h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contract-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0 1rem;
    font-size: 0.8125rem;
}

.contract-table th,
.contract-table td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.65rem;
    text-align: left;
    vertical-align: top;
}

.contract-table th {
    width: 38%;
    background: #f9fafb;
    font-weight: 600;
}

.contract-table--products thead th {
    background: #f3f4f6;
}

.contract-list {
    margin: 0.5rem 0 1rem;
    padding-left: 1.25rem;
}

.contract-list li + li {
    margin-top: 0.35rem;
}

.contract-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.8125rem;
}

.contact-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    background: #fafafa;
}

.product-video__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #111827;
    border: 1px solid #e5e7eb;
}

.product-video__poster {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #000;
}

.product-video__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.product-video__poster:hover .product-video__thumb,
.product-video__poster:focus-visible .product-video__thumb {
    opacity: 0.78;
}

.product-video__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.92);
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.25);
    pointer-events: none;
}

.product-video__play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 0.85rem 0 0.85rem 1.35rem;
    border-color: transparent transparent transparent var(--color-primary, #e11d48);
}

.product-video__iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Kargo takip zaman çizelgesi */
.cargo-timeline {
    margin-top: 0.5rem;
}

.cargo-timeline__head {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: #eff6ff;
    border-radius: 0.75rem;
    border: 1px solid #bfdbfe;
}

.cargo-timeline__tracking {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.cargo-timeline__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cargo-timeline__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e11d48;
    text-decoration: none;
}

.cargo-timeline__link--muted {
    color: #6b7280;
    font-weight: 500;
}

.cargo-timeline__steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cargo-timeline__step {
    position: relative;
    padding: 0 0 1.25rem 2rem;
}

.cargo-timeline__step:last-child {
    padding-bottom: 0;
}

.cargo-timeline__step::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 1.1rem;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.cargo-timeline__step:last-child::before {
    display: none;
}

.cargo-timeline__dot {
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid #d1d5db;
    box-sizing: border-box;
}

.cargo-timeline__step--done .cargo-timeline__dot {
    border-color: #16a34a;
    background: #16a34a;
}

.cargo-timeline__step--active .cargo-timeline__dot {
    border-color: #e11d48;
    background: #e11d48;
    box-shadow: 0 0 0 4px rgb(225 29 72 / 0.2);
}

.cargo-timeline__step--cancelled .cargo-timeline__dot {
    border-color: #9ca3af;
    background: #9ca3af;
}

.cargo-timeline__label {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.cargo-timeline__step--active .cargo-timeline__label {
    color: #e11d48;
}

.cargo-timeline__time,
.cargo-timeline__note {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.cargo-timeline__ext {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #e11d48;
    font-weight: 600;
}

/* Hesabım */
.account-page__layout {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .account-page__layout {
        grid-template-columns: 240px minmax(0, 1fr);
        align-items: start;
    }
}

.account-sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}

.account-sidebar__nav {
    display: flex;
    flex-direction: column;
}

.account-sidebar__link {
    display: block;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 500;
}

.account-sidebar__link:hover {
    background: #fff1f2;
    color: #e11d48;
}

.account-sidebar__link.is-active {
    background: #fff1f2;
    color: #e11d48;
    font-weight: 700;
    border-left: 3px solid #e11d48;
}

.account-sidebar__link--muted {
    color: #6b7280;
}

.account-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.account-panel--flat {
    background: transparent;
    border: 0;
    padding: 0;
}

.account-panel__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.account-field {
    display: block;
}

.account-field > span {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.account-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.625rem 0.75rem;
}

.account-btn {
    background: #e11d48;
    color: #fff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.account-btn:hover {
    background: #be123c;
}

.account-address-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    background: #fafafa;
}

.account-empty {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: #6b7280;
}

.account-orders {
    display: grid;
    gap: 1rem;
}

.account-order-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}

.account-order-card__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.account-order-card__date {
    font-size: 0.875rem;
    color: #6b7280;
}

.account-order-card__number {
    font-weight: 700;
    margin-top: 0.15rem;
}

.account-order-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
}

.account-order-items {
    padding: 0.5rem 0;
}

.account-order-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 0.875rem;
    align-items: center;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.account-order-item:last-child {
    border-bottom: 0;
}

.account-order-item__image {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.account-order-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-order-item__name {
    display: block;
    font-weight: 600;
    color: #111827;
    line-height: 1.35;
}

.account-order-item__name:hover {
    color: #e11d48;
}

.account-order-item__options,
.account-order-item__qty {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.account-order-item__price {
    font-weight: 700;
    white-space: nowrap;
}

.account-order-card__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

.account-order-card__total {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
}

.account-order-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.account-order-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e11d48;
}

.account-order-link--primary {
    background: #e11d48;
    color: #fff;
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
}

.account-order-card__cargo {
    padding: 0 1.25rem 1.25rem;
}

.account-order-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.account-order-badge--delivered {
    background: #dcfce7;
    color: #166534;
}

.account-order-badge--shipped {
    background: #dbeafe;
    color: #1d4ed8;
}

.account-order-badge--processing {
    background: #ffedd5;
    color: #c2410c;
}

.account-order-badge--pending {
    background: #f3f4f6;
    color: #374151;
}

.account-order-badge--cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

@media (max-width: 640px) {
    .account-sidebar__nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-sidebar__link {
        border-bottom: 0;
        border-right: 1px solid #f3f4f6;
        text-align: center;
        font-size: 0.8125rem;
    }

    .account-order-item {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .account-order-item__price {
        grid-column: 2;
    }
}

/* Ürün seçenekleri */
.product-option-group__label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-option-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.product-option-pill {
    cursor: pointer;
}

.product-option-pill__text {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.375rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #374151;
    background: #fff;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.product-option-pill:hover .product-option-pill__text,
.product-option-pill:hover .product-option-pill__box {
    border-color: #e11d48;
}

.product-option-pill:has(:checked) .product-option-pill__text {
    border-color: #e11d48;
    background: #fff1f2;
    color: #be123c;
    font-weight: 600;
}

.product-option-pill__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    width: 4.75rem;
    padding: 0.375rem;
    border: 1px solid #d1d5db;
    border-radius: 0.625rem;
    background: #fff;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.product-option-pill__thumb {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: 0.375rem;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
}

.product-option-pill__name {
    display: block;
    width: 100%;
    font-size: 0.6875rem;
    line-height: 1.2;
    text-align: center;
    color: #374151;
    word-break: break-word;
}

.product-option-pill--with-image:has(:checked) .product-option-pill__box {
    border-color: #e11d48;
    background: #fff1f2;
    box-shadow: 0 0 0 1px #e11d48;
}

.product-option-pill--with-image:has(:checked) .product-option-pill__name {
    color: #be123c;
    font-weight: 600;
}
