/* =====================================================================
   ATA B2B - Sayfa-bazli stiller (hero, ozellikler, listeleme, detay, vs.)
   ===================================================================== */

/* --- Hero (Ana sayfa kahraman bolumu) --- */
.ata-b2b .ata-hero {
    position: relative;
    background:
        radial-gradient(circle at 85% 15%, rgba(255,255,255,.18) 0%, transparent 60%),
        radial-gradient(circle at 15% 85%, rgba(212,160,23,.18) 0%, transparent 50%),
        linear-gradient(135deg, var(--ata-red-800) 0%, var(--ata-red) 60%, var(--ata-red-600) 100%);
    color: #fff;
    overflow: hidden;
    padding: 56px 0 64px;
}
.ata-b2b .ata-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .6;
    pointer-events: none;
}
.ata-b2b .ata-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 36px;
    align-items: center;
}
.ata-b2b .ata-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}
.ata-b2b .ata-hero h1 {
    color: #fff;
    font-size: 40px;
    line-height: 1.12;
    margin: 0 0 14px;
    font-weight: 800;
    letter-spacing: -.015em;
}
.ata-b2b .ata-hero h1 em {
    font-style: normal;
    color: var(--ata-gold);
}
.ata-b2b .ata-hero p {
    color: rgba(255,255,255,.86);
    font-size: 15.5px;
    line-height: 1.65;
    max-width: 560px;
    margin: 0 0 26px;
}
.ata-b2b .ata-hero__actions {
    display: flex; gap: 12px; flex-wrap: wrap;
}
.ata-b2b .ata-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.16);
}
.ata-b2b .ata-hero__stat strong {
    display: block;
    font-family: var(--ata-font-h);
    font-size: 26px;
    color: #fff;
    font-weight: 700;
}
.ata-b2b .ata-hero__stat span {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Hero saglik kart */
.ata-b2b .ata-hero__card {
    background: rgba(255,255,255,.96);
    color: var(--ata-ink);
    border-radius: var(--ata-radius-lg);
    padding: 22px;
    box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.ata-b2b .ata-hero__card h3 {
    color: var(--ata-red-700);
    font-size: 16px;
    margin: 0;
    display: flex; align-items: center; gap: 8px;
}
.ata-b2b .ata-hero__card h3 i { color: var(--ata-red); }
.ata-b2b .ata-hero-cats {
    display: grid;
    gap: 14px;
}
.ata-b2b .ata-hero-cats__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--ata-line-2);
}
.ata-b2b .ata-hero-cats__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ata-radius-sm);
    background: var(--ata-red-50);
    color: var(--ata-red);
    font-size: 18px;
}
.ata-b2b .ata-hero-cats__head small {
    display: block;
    margin-bottom: 2px;
    color: var(--ata-mute);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.ata-b2b .ata-hero-cats__list {
    display: grid;
    gap: 10px;
}
.ata-b2b .ata-hero-cat {
    border: 1px solid var(--ata-line-2);
    border-radius: var(--ata-radius-sm);
    background: #fff;
    overflow: hidden;
    transition: border-color var(--ata-tr-fast), box-shadow var(--ata-tr-fast);
}
.ata-b2b .ata-hero-cat:hover {
    border-color: var(--ata-red-100);
    box-shadow: 0 10px 22px rgba(30,34,45,.08);
}
.ata-b2b .ata-hero-cat__main {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    color: var(--ata-ink);
}
.ata-b2b .ata-hero-cat__mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ata-radius-xs);
    background: var(--ata-paper);
    color: var(--ata-red-700);
    font-family: var(--ata-font-h);
    font-size: 15px;
    font-weight: 800;
}
.ata-b2b .ata-hero-cat__text {
    min-width: 0;
    display: grid;
    gap: 2px;
}
.ata-b2b .ata-hero-cat__text strong {
    color: var(--ata-ink);
    font-size: 13.5px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ata-b2b .ata-hero-cat__text small {
    color: var(--ata-mute);
    font-size: 11.5px;
}
.ata-b2b .ata-hero-cat__main > i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ata-red-50);
    color: var(--ata-red);
    font-size: 10px;
    transition: background var(--ata-tr-fast), color var(--ata-tr-fast);
}
.ata-b2b .ata-hero-cat__main:hover > i {
    background: var(--ata-red);
    color: #fff;
}
.ata-b2b .ata-hero-cat__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 12px 11px 60px;
}
.ata-b2b .ata-hero-cat__chips a {
    max-width: 100%;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--ata-paper);
    border: 1px solid var(--ata-line);
    color: var(--ata-ink-2);
    font-size: 11.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ata-b2b .ata-hero-cat__chips a:hover {
    background: var(--ata-red-50);
    border-color: var(--ata-red-100);
    color: var(--ata-red-700);
}
.ata-b2b .ata-hero-cats__all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: var(--ata-radius-sm);
    background: var(--ata-red);
    color: #fff;
    font-weight: 700;
    box-shadow: var(--ata-shadow-red);
}
.ata-b2b .ata-hero-cats__all:hover {
    background: var(--ata-red-700);
    color: #fff;
}
.ata-b2b .ata-hero__chips {
    display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px;
}
.ata-b2b .ata-hero__chip {
    padding: 5px 11px;
    background: var(--ata-paper);
    border: 1px solid var(--ata-line);
    color: var(--ata-ink-2);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    transition: all var(--ata-tr-fast);
}
.ata-b2b .ata-hero__chip:hover {
    background: var(--ata-red);
    border-color: var(--ata-red);
    color: #fff;
}
.ata-b2b .ata-hero__cta-row { display: flex; gap: 8px; }

