/* Tema marketi + tema detay — premium, köşeli */
.tema-mkt,
.tema-mkt *:not(iframe) {
    border-radius: 0 !important;
}

.tema-mkt-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(ellipse 55% 50% at 85% 10%, rgba(253, 105, 5, 0.22), transparent 58%),
        linear-gradient(145deg, #0b1220 0%, #0f172a 52%, #080c18 100%);
    color: #f8fafc;
    padding: 5.75rem 0 3.25rem;
}
@media (min-width: 640px) {
    .tema-mkt-hero { padding: 6.25rem 0 3.75rem; }
}
.tema-mkt-hero .qrmenu-bc { color: rgba(248, 250, 252, 0.55); }
.tema-mkt-hero .qrmenu-bc a { color: rgba(248, 250, 252, 0.75); text-decoration: none; }
.tema-mkt-hero .qrmenu-bc a:hover { color: #fdba74; }

.tema-mkt-hero__eyebrow {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fdba74;
}
.tema-mkt-hero__title {
    margin: 0.85rem 0 0;
    font-size: clamp(1.85rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: #fff;
}
.tema-mkt-hero__lead {
    margin: 1rem 0 0;
    max-width: 38rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.72);
}
.tema-mkt-hero__lead a {
    color: #fdba74;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(253, 186, 116, 0.35);
}
.tema-mkt-hero__lead a:hover { color: #fff; text-decoration-color: #fff; }
.tema-mkt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}
.tema-mkt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.tema-mkt-btn--solid {
    background: #fd6905;
    border: 1px solid #fd6905;
    color: #fff;
}
.tema-mkt-btn--solid:hover { background: #e05a04; border-color: #e05a04; color: #fff; transform: translateY(-1px); }
.tema-mkt-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}
.tema-mkt-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; color: #fff; }
.tema-mkt-btn--outline {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}
.tema-mkt-btn--outline:hover { border-color: rgba(253, 105, 5, 0.45); color: #fd6905; }
.tema-mkt-btn--dark {
    background: #0f172a;
    border: 1px solid #0f172a;
    color: #fff;
}
.tema-mkt-btn--dark:hover { background: #1e293b; color: #fff; }

/* Catalog */
.tema-mkt-catalog {
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px) 0 0 / 36px 36px,
        #f8fafc;
    padding: 2.5rem 0 4rem;
}
@media (min-width: 640px) {
    .tema-mkt-catalog { padding: 3rem 0 5rem; }
}
.tema-mkt-catalog__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.tema-mkt-catalog__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.tema-mkt-catalog__text {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: #64748b;
    max-width: 28rem;
}
.tema-mkt-grid {
    display: grid;
    gap: 1rem;
}
@media (min-width: 640px) {
    .tema-mkt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
}
@media (min-width: 1024px) {
    .tema-mkt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}

.tema-mkt-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.4);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .tema-mkt-card:hover {
        border-color: rgba(253, 105, 5, 0.45);
        box-shadow: 0 22px 48px -28px rgba(234, 88, 12, 0.28);
        transform: translateY(-3px);
    }
}
.tema-mkt-card:focus-visible {
    outline: 2px solid #fd6905;
    outline-offset: 2px;
}
.tema-mkt-card__visual {
    position: relative;
    height: 16rem;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
    background: #0f172a;
}
@media (min-width: 640px) {
    .tema-mkt-card__visual { height: 17.5rem; }
}
.tema-mkt-card__swatch {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    z-index: 2;
}
.tema-mkt-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.15rem 1.2rem 1.35rem;
}
.tema-mkt-card__name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.tema-mkt-card:hover .tema-mkt-card__name { color: #c2410c; }
.tema-mkt-card__sub {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fd6905;
}
.tema-mkt-card__desc {
    margin: 0.65rem 0 0;
    flex: 1;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #64748b;
}
.tema-mkt-card__more {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #fd6905;
}

.tema-mkt-cta-band {
    margin-top: 2.75rem;
    border: 1px solid #1e293b;
    background:
        linear-gradient(110deg, rgba(253, 105, 5, 0.16), transparent 45%),
        #0b1220;
    padding: 1.75rem 1.25rem;
    text-align: center;
    color: #fff;
}
@media (min-width: 640px) {
    .tema-mkt-cta-band { padding: 2rem; }
}
.tema-mkt-cta-band p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.7);
}
.tema-mkt-cta-band .tema-mkt-btn { margin-top: 1rem; }

