/* Anasayfa — Eticaret Yazılımı demo / paket yazılım teması */
.home-widgets-flow {
    display: flex;
    flex-direction: column;
}

.home-html-widget {
    width: 100%;
}

.home-html-widget .home-html-block {
    border-radius: var(--hd-radius, 16px);
}

.home-demo {
    --hd-primary: #4f46e5;
    --hd-primary-dark: #4338ca;
    --hd-accent: #06b6d4;
    --hd-dark: #0f172a;
    --hd-muted: #64748b;
    --hd-border: #e2e8f0;
    --hd-radius: 16px;
    --hd-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

/* Demo şeridi */
.home-demo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    background: linear-gradient(90deg, #1e293b, #334155);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
    margin: 0 0 1rem;
    border-radius: 12px;
}

.home-demo-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.2em 0.55em;
    border-radius: 6px;
}

.home-demo-strip a.home-demo-admin {
    color: #a5b4fc;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-demo-strip a.home-demo-admin:hover {
    color: #fff;
}

/* Hero */
.home-demo .home-hero {
    border-radius: var(--hd-radius);
    overflow: visible;
    margin-bottom: 1.5rem;
    box-shadow: var(--hd-shadow);
}

.home-demo .home-hero-slide {
    min-height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: var(--hd-radius);
}

.home-demo .home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.45) 55%, transparent 100%);
    border-radius: inherit;
}

.home-demo .home-hero-inner,
.home-demo .home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 3rem 2.5rem;
    color: #fff;
}

.home-demo .home-hero-inner h1,
.home-demo .home-hero-inner h2,
.home-demo .home-hero-inner h3,
.home-demo .home-hero-content h1,
.home-demo .home-hero-content h2,
.home-demo .home-hero-content h3 {
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.home-demo .home-hero-inner p,
.home-demo .home-hero-content p {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.home-demo .home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-demo .btn-hd-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--hd-primary), #6366f1);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.35rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-demo .btn-hd-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
    color: #fff;
}

.home-demo .btn-hd-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.35rem;
    border-radius: 10px;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background 0.2s;
}

.home-demo .btn-hd-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Yazılım özellikleri */
.home-features {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.home-feature-card {
    background: #fff;
    border: 1px solid var(--hd-border);
    border-radius: 14px;
    padding: 1.15rem 1rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.home-feature-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
    transform: translateY(-3px);
}

.home-feature-card i {
    font-size: 1.75rem;
    color: var(--hd-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.home-feature-card h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem;
}

.home-feature-card p {
    font-size: 0.72rem;
    color: var(--hd-muted);
    margin: 0;
    line-height: 1.4;
}

/* Bölüm başlıkları */
.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.home-section-head h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

.home-section-head h2 span {
    color: var(--hd-primary);
}

.home-section-head p {
    font-size: 0.88rem;
    color: var(--hd-muted);
    margin: 0.2rem 0 0;
}

.home-section-head a.home-see-all {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hd-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.home-section-head a.home-see-all:hover {
    color: var(--hd-primary-dark);
}

/* Kategoriler grid */
.home-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.home-cat-card {
    display: block;
    background: #fff;
    border: 1px solid var(--hd-border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hd-shadow);
}

.home-cat-img {
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.home-cat-card:hover .home-cat-img img {
    transform: scale(1.05);
}

.home-cat-img .home-cat-placeholder {
    font-size: 2.5rem;
    color: #94a3b8;
}

.home-cat-body {
    padding: 0.85rem 1rem;
}

.home-cat-body h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.2rem;
}

.home-cat-body span {
    font-size: 0.78rem;
    color: var(--hd-muted);
}

/* Ürün kartları — anasayfa */
.home-demo .home-products-wrap {
    margin-bottom: 2rem;
}

.home-demo .home-products-wrap .mn-product-card {
    border: 1px solid var(--hd-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}

.home-demo .home-products-wrap .mn-product-card:hover {
    box-shadow: var(--hd-shadow);
    transform: translateY(-3px);
}

.home-demo .home-products-wrap .mn-product-detail h5 a {
    color: #1e293b;
    font-size: 0.9rem;
}

.home-demo .home-products-wrap .mn-price-new {
    color: var(--hd-primary);
    font-weight: 700;
}

.home-demo .home-products-wrap .lbl .new,
.home-demo .home-products-wrap .lbl .trending {
    background: linear-gradient(135deg, var(--hd-primary), #6366f1);
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
}

/* Platform CTA */
.home-platform-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.home-cta-card {
    border-radius: var(--hd-radius);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-cta-card--panel {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
}

.home-cta-card--shop {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
}

.home-cta-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: inherit;
}

.home-cta-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0 0 1.25rem;
    max-width: 320px;
}

.home-cta-card .btn-hd-primary,
.home-cta-card .btn-hd-outline {
    align-self: flex-start;
}

.home-cta-card--shop .btn-hd-primary {
    background: #fff;
    color: var(--hd-primary) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Servisler — sade */
.home-demo .home-trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.home-demo .home-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid var(--hd-border);
    border-radius: 12px;
    padding: 1.1rem;
}

.home-demo .home-trust-item i {
    font-size: 1.5rem;
    color: var(--hd-primary);
    flex-shrink: 0;
}

.home-demo .home-trust-item h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: #1e293b;
}

.home-demo .home-trust-item p {
    font-size: 0.78rem;
    color: var(--hd-muted);
    margin: 0;
}

/* Yorumlar */
.home-demo .mn-testimonials .testim-bg {
    border-radius: var(--hd-radius);
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid var(--hd-border);
}

.home-demo .mn-test-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--hd-border);
    padding: 1.5rem !important;
    margin: 0.5rem;
}

/* Entegrasyon şeridi */
.home-integrations {
    background: #fff;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.home-integrations h3 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hd-muted);
    margin: 0 0 1rem;
}

.home-int-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}