/* --- Ozellikler / Hedef kitle (For who) --- */
.ata-b2b .ata-features {
    background: linear-gradient(180deg, var(--ata-bg) 0%, #fff 100%);
}
.ata-b2b .ata-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.ata-b2b .ata-feature {
    background: #fff;
    border: 1px solid var(--ata-line-2);
    border-radius: var(--ata-radius-lg);
    padding: 28px 24px;
    box-shadow: var(--ata-shadow-1);
    text-align: center;
    transition: transform var(--ata-tr), box-shadow var(--ata-tr);
}
.ata-b2b .ata-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--ata-shadow-2);
}
.ata-b2b .ata-feature__icon {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ata-red) 0%, var(--ata-red-700) 100%);
    color: #fff;
    font-size: 24px;
    box-shadow: var(--ata-shadow-red);
}
.ata-b2b .ata-feature h3 {
    font-size: 17px;
    margin: 0 0 8px;
    color: var(--ata-ink);
}
.ata-b2b .ata-feature p {
    font-size: 13px;
    color: var(--ata-mute);
    line-height: 1.6;
    margin: 0;
}

/* --- Yayin evi kutulari --- */
.ata-b2b .ata-publishers {
    background: linear-gradient(180deg, #fff 0%, var(--ata-bg) 100%);
}
.ata-b2b .ata-publishers__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ata-line-2);
}
.ata-b2b .ata-publishers__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--ata-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.ata-b2b .ata-publishers__head h2 {
    margin: 0;
    color: var(--ata-ink);
    font-size: 24px;
    letter-spacing: 0;
}
.ata-b2b .ata-publishers__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ata-ink-2);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.ata-b2b .ata-publishers__all:hover {
    color: var(--ata-red);
}
.ata-b2b .ata-publisher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}
.ata-b2b .ata-publisher {
    min-height: 100%;
}
.ata-b2b .ata-publisher__box {
    min-height: 152px;
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--ata-line-2);
    border-radius: var(--ata-radius-sm);
    background: #fff;
    color: var(--ata-ink);
    box-shadow: 0 10px 28px rgba(30, 34, 45, .05);
    transition: border-color var(--ata-tr-fast), box-shadow var(--ata-tr-fast), transform var(--ata-tr-fast);
}
.ata-b2b .ata-publisher__box:hover {
    border-color: var(--ata-red-100);
    box-shadow: 0 16px 34px rgba(30, 34, 45, .08);
    transform: translateY(-2px);
}
.ata-b2b .ata-publisher__logo {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ata-radius-xs);
    background: var(--ata-paper);
    border: 1px solid var(--ata-line);
    padding: 6px;
}
.ata-b2b .ata-publisher__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.ata-b2b .ata-publisher__name {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.ata-b2b .ata-publisher__name strong {
    font-family: var(--ata-font-h);
    font-size: 16px;
    line-height: 1.25;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ata-b2b .ata-publisher__name small {
    color: var(--ata-mute);
    font-size: 12px;
}
.ata-b2b .ata-publisher__open {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ata-line);
    border-radius: 50%;
    color: var(--ata-red);
    font-size: 12px;
    justify-self: end;
    transition: background var(--ata-tr-fast), color var(--ata-tr-fast), border-color var(--ata-tr-fast);
}
.ata-b2b .ata-publisher__box:hover .ata-publisher__open {
    background: var(--ata-red);
    border-color: var(--ata-red);
    color: #fff;
}

/* --- Listeleme sayfasi --- */
.ata-b2b .ata-list-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding: 32px 0 48px;
}
.ata-b2b .ata-sidebar { position: sticky; top: 16px; align-self: start; }
.ata-b2b .ata-sidebar__title {
    padding: 14px 18px;
    font-family: var(--ata-font-h);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #fff;
    background: linear-gradient(90deg, var(--ata-red) 0%, var(--ata-red-700) 100%);
    border-radius: var(--ata-radius-md) var(--ata-radius-md) 0 0;
    margin: 0;
    display: flex; align-items: center; gap: 8px;
}
.ata-b2b .ata-sidebar__body {
    background: #fff;
    border: 1px solid var(--ata-line-2);
    border-top: 0;
    border-radius: 0 0 var(--ata-radius-md) var(--ata-radius-md);
    box-shadow: var(--ata-shadow-1);
    padding: 4px 0;
}

