/* Stella Doradus — premium kategori hero + marka görsel sistemi */

.stella-category-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(320px, 42vw, 520px);
    padding: clamp(2.5rem, 5vw, 4rem) 0 2.5rem;
    background: linear-gradient(145deg, #050a15 0%, #0c1628 45%, #0a1220 100%);
    color: #e2e8f0;
}

.stella-category-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.stella-category-hero-bg-slide {
    position: absolute;
    inset: 0;
    transition: opacity 0.55s ease;
}

.stella-category-hero-bg-slide:not(.is-active) {
    opacity: 0;
    pointer-events: none;
}

.stella-category-hero-bg-slide.is-active {
    opacity: 1;
}

.stella-category-hero-bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.stella-category-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(5, 10, 21, 0.92) 0%,
        rgba(5, 10, 21, 0.72) 42%,
        rgba(5, 10, 21, 0.35) 100%
    );
}

.stella-category-hero-inner {
    position: relative;
    z-index: 1;
}

.stella-category-breadcrumb a,
.stella-category-breadcrumb span {
    color: rgba(255, 255, 255, 0.72);
}

.stella-category-breadcrumb a:hover {
    color: #fff;
}

.stella-category-hero-title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0.75rem 0 0.5rem;
    max-width: 18ch;
}

.stella-category-hero-caption {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 0.5rem;
    max-width: 42rem;
}

.stella-category-hero-subtitle {
    color: rgba(255, 255, 255, 0.65);
    max-width: 40rem;
    margin-top: 0.75rem;
}

.stella-category-caption-slide {
    transition: opacity 0.4s ease;
}

.stella-category-caption-slide:not(.is-active) {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.stella-category-caption-slide.is-active {
    opacity: 1;
    position: relative;
}

.stella-category-hero-controls {
    margin-top: 1.25rem;
}

.stella-category-hero .brand-hero-dot {
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Marka ana sayfa — tasarım görseli showcase */
.brand-hero-design-showcase {
    position: relative;
    min-height: 380px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.brand-hero-design-showcase img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: center;
}

.brand-hero-design-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.15rem;
    background: linear-gradient(transparent, rgba(5, 10, 21, 0.85));
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .stella-category-hero {
        min-height: 280px;
    }

    .stella-category-hero-title {
        max-width: none;
    }

    .brand-hero-design-showcase,
    .brand-hero-design-showcase img {
        min-height: 280px;
    }
}

/* Ürün ailesi vitrini — stelladoradus.com/products/ */
.stella-product-families {
    margin: 0;
    padding: 0;
}

.stella-family-block {
    background: #12151c;
    color: #fff;
    padding: 3rem 0 3.25rem;
}

.stella-family-block:nth-child(even) {
    background: #0d1016;
}

.stella-family-header {
    text-align: center;
    margin-bottom: 2rem;
}

.stella-family-title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stella-family-subtitle {
    margin: 0;
    color: #00aeef;
    font-size: 0.95rem;
    line-height: 1.5;
}

.stella-family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem 1.25rem;
    justify-items: center;
}

.stella-family-card-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
}

.stella-family-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    width: 100%;
    margin-bottom: 0.85rem;
}

.stella-family-card-media img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.stella-family-card-name {
    display: block;
    color: #00aeef;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.stella-family-card-desc {
    display: block;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

.stella-products-intro {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
    max-width: 720px;
    margin: 0 auto;
}

.stella-products-eyebrow {
    color: var(--primary, #0b4f8a);
}

.stella-products-main-title {
    margin: 0.5rem 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #0f172a;
}

.stella-products-lead {
    margin: 0 0 1.25rem;
    color: #64748b;
    line-height: 1.6;
}

.stella-products-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.stella-family-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stella-family-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.stella-family-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stella-family-card:hover {
    border-color: rgba(0, 174, 239, 0.45);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.stella-family-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    flex: 1;
    padding: 1rem 0.75rem 0.5rem;
}

.stella-family-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    padding: 0 0.65rem 0.65rem;
}

.stella-family-card-actions .btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.5rem;
}