.home-int-logos span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.home-int-logos span i {
    font-size: 1.25rem;
    color: var(--hd-primary);
}

/* Owl — ürün / blog vb. */
.home-demo .mn-product .owl-nav button,
.home-demo .mn-blog-carousel .owl-nav button,
.home-demo .mn-testimonial-slider .owl-nav button {
    background: #fff !important;
    border: 1px solid var(--hd-border) !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.home-demo .owl-carousel .owl-dots .owl-dot span {
    background: #cbd5e1 !important;
}

.home-demo .owl-carousel .owl-dots .owl-dot.active span {
    background: var(--hd-primary) !important;
}

/* Hero slider — oklar (tema shape-1.png ile çakışmayı kaldır) */
.home-demo .home-hero {
    position: relative;
    overflow: visible;
}

.home-demo .home-hero .mn-hero-slider.owl-carousel .owl-stage-outer {
    border-radius: var(--hd-radius);
    overflow: hidden;
}

.home-demo .home-hero .owl-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    pointer-events: none;
    z-index: 15;
}

.home-demo .home-hero .owl-nav button.owl-prev,
.home-demo .home-hero .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #0f172a !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.18) !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.home-demo .home-hero .owl-nav button.owl-prev:hover,
.home-demo .home-hero .owl-nav button.owl-next:hover {
    background: #fff !important;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.22) !important;
}

.home-demo .home-hero .owl-nav button.owl-prev {
    left: 14px !important;
    right: auto !important;
}

.home-demo .home-hero .owl-nav button.owl-next {
    right: 14px !important;
    left: auto !important;
}

.home-demo .home-hero .owl-nav button.owl-prev:before,
.home-demo .home-hero .owl-nav button.owl-next:before {
    content: "\ea64" !important;
    font-family: "remixicon" !important;
    font-size: 22px !important;
    line-height: 1 !important;
    margin: 0 !important;
    position: static;
}

.home-demo .home-hero .owl-nav button.owl-next:before {
    content: "\ea6e" !important;
}

.home-demo .home-hero .owl-nav button.owl-prev:after,
.home-demo .home-hero .owl-nav button.owl-next:after {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* Owl noktalar — tema mn-hero şekilleri devre dışı, slider içinde hizalı */
.home-demo .home-hero .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border-radius: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 12;
    pointer-events: auto;
}

.home-demo .home-hero .owl-dots::before,
.home-demo .home-hero .owl-dots::after {
    display: none !important;
    content: none !important;
}

.home-demo .home-hero .owl-dots .owl-dot {
    margin: 0 3px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.home-demo .home-hero .owl-dots .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.45) !important;
    transition: width 0.25s, background 0.25s;
}

.home-demo .home-hero .owl-dots .owl-dot.active span {
    width: 24px !important;
    border-radius: 999px !important;
    background: #fff !important;
}

/* --- Slider modelleri --- */

/* Kart: çerçeveli, gölgeli */
.home-demo .home-hero--card {
    box-shadow: none;
    background: transparent;
    padding: 0 4px;
}

.home-demo .home-hero--card .mn-hero-slider.owl-carousel .owl-stage-outer {
    border-radius: 20px;
    box-shadow: var(--hd-shadow);
}

.home-demo .home-hero--card .home-hero-slide {
    min-height: 340px;
    border-radius: 20px;
}

/* Bölünmüş: metin sol, görsel sağ */
.home-demo .home-hero--split .home-hero-slide {
    min-height: 400px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background-size: 58% 100% !important;
    background-position: right center !important;
}

.home-demo .home-hero--split .home-hero-overlay {
    display: none;
}

.home-demo .home-hero--split .home-hero-inner {
    width: 42%;
    max-width: none;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--hd-radius) 0 0 var(--hd-radius);
    padding: 2.5rem 2rem;
}

.home-demo .home-hero--split .mn-hero-slider.owl-carousel .owl-stage-outer {
    border-radius: var(--hd-radius);
    overflow: hidden;
}

/* Minimal: alt orta metin, sade noktalar */
.home-demo .home-hero--minimal .home-hero-slide {
    min-height: 360px;
    display: flex;
    align-items: flex-end;
}

.home-demo .home-hero--minimal .home-hero-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.35) 45%, transparent 100%);
}

.home-demo .home-hero--minimal .home-hero-inner {
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding: 2rem 1.5rem 3rem;
}

.home-demo .home-hero--minimal .home-hero-actions {
    justify-content: center;
}

.home-demo .home-hero--minimal .owl-nav button.owl-prev,
.home-demo .home-hero--minimal .owl-nav button.owl-next {
    width: 38px !important;
    height: 38px !important;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .home-demo .home-hero--split .home-hero-slide {
        flex-direction: column;
        background-size: cover !important;
        background-position: center !important;
        min-height: 420px;
    }
    .home-demo .home-hero--split .home-hero-inner {
        width: 100%;
        border-radius: 0;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75));
        margin-top: auto;
    }
}

@media (max-width: 1200px) {
    .home-features { grid-template-columns: repeat(3, 1fr); }
    .home-cats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .home-features { grid-template-columns: repeat(2, 1fr); }
    .home-cats-grid { grid-template-columns: repeat(2, 1fr); }
    .home-platform-cta { grid-template-columns: 1fr; }
    .home-demo .home-trust-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .home-features { grid-template-columns: 1fr; }
    .home-cats-grid { grid-template-columns: 1fr; }
    .home-demo .home-hero-slide { min-height: 300px; }
    .home-demo .home-hero-inner,
    .home-demo .home-hero-content { padding: 2rem 1.25rem; }
    .home-demo .home-trust-row { grid-template-columns: 1fr; }
}