.ata-b2b .ata-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--ata-line-2);
    border-radius: var(--ata-radius-md);
    padding: 14px 18px;
    margin-bottom: 18px;
    box-shadow: var(--ata-shadow-1);
    flex-wrap: wrap;
}
.ata-b2b .ata-toolbar__title {
    font-family: var(--ata-font-h);
    font-size: 16px;
    color: var(--ata-ink);
    font-weight: 700;
    display: flex; align-items: center; gap: 8px;
}
.ata-b2b .ata-toolbar__count {
    background: var(--ata-red-50);
    color: var(--ata-red-700);
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.ata-b2b .ata-filter-form {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1.4fr auto;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

/* --- Detay sayfasi --- */
.ata-b2b .ata-detail {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    padding: 36px 0 48px;
}
.ata-b2b .ata-detail__media {
    background: linear-gradient(135deg, #fff 0%, var(--ata-paper) 100%);
    border: 1px solid var(--ata-line-2);
    border-radius: var(--ata-radius-lg);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    box-shadow: var(--ata-shadow-1);
}
.ata-b2b .ata-detail__media img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.12));
}
.ata-b2b .ata-detail__head { margin-bottom: 18px; }
.ata-b2b .ata-detail__path {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 11px;
    border-radius: var(--ata-radius-sm);
    background: var(--ata-paper);
    color: var(--ata-ink-2);
    font-size: 13px;
    font-weight: 600;
}
.ata-b2b .ata-detail__path i { color: var(--ata-red); }
.ata-b2b .ata-detail__path strong { color: var(--ata-red-700); }
.ata-b2b .ata-detail__head h1 {
    font-size: 28px;
    line-height: 1.2;
    margin: 8px 0 0;
}
.ata-b2b .ata-detail__subtitle {
    margin: 8px 0 0;
    color: var(--ata-mute);
    font-size: 14px;
    line-height: 1.45;
}
.ata-b2b .ata-detail__price {
    margin: 18px 0;
    display: flex; align-items: baseline; gap: 12px;
}
.ata-b2b .ata-detail__price .price {
    font-family: var(--ata-font-price) !important;
    font-size: 32px;
    color: var(--ata-red);
    font-weight: 800;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1, "onum" 0;
}
.ata-b2b .ata-detail__price .currency {
    font-family: var(--ata-font-price) !important;
    font-size: 16px;
    color: var(--ata-ink-2);
    font-weight: 600;
    font-style: normal;
}
.ata-b2b .ata-detail__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0 26px;
    padding: 18px;
    background: var(--ata-paper);
    border-radius: var(--ata-radius-md);
    border: 1px solid var(--ata-line-2);
}
.ata-b2b .ata-detail__meta-item strong {
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ata-mute);
    font-weight: 600;
    margin-bottom: 2px;
}
.ata-b2b .ata-detail__meta-item span {
    font-size: 14px;
    color: var(--ata-ink);
    font-weight: 600;
}
.ata-b2b .ata-detail__desc {
    background: #fff;
    border: 1px solid var(--ata-line-2);
    border-radius: var(--ata-radius-md);
    padding: 20px 22px;
    margin: 18px 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ata-ink-2);
}
.ata-b2b .ata-detail__desc img { max-width: 100%; height: auto; border-radius: 8px; }
.ata-b2b .ata-detail__actions {
    display: flex; gap: 12px; flex-wrap: wrap;
}