/* Detail page */
.tema-mkt-detail {
    background: #f8fafc;
}
.tema-mkt-detail__top {
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    padding-bottom: 2.5rem;
}
.tema-mkt-detail__grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .tema-mkt-detail__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 2.5rem;
        align-items: start;
    }
}
.tema-mkt-preview {
    border: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 22px 48px -32px rgba(15, 23, 42, 0.45);
}
.tema-mkt-preview__bar {
    margin: 0;
    border-bottom: 1px solid #e2e8f0;
    background: #0f172a;
    color: rgba(248, 250, 252, 0.7);
    padding: 0.7rem 1rem;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.tema-mkt-preview-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 1.25rem 0.75rem 1.5rem;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(253, 105, 5, 0.12), transparent 55%),
        linear-gradient(165deg, #0f172a 0%, #1e293b 55%, #0b1220 100%);
}
.tema-mkt-preview-phone {
    width: min(390px, 100%);
    height: min(560px, 58vh);
    max-height: 620px;
    border: 10px solid #020617;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 28px 56px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    background: #020617;
}
.tema-mkt-preview-phone iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 640px) {
    .tema-mkt-preview-wrap {
        min-height: 0;
        padding: 0;
        background: #0f172a;
    }
    .tema-mkt-preview-phone {
        width: 100%;
        height: min(64vh, 520px);
        border-width: 0;
        box-shadow: none;
    }
}
.tema-mkt-preview__note {
    margin: 0.75rem 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
}
.tema-mkt-preview__note a {
    font-weight: 700;
    color: #fd6905;
    text-decoration: none;
}
.tema-mkt-preview__note a:hover { text-decoration: underline; }

.tema-mkt-detail__badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    padding: 0.25rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}
.tema-mkt-detail__title {
    margin: 0;
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: #0f172a;
}
.tema-mkt-detail__sub {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fd6905;
}
.tema-mkt-detail__desc {
    margin: 1rem 0 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
}
.tema-mkt-detail__price {
    margin: 1rem 0 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fd6905;
}
.tema-mkt-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}
.tema-mkt-detail__hint {
    margin: 0.85rem 0 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #64748b;
}

.tema-mkt-detail__lower {
    padding: 2.5rem 0 4rem;
}
.tema-mkt-detail__lower-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .tema-mkt-detail__lower-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr);
        gap: 1.75rem;
        align-items: start;
    }
}
.tema-mkt-panel {
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 16px 36px -30px rgba(15, 23, 42, 0.35);
}
@media (min-width: 640px) {
    .tema-mkt-panel { padding: 1.75rem 1.6rem; }
}
.tema-mkt-panel h2,
.tema-mkt-panel h3 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.tema-mkt-panel h2 { font-size: 1.25rem; }
.tema-mkt-panel h3 { font-size: 1.05rem; margin-top: 1.75rem; }
.tema-mkt-panel__prose {
    margin-top: 1rem;
    display: grid;
    gap: 0.85rem;
}
.tema-mkt-panel__prose p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #475569;
}
.tema-mkt-feat {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}
.tema-mkt-feat li {
    border-left: 3px solid #fd6905;
    background: #f8fafc;
    padding: 0.85rem 1rem;
    margin-top: 0.55rem;
}
.tema-mkt-feat strong {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
}
.tema-mkt-feat span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
}
.tema-mkt-sectors {
    list-style: none;
    margin: 0.85rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.tema-mkt-sectors li {
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
}
.tema-mkt-meta {
    margin: 1rem 0 0;
}
.tema-mkt-meta dl {
    margin: 0;
}
.tema-mkt-meta .row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
}
.tema-mkt-meta .row:last-child { border-bottom: 0; }
.tema-mkt-meta dt { color: #64748b; }
.tema-mkt-meta dd {
    margin: 0;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.tema-mkt-meta__swatch {
    width: 1.1rem;
    height: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.15);
}
.tema-mkt-fallback-hero {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.tema-mkt-fallback-phone {
    width: min(220px, 100%);
    aspect-ratio: 9 / 16;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.tema-mkt-fallback-phone__bar {
    height: 1.75rem;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}
.tema-mkt-fallback-phone__body {
    flex: 1;
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.tema-mkt-fallback-phone__line {
    height: 0.4rem;
    width: 60%;
    background: #e2e8f0;
}
.tema-mkt-fallback-phone__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    flex: 1;
}
.tema-mkt-fallback-phone__grid span {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}
.tema-mkt-fallback-phone__cart {
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .tema-mkt-card,
    .tema-mkt-btn {
        transition: none !important;
        transform: none !important;
    }
}
