/* Ulu Ticaret — ertelenen stiller (ATF kritik: theme-critical.css) */

.filter-scroll::-webkit-scrollbar {
    width: 4px;
}

.filter-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.filter-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-card:hover .ulu-add-cart-btn {
    transform: scale(1.05);
}

.ulu-header-action--cart:hover .ulu-header-action__icon {
    font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

.ulu-header-text-link:hover {
    color: var(--ulu-primary-container, #0b2d72);
    background: rgba(0, 25, 77, 0.08);
}

/* Checkout / sepet form uyumluluğu (global partial'lar) */
.ulu-form .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0b1c30;
    margin-bottom: 0.375rem;
}

.ulu-form .form-control,
.ulu-form .form-select,
.ulu-form textarea.form-control {
    width: 100%;
    border: 1px solid #c4c6d2;
    border-radius: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    color: #0b1c30;
    background: #fff;
}

.ulu-form .form-control:focus,
.ulu-form .form-select:focus {
    outline: none;
    border-color: var(--ulu-primary, #00194d);
    box-shadow: 0 0 0 3px rgba(0, 25, 77, 0.12);
}

.ulu-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.ulu-form .form-check-input {
    margin-top: 0.2rem;
    accent-color: var(--ulu-primary, #00194d);
}

.ulu-form .form-check-label {
    font-size: 0.875rem;
    color: #444651;
}

.checkout-payment-option-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.checkout-payment-instructions {
    line-height: 1.45;
    white-space: pre-line;
}

.ulu-card {
    background: #fff;
    border: 1px solid #c4c6d2;
    border-radius: 1rem;
    overflow: hidden;
}

.ulu-card-head {
    padding: 1rem 1.25rem;
    font-weight: 700;
    color: var(--ulu-primary, #00194d);
    border-bottom: 1px solid #e5eeff;
    background: #f8f9ff;
}

.ulu-card-body {
    padding: 1.25rem;
}

.ulu-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--ulu-primary, #00194d);
    color: #fff;
    font-weight: 700;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.ulu-btn-primary:hover {
    background: var(--ulu-primary-container, #0b2d72);
    color: #fff;
}

.ulu-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: var(--ulu-primary, #00194d);
    font-weight: 700;
    border-radius: 0.75rem;
    border: 1px solid #c4c6d2;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.ulu-btn-outline:hover {
    background: #eff4ff;
    color: var(--ulu-primary, #00194d);
}

.ulu-alert-danger {
    background: #ffdad6;
    color: #93000a;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.ulu-alert-success {
    background: #d4f5e4;
    color: #0d5c36;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.ulu-alert-info {
    background: #e8f0ff;
    color: #00194d;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* Flash toast (sepete ekle vb.) */
.ulu-flash-toasts {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: min(24rem, calc(100vw - 2rem));
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    pointer-events: none;
}

.ulu-toast {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #c4c6d2;
    box-shadow: 0 12px 32px rgba(11, 28, 48, 0.18);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.ulu-toast--show {
    opacity: 1;
    transform: translateY(0);
}

.ulu-toast--hide {
    opacity: 0;
    transform: translateY(-8px);
}

.ulu-toast--success {
    border-left: 4px solid #16a34a;
}

.ulu-toast--success .ulu-toast-icon {
    color: #16a34a;
}

.ulu-toast--error {
    border-left: 4px solid #ba1a1a;
}

.ulu-toast--error .ulu-toast-icon {
    color: #ba1a1a;
}

.ulu-toast--info {
    border-left: 4px solid var(--ulu-primary, #00194d);
}

.ulu-toast--info .ulu-toast-icon {
    color: var(--ulu-primary, #00194d);
}

.ulu-toast-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
}

.ulu-toast-body {
    flex: 1;
    min-width: 0;
}

.ulu-toast-message {
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0;
    color: #0b1c30;
}

.ulu-toast-action {
    display: inline-block;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ulu-primary, #00194d);
    text-decoration: none;
}

.ulu-toast-action:hover {
    text-decoration: underline;
}

.ulu-toast-close {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: #757682;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ulu-toast-close:hover {
    color: #0b1c30;
}

@media (max-width: 639px) {
    .ulu-flash-toasts {
        top: auto;
        bottom: 5.5rem;
    }

    .ulu-toast {
        transform: translateY(12px);
    }

    .ulu-toast--show {
        transform: translateY(0);
    }

    .ulu-toast--hide {
        transform: translateY(8px);
    }
}

/* Ödeme adımları */
.ulu-checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    border: 1px solid #c4c6d2;
    border-radius: 1rem;
}

.ulu-checkout-step {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
}

.ulu-checkout-step.is-active {
    color: var(--ulu-primary, #00194d);
}

.ulu-checkout-step.is-done {
    color: #0d5c36;
}

.ulu-checkout-step__dot {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #c4c6d2;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ulu-checkout-step.is-active .ulu-checkout-step__dot {
    background: var(--ulu-primary, #00194d);
    border-color: var(--ulu-primary, #00194d);
    color: #fff;
}

.ulu-checkout-step.is-done .ulu-checkout-step__dot {
    background: #0d5c36;
    border-color: #0d5c36;
    color: #fff;
}

.ulu-checkout-step__line {
    width: 3rem;
    height: 2px;
    background: #c4c6d2;
    margin: 0 0.75rem;
    flex-shrink: 0;
}

.ulu-checkout-step__line.is-done {
    background: #0d5c36;
}

@media (max-width: 640px) {
    .ulu-checkout-progress {
        padding: 1rem 0.75rem;
    }

    .ulu-checkout-step {
        flex-direction: column;
        gap: 0.35rem;
        text-align: center;
        min-width: 0;
    }

    .ulu-checkout-step__label {
        font-size: 0.65rem;
        line-height: 1.2;
        max-width: 4.5rem;
    }

    .ulu-checkout-step__line {
        width: 1.25rem;
        margin: 0 0.35rem;
        align-self: center;
        margin-top: 1rem;
    }
}

/* Auth split layout */
.ulu-auth-wrap {
    min-height: calc(100vh - 12rem);
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .ulu-auth-wrap {
        grid-template-columns: 1fr 1fr;
        min-height: calc(100vh - 8rem);
    }
}

.ulu-auth-brand {
    background: linear-gradient(145deg, #00194d 0%, #0b2d72 55%, #1a4a9e 100%);
    color: #fff;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ulu-auth-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.ulu-auth-panel {
    padding: 2.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9ff;
}

@media (min-width: 1024px) {
    .ulu-auth-panel {
        padding: 3rem;
    }
}

.ulu-auth-card {
    width: 100%;
    max-width: 26rem;
    background: #fff;
    border: 1px solid #c4c6d2;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 25, 77, 0.06);
}

/* Hesap alanı */
.ulu-account-nav {
    background: #fff;
    border: 1px solid #c4c6d2;
    border-radius: 1rem;
    overflow: hidden;
}

.ulu-account-nav__head {
    padding: 1.25rem;
    background: linear-gradient(135deg, #00194d, #0b2d72);
    color: #fff;
}

.ulu-account-nav__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #444651;
    text-decoration: none;
    border-bottom: 1px solid #eef2ff;
    transition: background 0.15s, color 0.15s;
}

.ulu-account-nav__link:hover {
    background: #f8f9ff;
    color: var(--ulu-primary, #00194d);
}

.ulu-account-nav__link.is-active {
    background: #eff4ff;
    color: var(--ulu-primary, #00194d);
    font-weight: 700;
    border-left: 3px solid var(--ulu-primary, #00194d);
}

.ulu-account-nav__group {
    padding: 0.5rem 1.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    background: #fafbff;
}

.ulu-stat-card {
    background: #fff;
    border: 1px solid #c4c6d2;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.ulu-stat-card:hover {
    border-color: var(--ulu-primary, #00194d);
    box-shadow: 0 4px 20px rgba(0, 25, 77, 0.08);
}

/* Bayi / hesap mobil menü */
.ulu-account-nav-mobile {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.125rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ulu-account-nav-mobile::-webkit-scrollbar {
    display: none;
}

.ulu-account-nav-mobile__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #444651;
    background: #f8f9ff;
    border: 1px solid #e5e7f0;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ulu-account-nav-mobile__link:hover {
    border-color: var(--ulu-primary, #00194d);
    color: var(--ulu-primary, #00194d);
}

.ulu-account-nav-mobile__link.is-active {
    background: var(--ulu-primary, #00194d);
    border-color: var(--ulu-primary, #00194d);
    color: #fff;
}

.ulu-account-nav-mobile__logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    cursor: pointer;
}

.ulu-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 639px) {
    .ulu-table {
        min-width: 36rem;
    }

    .ulu-table th,
    .ulu-table td {
        padding: 0.75rem 0.625rem;
        font-size: 0.8125rem;
    }

    .ulu-card-head {
        font-size: 0.9375rem;
    }
}

.ulu-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.ulu-table th {
    text-align: left;
    padding: 0.875rem 1rem;
    background: #f8f9ff;
    color: var(--ulu-primary, #00194d);
    font-weight: 700;
    border-bottom: 1px solid #c4c6d2;
}

.ulu-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #eef2ff;
    color: #0b1c30;
}

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

.ulu-badge--muted {
    background: #eef2ff;
    color: #444651;
}

.ulu-badge--success {
    background: #d4f5e4;
    color: #0d5c36;
}

.ulu-badge--warning {
    background: #fff3cd;
    color: #856404;
}

.ulu-badge--danger {
    background: #ffdad6;
    color: #93000a;
}

.ulu-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #6b7280;
}

.ulu-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.ulu-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.ulu-page-hero {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    border: 1px solid #c4c6d2;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.ulu-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.ulu-btn-danger-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #93000a;
    background: #fff;
    border: 1px solid #ffdad6;
    border-radius: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.ulu-btn-danger-outline:hover {
    background: #ffdad6;
}

.ulu-blog-card {
    background: #fff;
    border: 1px solid #c4c6d2;
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ulu-blog-card:hover {
    box-shadow: 0 8px 24px rgba(0, 25, 77, 0.1);
    transform: translateY(-2px);
}

.ulu-payment-frame {
    border: 1px solid #c4c6d2;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    min-height: 520px;
}

/* Sabit WhatsApp butonu */
.tico-whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1050;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tico-whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
    color: #fff !important;
}
.tico-whatsapp-float__icon {
    width: 1.75rem;
    height: 1.75rem;
    display: block;
}
@media (max-width: 575.98px) {
    .tico-whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 3.25rem;
        height: 3.25rem;
    }
}

/* Hero slider ATF kuralları theme-critical.css içinde; nav/dots aşağıda */
.ulu-hero-slider__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: #00194d;
    box-shadow: 0 8px 24px rgba(11, 28, 48, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ulu-hero-slider__nav:hover {
    transform: translateY(-50%) scale(1.05);
    background: #fff;
}

.ulu-hero-slider__nav--prev {
    left: 0.75rem;
}

.ulu-hero-slider__nav--next {
    right: 0.75rem;
}

.ulu-hero-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 0.85rem;
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
}

.ulu-hero-slider__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.ulu-hero-slider__dot.is-active {
    width: 1.35rem;
    background: #fff;
}

/* Ana sayfa SEO alt içerik */
.home-seo-content {
    position: relative;
}

.home-seo-content__body h2 {
    margin: 1.5rem 0 0.75rem;
    line-height: 1.35;
}

.home-seo-content__body p {
    margin: 0 0 0.85rem;
}

.home-seo-content__body p:last-child {
    margin-bottom: 0;
}

.home-seo-content.is-collapsed .home-seo-content__body {
    max-height: 9.5rem;
    overflow: hidden;
}

.home-seo-content__fade {
    display: none;
    pointer-events: none;
}

.home-seo-content.is-collapsed .home-seo-content__fade {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3.25rem;
    height: 4.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 88%);
}

@media (prefers-reduced-motion: reduce) {
    .home-seo-content [data-home-seo-icon] {
        transition: none;
    }
}