/* --- Login / Kayit kartlari --- */
.ata-b2b .ata-auth-shell {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 18px;
    background:
        radial-gradient(circle at 80% 20%, rgba(200,16,46,.08) 0%, transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(212,160,23,.08) 0%, transparent 55%);
}
.ata-b2b .ata-auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: var(--ata-radius-lg);
    padding: 36px 32px;
    box-shadow: var(--ata-shadow-2);
    border: 1px solid var(--ata-line-2);
}
.ata-b2b .ata-auth-shell--wide {
    width: 100%;
}
.ata-b2b .ata-auth-card--wide {
    max-width: 920px;
    margin: 0 auto;
}
.ata-b2b .ata-auth-card__logo { text-align: center; margin-bottom: 18px; }
.ata-b2b .ata-auth-card__logo img { height: 56px; }
.ata-b2b .ata-auth-card h2 {
    text-align: center;
    color: var(--ata-red-700);
    font-size: 22px;
    margin: 0 0 8px;
}
.ata-b2b .ata-auth-card p { text-align: center; color: var(--ata-mute); font-size: 13px; margin: 0 0 22px; }
.ata-b2b .ata-auth-form { display: grid; gap: 14px; }

/* --- Breadcrumb --- */
.ata-b2b .ata-crumbs {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 18px 0 0;
    font-size: 12.5px;
    color: var(--ata-mute);
}
.ata-b2b .ata-crumbs a { color: var(--ata-mute); }
.ata-b2b .ata-crumbs a:hover { color: var(--ata-red); }
.ata-b2b .ata-crumbs__sep::before { content: "/"; color: var(--ata-line); margin: 0 6px; }
.ata-b2b .ata-crumbs__current { color: var(--ata-red-700); font-weight: 600; }

/* --- Responsive --- */
@media (max-width: 1100px) {
    .ata-b2b .ata-hero h1 { font-size: 32px; }
    .ata-b2b .ata-hero__inner { grid-template-columns: 1fr; gap: 26px; }
    .ata-b2b .ata-detail { grid-template-columns: 1fr; }
    .ata-b2b .ata-detail__media { min-height: auto; }
}
@media (max-width: 991px) {
    .ata-b2b .ata-list-layout { grid-template-columns: 1fr; }
    .ata-b2b .ata-feature-grid { grid-template-columns: 1fr 1fr; }
    .ata-b2b .ata-sidebar { position: static; }
}
@media (max-width: 575px) {
    .ata-b2b .ata-hero { padding: 36px 0 42px; }
    .ata-b2b .ata-hero h1 { font-size: 26px; }
    .ata-b2b .ata-hero__stats { grid-template-columns: 1fr; gap: 8px; padding-top: 18px; margin-top: 22px; }
    .ata-b2b .ata-feature-grid { grid-template-columns: 1fr; }
    .ata-b2b .ata-filter-form { grid-template-columns: 1fr; }
    .ata-b2b .ata-detail__meta { grid-template-columns: 1fr; }
    .ata-b2b .ata-product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
}