.stella-family-more {
    text-align: center;
    margin: 1.25rem 0 0;
}

.stella-family-more a {
    color: #00aeef;
    font-weight: 600;
    text-decoration: none;
}

.stella-family-more a:hover {
    text-decoration: underline;
}

.stella-products-footer-cta {
    text-align: center;
    padding: 2rem 0 3rem;
    color: rgba(255, 255, 255, 0.85);
}

.stella-products-footer-cta p {
    margin: 0 0 1rem;
}

.stella-products-footer-cta .btn {
    margin: 0 0.35rem;
}

.stella-solutions-teaser {
    text-align: center;
}

.stella-solutions-cta-wrap {
    margin-top: 1.25rem;
}

/* Kategori kurumsal içerik */
.stella-category-prose h2 {
    font-size: 1.35rem;
    margin: 1.75rem 0 0.75rem;
    color: var(--text, #1a1a2e);
}

.stella-category-prose h2:first-child {
    margin-top: 0;
}

.stella-category-prose p,
.stella-category-prose li {
    font-size: 1.0625rem;
    line-height: 1.75;
}

.stella-category-prose ul,
.stella-category-prose ol {
    margin: 0.75rem 0 1rem 1.25rem;
}

.stella-category-intro .section-eyebrow,
.stella-category-process .section-eyebrow,
.stella-category-faq .section-eyebrow {
    display: block;
    margin-bottom: 0.5rem;
}

.stella-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.stella-process-step {
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius, 12px);
    background: #fff;
}

.stella-process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary, #0b4f8a) 12%, #fff);
    color: var(--primary, #0b4f8a);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.65rem;
}

.stella-process-step h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.stella-process-step p {
    font-size: 0.9375rem;
    color: var(--muted, #64748b);
    margin: 0;
}

.stella-category-products-lead {
    max-width: 52rem;
    margin-bottom: 1.5rem;
    color: var(--muted, #64748b);
}

.stella-category-cta-panel {
    text-align: center;
}

.category-landing-advantages .section-title,
.category-landing-split .section-title {
    font-size: 1.35rem;
}

.stella-mega-child-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.stella-category-parent-link {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
}

.stella-category-parent-link a {
    font-weight: 600;
    color: var(--primary, #0b4f8a);
}

.stella-mega-children .section-desc {
    max-width: 52rem;
    margin-bottom: 1.5rem;
    color: var(--muted, #64748b);
}

/* Sade üst menü — kaydırma ipucu gerekmeden sığsın */
.brand-category-nav--stella .brand-category-nav-inner {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: 0.5rem;
    padding: 0.75rem 0;
}

@media (min-width: 900px) {
    .brand-category-nav--stella .brand-category-nav-track {
        overflow-x: visible;
    }

    .brand-category-nav--stella .brand-category-nav-scroll-hint,
    .brand-category-nav--stella .brand-category-nav-fade {
        display: none;
    }
}

/* Kategori sayfası ürün kartları */
.grid-products.stella-category-products,
#category-products-grid.stella-category-products {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.card-stella-product {
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius, 12px);
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.card-stella-product:hover {
    box-shadow: var(--shadow, 0 4px 24px rgba(0, 0, 0, 0.08));
}

.stella-product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.stella-product-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.stella-product-card-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.stella-product-card-img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.stella-product-card-body {
    display: block;
    padding: 0.85rem 1rem 0.5rem;
    text-align: center;
}

.stella-product-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary, #0b4f8a);
}

.stella-product-card-desc {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--muted, #64748b);
    line-height: 1.45;
}

.stella-product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0 0.75rem 0.75rem;
}

@media (max-width: 1024px) {
    .stella-family-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stella-family-grid,
    .stella-family-grid--4,
    .stella-family-grid--3,
    .stella-family-grid--2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.75rem;
    }

    .stella-family-block {
        padding: 2.25rem 0 2.5rem;
    }

    .stella-family-card-actions {
        grid-template-columns: 1fr;
    }
}
