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;
    aspect-ratio: 2 / 3;
}

.product-zoom-wrap .product-zoom-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    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 {
    width: 100%;
    aspect-ratio: 2 / 3;
    height: auto;
    border: 2px solid #e5e7eb;
    border-radius: 0.55rem;
    overflow: hidden;
    background: #fff;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.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-gallery {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}

.product-gallery__rail {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 4rem;
    width: 4rem;
    z-index: 3;
}

.product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.product-gallery__stage {
    flex: 1;
    min-width: 0;
}

.product-gallery__more {
    position: relative;
    margin-top: auto;
    flex: 0 0 auto;
}

.product-gallery__more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.55rem;
    background: #fff;
    color: var(--color-primary, #7c3aed);
    cursor: pointer;
}

.product-gallery__more-btn svg {
    width: 1.15rem;
    height: 1.15rem;
}

.product-gallery__more-btn:hover,
.product-gallery__more.is-open .product-gallery__more-btn {
    background: var(--color-primary, #7c3aed);
    border-color: var(--color-primary, #7c3aed);
    color: #fff;
}

.product-gallery__overflow {
    display: none;
    position: absolute;
    left: calc(100% + 0.5rem);
    bottom: 0;
    flex-direction: column;
    gap: 0.5rem;
    width: 4.5rem;
    max-height: min(28rem, 70vh);
    overflow-y: auto;
    padding: 0.45rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    z-index: 20;
}

.product-gallery__more:hover .product-gallery__overflow,
.product-gallery__more:focus-within .product-gallery__overflow,
.product-gallery__more.is-open .product-gallery__overflow {
    display: flex;
}

@media (max-width: 640px) {
    .product-gallery {
        gap: 0.5rem;
    }

    .product-gallery__rail,
    .product-gallery__overflow {
        flex-basis: 3.25rem;
        width: 3.25rem;
    }

    .product-gallery__overflow {
        width: 3.75rem;
    }
}

.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%, 1200px);
    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: 4rem;
    height: 6rem;
    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: 3rem;
        height: 4.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;
}

.mobile-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.65rem;
    color: #111827;
    background: #fff;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.mobile-header-icon:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}
.mobile-header-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}
.mobile-header-icon--cart {
    border-color: var(--color-primary, #e11d48);
    color: var(--color-primary, #e11d48);
}
.mobile-header-icon__badge {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #facc15;
    color: #111827;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
}
.mobile-search-panel {
    border-top: 1px solid #f3f4f6;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}
.cart-item-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid #fecaca;
    border-radius: 0.6rem;
    color: #dc2626;
    background: #fff;
    transition: background .15s ease, border-color .15s ease;
}
.cart-item-remove:hover {
    background: #fef2f2;
    border-color: #f87171;
}

.search-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.25rem;
    padding: 0 1rem;
    border: 1px solid var(--color-primary, #7c3aed);
    border-left: 0;
    border-radius: 0 0.5rem 0.5rem 0;
    background: var(--color-primary, #7c3aed);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.search-submit-btn:hover {
    background: var(--color-primary-hover, #6d28d9);
    border-color: var(--color-primary-hover, #6d28d9);
}

/* Arama kutusu placeholder geçişi (app.js initSearchPlaceholders) */
input[data-placeholders]::placeholder {
    transition: opacity 0.18s ease;
    opacity: 1;
}
input[data-placeholders].search-input--fading::placeholder {
    opacity: 0;
}

.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;
}

.search-suggest__thumb--product {
    width: 2.5rem;
    height: 3.75rem;
}

.mega-menu__panel {
    min-width: 14rem;
}

.mega-menu__sub {
    min-height: 100%;
}

.cat-nested {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem 1rem;
    max-height: 380px;
    overflow-y: auto;
}

@media (min-width: 640px) {
    .mega-menu__sub .cat-nested {
        grid-template-columns: 1fr 1fr;
    }
}

.cat-nested__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem;
    border-radius: 0.65rem;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.cat-nested__link:hover {
    background: var(--color-primary-light, #f5f3ff);
    color: var(--color-primary, #7c3aed);
}

.cat-nested__link img {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
    border-radius: 0.55rem;
    background: #f3f4f6;
    flex-shrink: 0;
}

.cat-nested__children {
    list-style: none;
    margin: 0.15rem 0 0;
    padding: 0 0.25rem 0.2rem 3.7rem;
}

.cat-nested__children a {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    padding: 0.12rem 0;
}

.cat-nested__children a:hover {
    color: var(--color-primary, #7c3aed);
}

.nav-cat__panel .cat-nested {
    grid-template-columns: 1fr;
    max-height: none;
}

@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: 4.5rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.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__empty {
    color: #6b7280;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.cart-line-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.cart-qty-input {
    width: 3.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.45rem;
    padding: 0.2rem 0.35rem;
    font-size: 0.8125rem;
    text-align: center;
}

.cart-line-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid #fecaca;
    border-radius: 0.45rem;
    color: #dc2626;
    background: #fff;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.cart-line-remove:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}

.cart-toast {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translate(-50%, 12px);
    z-index: 60;
    max-width: min(92vw, 22rem);
    padding: 0.75rem 1rem;
    border-radius: 0.65rem;
    background: #111827;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.cart-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.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;
}

@media (max-width: 640px) {
    .cart-drawer {
        top: auto;
        bottom: 0;
        right: 0;
        left: auto;
    }

    .cart-drawer__panel {
        width: min(18rem, calc(100vw - 2.75rem));
        max-height: min(80vh, calc(100vh - 5rem));
        border-radius: 0.75rem 0 0 0;
    }

    .cart-drawer__tab {
        min-height: 6rem;
        border-radius: 0.75rem 0 0 0;
    }
}

/* 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%);
    transition: transform 0.35s ease;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav.is-open .mobile-nav__panel {
    transform: translateX(0);
}

.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__all.nav-wholesale {
    background: var(--color-primary, #7c3aed);
    color: #fff;
}

.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__nested {
    display: grid;
    gap: 0.15rem;
    padding: 0 0.5rem 0.4rem 3.4rem;
}

.mobile-nav__nested-link {
    font-size: 0.8rem;
    color: #6b7280;
    padding: 0.2rem 0;
}

.mobile-nav__nested-link:hover {
    color: var(--color-primary, #7c3aed);
}

.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 {
        bottom: 1rem;
        left: 1rem;
    }
}

.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;
}

.category-sidebar__nested {
    display: grid;
    gap: 0.1rem;
    padding: 0 0.5rem 0.35rem 3.3rem;
}

.category-sidebar__nested-link {
    font-size: 0.78rem;
    color: #6b7280;
    padding: 0.15rem 0;
}

.category-sidebar__nested-link:hover,
.category-sidebar__nested-link.is-active {
    color: var(--color-primary, #7c3aed);
}

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

@media (min-width: 768px) {
    .category-subgrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .category-subgrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.category-subcard {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    padding: 0.75rem;
}

.category-subcard__main {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
    color: #111827;
}

.category-subcard__main img {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
    border-radius: 0.6rem;
    background: #f3f4f6;
}

.category-subcard__main:hover {
    color: var(--color-primary, #7c3aed);
}

.category-subcard__nested {
    list-style: none;
    margin: 0.45rem 0 0;
    padding: 0 0 0 3.7rem;
}

.category-subcard__nested a {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    padding: 0.12rem 0;
}

.category-subcard__nested a:hover {
    color: var(--color-primary, #7c3aed);
}

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

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

.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: 6rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.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: 108px;
    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;
}

/* ==========================================================================
   Twinkle Pet Food — ürün kartı + anasayfa bileşenleri
   ========================================================================== */

/* --- Ürün kartı --- */
.pcard {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.pcard:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
    border-color: #e5e7eb;
    transform: translateY(-2px);
}
.pcard__link { display: block; color: inherit; text-decoration: none; }
.pcard__imagelink {
    display: block;
    color: inherit;
    text-decoration: none;
    position: absolute;
    inset: 0;
    z-index: 1;
}
.pcard__media {
    position: relative;
    aspect-ratio: 2 / 3;
    background: #f7f7f8;
    overflow: hidden;
}
.pcard__cart-btn {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    background: rgba(17, 24, 39, 0.92);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: background .15s ease, transform .15s ease, opacity .2s ease;
}
.pcard__cart-btn:hover { background: var(--color-primary, #e11d48); }
.pcard__cart-btn:disabled { opacity: .65; cursor: wait; }
.pcard__cart-btn--desktop {
    left: 50%;
    bottom: 18%;
    transform: translate(-50%, 8px);
    padding: 10px 16px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
}
.pcard__cart-btn--mobile {
    right: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.pcard__cart-btn--mobile span { display: none; }
.pcard__media--multi .pcard__cart-btn--mobile { bottom: 28px; }

@media (min-width: 1024px) and (hover: hover) {
    .pcard:hover .pcard__cart-btn--desktop {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
    .pcard__cart-btn--mobile { display: none; }
}

@media (max-width: 1023px) {
    .pcard__cart-btn--desktop { display: none; }
    .pcard__cart-btn--mobile { display: inline-flex; }
}
.pcard__stack { position: absolute; inset: 0; }
.pcard__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pcard__img--secondary {
    transform: translateX(100%);
    opacity: 0;
    transition: transform .45s ease, opacity .45s ease;
}
.pcard__badge {
    position: absolute;
    top: 10px;
    z-index: 3;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    line-height: 1.4;
}
.pcard__badge--deal {
    left: 10px;
    background: var(--color-primary, #e11d48);
    color: #fff;
    box-shadow: 0 2px 6px rgba(225, 29, 72, .35);
}
.pcard__badge--stock { right: 10px; }
.pcard__body { padding: 12px 14px 6px; }
.pcard__title {
    font-size: 13.5px;
    line-height: 1.35;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}
.pcard__price { margin-top: 6px; display: flex; flex-direction: column; gap: 2px; }
.pcard__price-old { color: #9ca3af; font-size: 12px; text-decoration: line-through; }
.pcard__price-current { color: var(--color-primary, #e11d48); font-weight: 800; font-size: 17px; }
.pcard__price-ex { color: #9ca3af; font-size: 11px; }
.pcard__foot { padding: 6px 14px 14px; margin-top: auto; }
.pcard__btn {
    display: block;
    text-align: center;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    background: #111827;
    color: #fff;
    transition: background .15s ease;
}
.pcard__btn:hover { background: var(--color-primary, #e11d48); }
.pcard__btn--disabled { background: #e5e7eb; color: #6b7280; cursor: not-allowed; }

/* Mobil kaydırma şeridi (varsayılan gizli) */
.pcard__scroll, .pcard__dots { display: none; }

/* Masaüstü: fare hover destekleyen cihazlarda 2. görsel sağdan kayar */
@media (hover: hover) {
    .pcard:hover .pcard__img--secondary { transform: translateX(0); opacity: 1; }
    .pcard:hover .pcard__img--primary { transform: scale(1.02); transition: transform .45s ease; }
}

/* Dokunmatik cihazlar: parmakla 2./3./4. görseli kaydır */
@media (hover: none) {
    .pcard__media--multi .pcard__stack { display: none; }
    .pcard__media--multi .pcard__scroll {
        display: flex;
        position: absolute;
        inset: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .pcard__media--multi .pcard__scroll::-webkit-scrollbar { display: none; }
    .pcard__scroll-img {
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        scroll-snap-align: center;
    }
    .pcard__media--multi .pcard__dots {
        display: flex;
        gap: 5px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8px;
        justify-content: center;
        z-index: 3;
    }
    .pcard__dot {
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: rgba(0, 0, 0, .25);
        transition: background .2s ease, width .2s ease;
    }
    .pcard__dot.is-active { background: var(--color-primary, #e11d48); width: 14px; }
}

/* --- Anasayfa yuvarlak kategori/kampanya rozetleri --- */
.home-circles {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 2px 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
}
.home-circles::-webkit-scrollbar { display: none; }
.home-circle {
    flex: 0 0 auto;
    width: 92px;
    text-align: center;
    color: #374151;
    text-decoration: none;
}
.home-circle__ring {
    width: 84px;
    height: 84px;
    margin: 0 auto 8px;
    border-radius: 999px;
    padding: 3px;
    background: linear-gradient(135deg, var(--color-primary, #e11d48), #f9a8c4);
    display: block;
}
.home-circle__img {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
    background: #fff;
    border: 3px solid #fff;
    display: block;
}
.home-circle__label {
    font-size: 12px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-circle--special .home-circle__ring {
    background: var(--color-primary, #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.home-circle--special .home-circle__ring svg {
    width: 42px;
    height: 42px;
    color: #fff;
}
.home-circle--sub {
    width: 110px;
}
.home-circle__top {
    display: block;
    color: inherit;
    text-decoration: none;
}
.home-circle__nested {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    text-align: center;
}
.home-circle__nested a {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    color: #6b7280;
    padding: 1px 0;
}
.home-circle__nested a:hover {
    color: var(--color-primary, #7c3aed);
}
@media (min-width: 1024px) {
    .home-circles { justify-content: flex-start; flex-wrap: nowrap; }
}

/* --- Yatay ürün kaydırma (çok satanlar) --- */
.hscroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 46%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.hscroll > * { scroll-snap-align: start; }
@media (min-width: 640px) { .hscroll { grid-auto-columns: 30%; } }
@media (min-width: 1024px) { .hscroll { grid-auto-columns: 22%; } }
@media (min-width: 1280px) { .hscroll { grid-auto-columns: 18.5%; } }

/* --- Tam ekran slider --- */
.home-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 8;
    min-height: 240px;
    max-height: 520px;
    overflow: hidden;
    border-radius: 16px;
}
.home-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity .6s ease;
}
/* Ken Burns: yalnızca arka plan görseli yavaşça yakınlaşır/uzaklaşır (yazılar sabit kalır) */
.home-hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    will-change: transform;
}
.home-hero__slide.is-active { opacity: 1; }
.home-hero__slide.is-active::before { animation: heroZoomIn 8s ease-out both; }
.home-hero__slide:nth-child(even).is-active::before { animation-name: heroZoomOut; }
@keyframes heroZoomIn {
    from { transform: scale(1); }
    to   { transform: scale(1.14); }
}
@keyframes heroZoomOut {
    from { transform: scale(1.14); }
    to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .home-hero__slide.is-active::before { animation: none; transform: none; }
}
.home-hero__caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 6%;
    color: #fff;
    background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,0) 60%);
}
.home-hero__dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    gap: 8px;
    justify-content: center;
    z-index: 4;
}
.home-hero__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.5);
    cursor: pointer;
}
.home-hero__dot.is-active { background: #fff; width: 22px; }

.home-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-banner { border-radius: 14px; overflow: hidden; display: block; }
.home-banner img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16/6; }

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.section-head h2 { font-size: 20px; font-weight: 800; color: #111827; }
.section-head a { font-size: 13px; color: var(--color-primary, #7c3aed); font-weight: 600; }

/* =========================================================================
   BLOG  (blog.php, blog-kategori.php, blog-detay.php)
   ========================================================================= */

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.blog-card:hover {
    border-color: var(--color-primary-soft, #c4b5fd);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.blog-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--color-primary-lighter, #f5f3ff);
    overflow: hidden;
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-primary-soft, #c4b5fd);
}

.blog-card__placeholder svg {
    width: 3rem;
    height: 3rem;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem 1.15rem 1.25rem;
    flex: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    color: #9ca3af;
}

.blog-card__tag {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    border-radius: 9999px;
    background: var(--color-primary-light, #ede9fe);
    color: var(--color-primary-dark, #5b21b6);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.blog-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
}

.blog-card__title a:hover {
    color: var(--color-primary, #7c3aed);
}

.blog-card__excerpt {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #6b7280;
    flex: 1;
}

.blog-card__more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary, #7c3aed);
}

/* Yan sütun */
.blog-sidebar {
    display: grid;
    gap: 1.25rem;
    align-content: start;
}

.blog-sidebar__box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.15rem;
}

.blog-sidebar__title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #111827;
    margin-bottom: 0.85rem;
}

.blog-sidebar__list {
    display: grid;
    gap: 0.15rem;
    font-size: 0.87rem;
}

.blog-sidebar__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.55rem;
    color: #4b5563;
}

.blog-sidebar__list a:hover,
.blog-sidebar__list a.is-active {
    background: var(--color-primary-light, #ede9fe);
    color: var(--color-primary-dark, #5b21b6);
    font-weight: 600;
}

.blog-sidebar__list span {
    font-size: 0.72rem;
    color: #9ca3af;
}

.blog-sidebar__recent {
    display: grid;
    gap: 0.85rem;
}

.blog-sidebar__recent a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.blog-sidebar__recent img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.6rem;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.blog-sidebar__recent strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    color: #111827;
}

.blog-sidebar__recent a:hover strong {
    color: var(--color-primary, #7c3aed);
}

.blog-sidebar__recent em {
    display: block;
    margin-top: 0.15rem;
    font-style: normal;
    font-size: 0.7rem;
    color: #9ca3af;
}

/* Yazı detayı */
.blog-post {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem;
}

.blog-post__meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.blog-post__title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: #111827;
}

.blog-post__lead {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #4b5563;
}

.blog-post__figure {
    margin: 1.5rem 0;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #f3f4f6;
}

.blog-post__figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-post__content {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #374151;
}

.blog-post__content h2 {
    margin: 1.75rem 0 0.6rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
}

.blog-post__content h3 {
    margin: 1.35rem 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.blog-post__content p + p {
    margin-top: 0.9rem;
}

.blog-post__content ul,
.blog-post__content ol {
    margin: 0.9rem 0 0.9rem 1.25rem;
    display: grid;
    gap: 0.35rem;
}

.blog-post__content ul { list-style: disc; }
.blog-post__content ol { list-style: decimal; }

.blog-post__content a {
    color: var(--color-primary, #7c3aed);
    text-decoration: underline;
}

.blog-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.25rem 0;
}

.blog-post__content blockquote {
    margin: 1.25rem 0;
    padding: 0.85rem 1.1rem;
    border-left: 3px solid var(--color-primary, #7c3aed);
    background: var(--color-primary-lighter, #f5f3ff);
    border-radius: 0 0.6rem 0.6rem 0;
    color: #4b5563;
}

.blog-post__content table {
    width: 100%;
    margin: 1.25rem 0;
    border-collapse: collapse;
    font-size: 0.87rem;
}

.blog-post__content th,
.blog-post__content td {
    padding: 0.55rem 0.7rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.blog-post__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
    padding-top: 1.15rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.8rem;
    color: #6b7280;
}

.blog-post__share a,
.blog-post__share button {
    padding: 0.35rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    color: #4b5563;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.blog-post__share a:hover,
.blog-post__share button:hover {
    color: var(--color-primary, #7c3aed);
    border-color: var(--color-primary, #7c3aed);
}

/* Sayfalama */
.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 2rem;
    font-size: 0.87rem;
}

.blog-pagination a,
.blog-pagination .is-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    height: 2.35rem;
    padding: 0 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.6rem;
    background: #fff;
    color: #4b5563;
}

.blog-pagination a:hover {
    border-color: var(--color-primary, #7c3aed);
    color: var(--color-primary, #7c3aed);
}

.blog-pagination .is-current {
    background: var(--color-primary, #7c3aed);
    border-color: var(--color-primary, #7c3aed);
    color: #fff;
    font-weight: 700;
}

.blog-pagination__gap {
    display: inline-flex;
    align-items: center;
    padding: 0 0.25rem;
    color: #9ca3af;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-post {
        padding: 1.75rem;
    }

    .blog-post__title {
        font-size: 1.85rem;
    }
}

@media (min-width: 1024px) {
    .blog-layout {
        grid-template-columns: minmax(0, 1fr) 19rem;
        gap: 2.5rem;
    }

    .blog-post {
        padding: 2.25rem;
    }

    .blog-post__title {
        font-size: 2.1rem;
    }
}

/* =========================================================================
   FAVORİLER — ürün kartı kalp ikonu ve sayaçlar
   ========================================================================= */

.pcard__fav {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.92);
    border: 1px solid #e5e7eb;
    color: #9ca3af;
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.pcard__fav svg {
    width: 1.1rem;
    height: 1.1rem;
}

.pcard__fav:hover {
    color: var(--color-primary, #7c3aed);
    border-color: var(--color-primary, #7c3aed);
}

.pcard__fav.is-active {
    color: var(--color-primary, #7c3aed);
    border-color: var(--color-primary, #7c3aed);
}

.pcard__fav.is-active svg {
    fill: currentColor;
}

.pcard__fav.is-pulsing {
    transform: scale(1.18);
}

.header-fav-count,
.favorite-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-fav-count {
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 9999px;
    background: var(--color-primary, #7c3aed);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}

.favorite-remove {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 1.15rem;
    line-height: 1;
}

.favorite-remove:hover {
    color: #dc2626;
    border-color: #fca5a5;
}

/* =========================================================================
   FOOTER  (templates/footer.php)
   Mobil öncelikli: tek kolon → 2 kolon (640px) → 4 kolon (1024px)
   ========================================================================= */

.site-footer {
    margin-top: 3rem;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

/* 1) Hızlı bilgi şeridi */
.footer-info {
    background: var(--color-primary-lighter, #f5f3ff);
    border-bottom: 1px solid #e5e7eb;
}

.footer-info__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.25rem 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.footer-info__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.footer-info__item:hover:not([disabled]) {
    border-color: var(--color-primary, #7c3aed);
    box-shadow: 0 6px 18px rgba(var(--color-primary-rgb, 124, 58, 237), 0.14);
    transform: translateY(-1px);
}

.footer-info__item[disabled] {
    cursor: default;
}

.footer-info__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
    border-radius: 9999px;
    background: var(--color-primary-light, #ede9fe);
    color: var(--color-primary, #7c3aed);
}

.footer-info__icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.footer-info__title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

/* 2) Doğum günü kulübü */
.footer-birthday {
    background: linear-gradient(135deg, var(--color-primary, #7c3aed), var(--color-primary-dark, #4c1d95));
    color: #fff;
}

.footer-birthday__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.75rem 1rem;
    display: grid;
    gap: 1.5rem;
}

.footer-birthday__intro {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.footer-birthday__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.18);
}

.footer-birthday__badge svg {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-birthday__title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.footer-birthday__subtitle {
    margin-top: 0.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgb(255 255 255 / 0.92);
}

.footer-birthday__desc {
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: rgb(255 255 255 / 0.78);
}

.footer-birthday__fields {
    display: grid;
    gap: 0.65rem;
}

.footer-birthday__field span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgb(255 255 255 / 0.8);
    margin-bottom: 0.25rem;
}

.footer-birthday__field input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgb(255 255 255 / 0.3);
    border-radius: 0.6rem;
    background: rgb(255 255 255 / 0.14);
    color: #fff;
    font-size: 0.9rem;
}

.footer-birthday__field input::placeholder {
    color: rgb(255 255 255 / 0.6);
}

.footer-birthday__field input:focus {
    outline: none;
    border-color: #fff;
    background: rgb(255 255 255 / 0.22);
}

.footer-birthday__submit {
    padding: 0.65rem 1.25rem;
    border-radius: 0.6rem;
    background: #fff;
    color: var(--color-primary-dark, #4c1d95);
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.18s ease;
}

.footer-birthday__submit:hover {
    background: #f3f4f6;
}

.footer-birthday__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.85rem;
    font-size: 0.72rem;
    line-height: 1.5;
    color: rgb(255 255 255 / 0.82);
}

.footer-birthday__consent input {
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: #fff;
}

.footer-birthday__consent a {
    color: #fff;
    text-decoration: underline;
}

/* 3) 4 sütunlu alan */
.footer-main__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
}

.footer-col__title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #111827;
    margin-bottom: 0.75rem;
}

.footer-col__list {
    display: grid;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #4b5563;
}

.footer-col__list a {
    color: #4b5563;
    transition: color 0.15s ease;
}

.footer-col__list a:hover {
    color: var(--color-primary, #7c3aed);
}

.footer-col__list--contact {
    line-height: 1.55;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    color: #4b5563;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-social__link:hover {
    color: var(--color-primary, #7c3aed);
    border-color: var(--color-primary, #7c3aed);
}

.footer-social__link svg {
    width: 1.15rem;
    height: 1.15rem;
}

/* 4) Alt şerit */
.footer-bottom {
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.footer-bottom__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Hızlı bilgi popup'ları */
.footer-popup {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgb(0 0 0 / 0.5);
}

.footer-popup.is-open {
    display: flex;
}

.footer-popup__panel {
    width: 100%;
    max-width: 32rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgb(0 0 0 / 0.25);
}

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

.footer-popup__title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.footer-popup__close {
    font-size: 1.6rem;
    line-height: 1;
    color: #9ca3af;
    padding: 0 0.25rem;
}

.footer-popup__close:hover {
    color: #4b5563;
}

.footer-popup__body {
    padding: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #374151;
}

.footer-popup__body p + p {
    margin-top: 0.75rem;
}

.footer-popup__body ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .footer-info__inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .footer-birthday__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: end;
    }

    .footer-bottom__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .footer-info__inner {
        padding: 1.5rem 1rem;
    }

    .footer-main__inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 2.5rem 1rem;
    }

    .footer-birthday__inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: center;
        padding: 2.25rem 1rem;
    }

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

    .footer-birthday__title {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Ürün detay sayfası (mobile-first)
   ========================================================================== */
.product-detail {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 1024px) {
    .product-detail {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2.75rem;
        align-items: start;
    }

    .product-detail__gallery {
        position: sticky;
        top: 5.5rem;
    }
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-badge--discount {
    background: var(--color-primary, #7c3aed);
    color: #fff;
}

.product-head__brand {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary, #7c3aed);
}

.product-head__title {
    margin-top: 0.25rem;
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
}

@media (min-width: 768px) {
    .product-head__title { font-size: 1.75rem; }
}

.product-head__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.65rem;
}

.product-head__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.product-head__sku {
    flex: 0 0 100%;
    font-size: 0.78rem;
    color: #9ca3af;
}

.product-head__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #4b5563;
}

.product-head__rating:hover { color: var(--color-primary, #7c3aed); }
.product-head__rating .product-rating-stars { color: #f59e0b; }

/* Favori + paylaş ikonları (başlık satırının sağı) */
.product-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
}

.product-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.product-icon-btn svg { width: 1.2rem; height: 1.2rem; }

.product-icon-btn:hover {
    color: var(--color-primary, #7c3aed);
    border-color: var(--color-primary, #7c3aed);
}

.product-icon-btn.is-active {
    color: var(--color-primary, #7c3aed);
    border-color: var(--color-primary, #7c3aed);
}

.product-icon-btn.is-active svg { fill: currentColor; }
.product-icon-btn.is-pulsing { transform: scale(1.12); }

.product-share { position: relative; }

.product-share__menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    z-index: 20;
    min-width: 12rem;
    padding: 0.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.product-share__item {
    display: block;
    width: 100%;
    padding: 0.5rem 0.7rem;
    border-radius: 0.5rem;
    text-align: left;
    font-size: 0.85rem;
    color: #374151;
}

.product-share__item:hover {
    background: #f9fafb;
    color: var(--color-primary, #7c3aed);
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.6rem 0.85rem;
    margin-top: 1.25rem;
}

/* Piyasa fiyatı: ürün fiyatının hemen altında, gri, küçük ve üstü çizili */
.product-price__strike {
    margin-top: 0.15rem;
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-price__current {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-primary, #7c3aed);
}

@media (min-width: 768px) {
    .product-price__current { font-size: 2.1rem; }
}

.product-price__save,
.product-price__campaign {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-price__save {
    background: #ecfdf5;
    color: #047857;
}

.product-price__campaign {
    background: #059669;
    color: #fff;
}

/* Bilgi bloğu içindeki "Neden Etkili?" / "Veteriner Notu" bölümleri */
.product-block__title {
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.product-benefits,
.product-vet {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid #f3f4f6;
}

.product-benefits__grid,
.product-vet__grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .product-benefits__grid,
    .product-vet__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.product-buy { margin-top: 1.5rem; }

.product-buy__row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.6rem;
}

.product-qty {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.product-qty__btn {
    width: 2.6rem;
    font-size: 1.15rem;
    line-height: 1;
    color: #4b5563;
    background: #f9fafb;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.product-qty__btn:hover {
    background: #f3f4f6;
    color: var(--color-primary, #7c3aed);
}

.product-qty__input {
    width: 3.25rem;
    border: 0;
    text-align: center;
    font-weight: 600;
    color: #111827;
    -moz-appearance: textfield;
    appearance: textfield;
}

.product-qty__input::-webkit-outer-spin-button,
.product-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-buy__submit {
    flex: 1 1 12rem;
    min-height: 3rem;
    padding: 0 1.5rem;
    border-radius: 0.75rem;
    background: var(--color-primary, #7c3aed);
    color: #fff;
    font-weight: 700;
    transition: filter 0.15s ease;
}

.product-buy__submit:hover { filter: brightness(0.93); }

.product-buy__now {
    display: block;
    width: 100%;
    margin-top: 0.6rem;
    min-height: 2.9rem;
    border: 1px solid var(--color-primary, #7c3aed);
    border-radius: 0.75rem;
    background: #fff;
    color: var(--color-primary, #7c3aed);
    font-weight: 700;
    transition: background-color 0.15s ease;
}

.product-buy__now:hover { background: #f5f3ff; }

/* Kargo bilgisi + stok durumu aynı satırda */
.product-availability {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1rem;
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    background: #fafafa;
    font-size: 0.85rem;
    color: #374151;
}

.product-availability__delivery {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.product-availability__delivery svg {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--color-primary, #7c3aed);
}

.product-availability__stock {
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-availability__stock--in { background: #ecfdf5; color: #047857; }
.product-availability__stock--low { background: #fff7ed; color: #c2410c; }
.product-availability__stock--out { background: #fef2f2; color: #b91c1c; }

.product-assurance {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #4b5563;
}

.product-assurance li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.product-assurance svg {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    color: var(--color-primary, #7c3aed);
}

.product-tabs {
    margin-top: 2.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.product-tabs__nav {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    scrollbar-width: none;
}

.product-tabs__nav::-webkit-scrollbar { display: none; }

.product-tabs__btn {
    flex: 0 0 auto;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    background: #f9fafb;
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.product-tabs__btn:hover { background: #f3f4f6; }

.product-tabs__btn.is-active {
    background: var(--color-primary, #7c3aed);
    color: #fff;
}

.product-tabs__panel { display: none; }
.product-tabs__panel.is-active { display: block; }

.product-tabs__heading {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
}

.product-tabs__intro {
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Beslenme Değeri sekmesi: solda analiz tablosu, sağda içindekiler */
.product-nutrition-layout {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .product-nutrition-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

.product-benefits .product-tabs__intro {
    margin-bottom: 0.9rem;
}

.product-benefit {
    padding: 1.1rem 1.25rem;
    border: 1px solid #f3f4f6;
    border-radius: 0.9rem;
    background: #fff;
}

.product-benefit__title {
    font-weight: 700;
    color: #111827;
}

.product-benefit__body {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4b5563;
}

.product-ingredients {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-ingredients li {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    font-size: 0.85rem;
    color: #374151;
}

.product-nutrition {
    overflow-x: auto;
    border: 1px solid #f3f4f6;
    border-radius: 0.9rem;
}

.product-nutrition table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.product-nutrition tr + tr { border-top: 1px solid #f3f4f6; }

.product-nutrition th,
.product-nutrition td {
    padding: 0.7rem 1rem;
    text-align: left;
}

.product-nutrition th {
    width: 60%;
    font-weight: 600;
    color: #374151;
}

.product-nutrition td {
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.product-vet-note {
    padding: 1.1rem 1.25rem;
    border-left: 3px solid var(--color-primary, #7c3aed);
    border-radius: 0 0.75rem 0.75rem 0;
    background: #f9fafb;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4b5563;
}

.product-vet-note + .product-vet-note { margin-top: 0.85rem; }

.product-vet-note__title {
    margin-bottom: 0.3rem;
    font-weight: 700;
    color: #111827;
}

.product-faqs {
    border: 1px solid #f3f4f6;
    border-radius: 0.9rem;
    overflow: hidden;
}

.product-faq + .product-faq { border-top: 1px solid #f3f4f6; }

.product-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    cursor: pointer;
    font-weight: 600;
    color: #111827;
    list-style: none;
}

.product-faq summary::-webkit-details-marker { display: none; }

.product-faq summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 1.15rem;
    line-height: 1;
    color: var(--color-primary, #7c3aed);
}

.product-faq[open] summary::after { content: '\2212'; }

.product-faq__answer {
    padding: 0 1.15rem 1.05rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4b5563;
}

/* --- Yorum özeti --- */
.review-summary {
    display: grid;
    gap: 1.5rem;
    padding: 1.35rem;
    margin-bottom: 1.75rem;
    border: 1px solid #f3f4f6;
    border-radius: 0.9rem;
    background: #fff;
}

@media (min-width: 640px) {
    .review-summary {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 2rem;
    }
}

.review-summary__score { text-align: center; }

.review-summary__average {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: #111827;
}

.review-summary__stars {
    margin-top: 0.35rem;
    color: #f59e0b;
    letter-spacing: 0.05em;
}

.review-summary__count {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.review-summary__bars {
    display: grid;
    gap: 0.4rem;
}

.review-summary__bars li {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr) 2rem;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.review-summary__bar {
    height: 0.5rem;
    border-radius: 999px;
    background: #f3f4f6;
    overflow: hidden;
}

.review-summary__bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--color-primary, #7c3aed);
}

.review-summary__bar-count { text-align: right; }

.review-verified {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 600;
}

.review-editorial {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--color-primary-light, #ede9fe);
    color: var(--color-primary-dark, #5b21b6);
    font-weight: 600;
}

.favorite-login-hint {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    max-width: 20rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: #111827;
    color: #fff;
    font-size: 0.85rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.favorite-login-hint.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.favorite-login-hint a {
    color: #ddd6fe;
    text-decoration: underline;
}

.product-related-tabs {
    padding-top: 2.5rem;
    border-top: 1px solid #f3f4f6;
}

/* Yorum kartı: üst satır ad + yıldız, alt satır şehir + tarih */
.review-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.review-head__author {
    font-weight: 600;
    color: #111827;
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: #6b7280;
}

.review-title {
    margin: 0.7rem 0 0.35rem;
    font-weight: 600;
    color: #111827;
}

.review-more-btn {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.7rem 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.review-more-btn:hover {
    border-color: var(--color-primary, #7c3aed);
    color: var(--color-primary, #7c3aed);
}

.review-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.5rem;
}

.review-pagination__item {
    min-width: 2.4rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #374151;
}

.review-pagination__item:hover {
    border-color: var(--color-primary, #7c3aed);
    color: var(--color-primary, #7c3aed);
}

.review-pagination__item.is-active {
    background: var(--color-primary, #7c3aed);
    border-color: var(--color-primary, #7c3aed);
    color: #fff;
}

.contact-article {
    max-width: none;
}

.contact-page {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 1.5rem;
    align-items: start;
}

.contact-info,
.contact-form-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    background: #fff;
}

.contact-info {
    background: linear-gradient(180deg, var(--color-primary-lighter, #faf5ff) 0%, #fff 42%);
}

.contact-info__eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary, #7c3aed);
    margin-bottom: 0.35rem;
}

.contact-info__title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.contact-info__list {
    display: grid;
    gap: 1rem;
}

.contact-info__list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.contact-info__icon {
    flex: 0 0 2.4rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.75rem;
    background: var(--color-primary-light, #f5f3ff);
    color: var(--color-primary, #7c3aed);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-info__icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.contact-info__list strong {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    margin-bottom: 0.2rem;
}

.contact-info__list p,
.contact-info__list a {
    font-size: 0.95rem;
    color: #111827;
    line-height: 1.5;
}

.contact-info__list a {
    color: var(--color-primary, #7c3aed);
    font-weight: 600;
}

.contact-info__social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.contact-info__note {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 0.92rem;
}

.contact-form-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.contact-form-card__lead {
    color: #6b7280;
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.contact-form-card__alert,
.contact-form__error {
    background: #fef2f2;
    color: #991b1b;
    border-radius: 0.65rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.contact-form {
    display: grid;
    gap: 0.9rem;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.contact-form__field {
    display: grid;
    gap: 0.4rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #374151;
}

.contact-form__field em {
    font-style: normal;
    font-weight: 400;
    color: #9ca3af;
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: #111827;
    background: #fff;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    outline: none;
    border-color: var(--color-primary, #7c3aed);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb, 124, 58, 237), 0.15);
}

.contact-form__field.is-invalid input,
.contact-form__field.is-invalid textarea,
.slide-submit.is-invalid .slide-submit__track {
    border-color: #f87171;
}

.contact-form__field span,
.contact-form__error {
    font-size: 0.78rem;
    font-weight: 500;
    color: #b91c1c;
    background: none;
    padding: 0;
    margin: 0;
}

.contact-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: #4b5563;
}

.contact-form__consent a {
    color: var(--color-primary, #7c3aed);
    font-weight: 600;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.slide-submit {
    margin-top: 0.35rem;
}

.slide-submit__track {
    position: relative;
    height: 3.15rem;
    border-radius: 9999px;
    background: var(--color-primary-light, #f5f3ff);
    border: 1px solid var(--color-primary-soft, #ddd6fe);
    overflow: hidden;
    user-select: none;
    touch-action: none;
}

.slide-submit__hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 3.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary, #7c3aed);
    pointer-events: none;
}

.slide-submit__handle {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    height: calc(100% - 0.5rem);
    min-width: 6.4rem;
    padding: 0 1rem;
    border: 0;
    border-radius: 9999px;
    background: var(--color-primary, #7c3aed);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: grab;
    box-shadow: 0 8px 18px rgba(var(--color-primary-rgb, 124, 58, 237), 0.28);
    z-index: 1;
}

.slide-submit__handle:active {
    cursor: grabbing;
}

.slide-submit.is-complete .slide-submit__track {
    background: var(--color-primary, #7c3aed);
    border-color: var(--color-primary, #7c3aed);
}

.slide-submit.is-complete .slide-submit__hint {
    color: #fff;
    padding-left: 0;
}

.slide-submit.is-complete .slide-submit__handle {
    background: #fff;
    color: var(--color-primary, #7c3aed);
}

.slide-submit.is-busy .slide-submit__handle {
    cursor: progress;
}

@media (max-width: 900px) {
    .contact-page,
    .contact-form__row {
        grid-template-columns: 1fr;
    }
}
