/* Ticarext — vitrin/katalog/e-ticaret mock önizlemesi */

.uc-tcx-mock {
    --tcx-bg: #0F1119;
    --tcx-surface: #161A26;
    --tcx-surface-2: #1C2130;
    --tcx-line: #262C3D;
    --tcx-text: #EDEFF5;
    --tcx-muted: #8D95A8;
    --tcx-brand: var(--uc-product-accent, #6355F0);

    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--tcx-line);
    background: var(--tcx-bg);
    color: var(--tcx-text);
    font-family: var(--uc-font-sans);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

/* --- Tarayıcı çerçevesi --- */
.uc-tcx-mock__chrome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    background: var(--tcx-surface);
    border-bottom: 1px solid var(--tcx-line);
}

.uc-tcx-mock__dots {
    display: inline-flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.uc-tcx-mock__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tcx-line);
}

.uc-tcx-mock__url {
    flex: 1;
    min-width: 0;
    font-family: var(--uc-font-mono);
    font-size: 0.6875rem;
    color: var(--tcx-muted);
    background: var(--tcx-bg);
    border: 1px solid var(--tcx-line);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-tcx-mock__modes {
    display: inline-flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.uc-tcx-mock__mode {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--tcx-muted);
    border: 1px solid var(--tcx-line);
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    white-space: nowrap;
}

.uc-tcx-mock__mode.is-active {
    color: var(--tcx-text);
    border-color: color-mix(in srgb, var(--tcx-brand) 55%, transparent);
    background: color-mix(in srgb, var(--tcx-brand) 18%, transparent);
}

@media (max-width: 560px) {
    .uc-tcx-mock__modes { display: none; }
}

/* --- Vitrin ekranı --- */
.uc-tcx-mock__screen {
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.uc-tcx-mock__topbar {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--tcx-line);
}

.uc-tcx-mock__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.uc-tcx-mock__brand-mark {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--tcx-brand), color-mix(in srgb, var(--tcx-brand) 45%, #0B0E17));
}

.uc-tcx-mock__nav {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    font-size: 0.6875rem;
    color: var(--tcx-muted);
}

.uc-tcx-mock__nav .is-active {
    color: var(--tcx-text);
    font-weight: 600;
}

.uc-tcx-mock__tools {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    color: var(--tcx-muted);
    flex-shrink: 0;
}

.uc-tcx-mock__cart { position: relative; }

.uc-tcx-mock__cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--tcx-brand);
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* --- Banner --- */
.uc-tcx-mock__banner {
    border-radius: 10px;
    padding: 1rem 1.125rem;
    background:
        radial-gradient(420px 140px at 88% 20%, color-mix(in srgb, var(--tcx-brand) 26%, transparent), transparent 70%),
        linear-gradient(135deg, var(--tcx-surface-2), var(--tcx-surface));
    border: 1px solid var(--tcx-line);
}

.uc-tcx-mock__banner-eyebrow {
    font-family: var(--uc-font-mono);
    font-size: 0.5625rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tcx-brand);
}

.uc-tcx-mock__banner-title {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0.3rem 0 0.625rem;
}

.uc-tcx-mock__banner-btn {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 600;
    color: #fff;
    background: var(--tcx-brand);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
}

/* --- Ürün ızgarası --- */
.uc-tcx-mock__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (max-width: 520px) {
    .uc-tcx-mock__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.uc-tcx-mock__card {
    background: var(--tcx-surface);
    border: 1px solid var(--tcx-line);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.uc-tcx-mock__card.is-featured {
    border-color: color-mix(in srgb, var(--tcx-brand) 45%, transparent);
}

.uc-tcx-mock__thumb {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    background: linear-gradient(150deg, var(--tcx-surface-2), var(--tcx-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcx-muted);
    font-size: 1rem;
}

.uc-tcx-mock__card.is-featured .uc-tcx-mock__thumb { color: var(--tcx-brand); }

.uc-tcx-mock__name {
    font-size: 0.6875rem;
    font-weight: 600;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-tcx-mock__price {
    font-family: var(--uc-font-mono);
    font-size: 0.6875rem;
    color: var(--tcx-brand);
}

.uc-tcx-mock__add {
    margin-top: 0.15rem;
    font-size: 0.5625rem;
    font-weight: 600;
    text-align: center;
    color: var(--tcx-text);
    background: var(--tcx-surface-2);
    border: 1px solid var(--tcx-line);
    border-radius: 999px;
    padding: 0.25rem 0.35rem;
}

.uc-tcx-mock__add.is-quote {
    color: var(--tcx-brand);
    border-color: color-mix(in srgb, var(--tcx-brand) 40%, transparent);
    background: transparent;
}

/* --- Alt satır: platform kabiliyetleri --- */
.uc-tcx-mock__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    padding-top: 0.625rem;
    border-top: 1px solid var(--tcx-line);
    font-family: var(--uc-font-mono);
    font-size: 0.5625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tcx-muted);
}

.uc-tcx-mock__foot span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
