html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
    scroll-padding-top: 100px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

:root {
    --color-dark: #181818;
    --color-text: #292929;
    --color-muted: #737373;
    --color-border: #e8e5df;
    --color-background: #f8f7f4;
    --color-surface: #ffffff;
    --color-gold: #c89a3d;
    --color-gold-light: #f2d28b;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--color-text);
    background: var(--color-background);
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   NAVBAR
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
}

    .site-header .navbar {
        min-height: 78px;
    }

.navbar-brand {
    color: var(--color-dark) !important;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.navbar-nav .nav-link {
    margin: 0 2px;
    padding: 9px 16px !important;
    color: #555 !important;
    font-weight: 600;
    border-radius: 999px;
    transition: 0.2s ease;
}

    .navbar-nav .nav-link:hover {
        color: var(--color-dark) !important;
        background: #f0eee9;
    }

    .navbar-nav .nav-link.active {
        color: #fff !important;
        background: var(--color-dark);
    }

/* =========================
   ANA SAYFA
   ========================= */

.home-page {
    padding-top: 20px;
    padding-bottom: 24px;
}

.home-hero {
    overflow: hidden;
    padding: 36px 40px;
    background: radial-gradient( circle at top right, rgba(200, 154, 61, 0.14), transparent 34% ), linear-gradient( 135deg, #ffffff 0%, #f2efe9 100% );
    border: 1px solid var(--color-border);
    border-radius: 24px;
}

.hero-content {
    max-width: 620px;
}

.hero-label,
.section-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #8b6827;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 14px;
    color: var(--color-dark);
    font-size: clamp(2.7rem, 5.2vw, 4.25rem);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-description {
    max-width: 580px;
    margin-bottom: 20px;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .hero-actions .btn {
        padding: 10px 18px;
        font-size: 0.92rem;
        font-weight: 700;
        border-radius: 10px;
    }

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 18px;
    color: #666;
    font-size: 0.84rem;
}

.hero-logo-panel {
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(25, 25, 25, 0.07);
}

.hero-logo {
    display: block;
    width: 100%;
    max-width: 270px;
    max-height: 160px;
    object-fit: contain;
}

.hero-logo-placeholder {
    font-size: 2.25rem;
    font-weight: 800;
}

/* =========================
   BÖLÜMLER
   ========================= */

.home-section {
    margin-top: 54px;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading h2 {
    margin: 0 0 8px;
    color: var(--color-dark);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.section-heading p {
    margin: 0;
    color: var(--color-muted);
}

/* =========================
   KATEGORİLER
   ========================= */

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.category-card {
    display: flex;
    flex: 1 1 240px;
    max-width: 320px;
    min-height: 125px;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    color: var(--color-text);
    text-decoration: none;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(20, 20, 20, 0.04);
    transition: 0.22s ease;
}

    .category-card:hover {
        color: var(--color-text);
        border-color: #cab98f;
        box-shadow: 0 18px 36px rgba(20, 20, 20, 0.08);
        transform: translateY(-4px);
    }

    .category-card h3 {
        margin-bottom: 8px;
        font-size: 1.15rem;
        font-weight: 750;
    }

    .category-card span {
        color: var(--color-muted);
        font-size: 0.9rem;
    }

.category-arrow {
    color: var(--color-dark);
    font-size: 1.7rem;
    transition: transform 0.2s ease;
}

.category-card:hover .category-arrow {
    transform: translateX(5px);
}

/* =========================
   ÜRÜN KARTLARI
   ========================= */

.product-card {
    position: relative;
    overflow: hidden;
    height: auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(20, 20, 20, 0.05);
    transition: 0.22s ease;
}

    .product-card:hover {
        box-shadow: 0 12px 28px rgba(20, 20, 20, 0.09);
        transform: translateY(-3px);
    }

.product-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f4f3f0;
}

.product-card-image,
.product-image {
    display: block;
    width: 100%;
    height: 190px;
    padding: 10px;
    object-fit: contain;
    background: #f4f3f0;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image,
.product-card:hover .product-image {
    transform: scale(1.025);
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 9px;
    color: #fff;
    background: rgba(24, 24, 24, 0.9);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 750;
}

.product-card-body {
    display: block;
    min-height: 0;
    padding: 14px;
}

.product-category {
    display: block;
    margin-bottom: 5px;
    color: #97722e;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-title {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 6px;
    color: var(--color-dark);
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

    .product-title a {
        color: var(--color-dark);
        text-decoration: none;
    }

.product-desc,
.product-description {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 9px;
    color: var(--color-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-price {
    margin: 8px 0 11px;
    color: var(--color-dark);
    font-size: 1.08rem;
    font-weight: 850;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

    .product-actions .btn {
        width: 100%;
        padding: 8px 5px;
        font-size: 0.8rem;
        font-weight: 700;
        white-space: nowrap;
        border-radius: 9px;
    }

.btn-detail {
    color: #212529;
    background: #fff;
    border: 1px solid #212529;
}

    .btn-detail:hover {
        color: #fff;
        background: #212529;
    }

.btn-trendyol {
    color: #181818;
    background: #f5b800;
    border-color: #f5b800;
}

    .btn-trendyol:hover {
        color: #181818;
        background: #dda700;
        border-color: #dda700;
    }

/* =========================
   BOŞ İÇERİK
   ========================= */

.empty-state {
    padding: 38px;
    color: var(--color-muted);
    text-align: center;
    background: var(--color-surface);
    border: 1px dashed #cbc6bc;
    border-radius: 18px;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    padding: 28px 0;
    color: #777;
    background: #fff;
    border-top: 1px solid var(--color-border);
}

.footer-description {
    color: #999;
}

/* =========================
   FORM ODAK STİLLERİ
   ========================= */

.btn:focus,
.btn:active:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #9d7b39;
    box-shadow: 0 0 0 0.15rem rgba(157, 123, 57, 0.2);
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 991.98px) {
    .site-header .navbar {
        min-height: 68px;
    }

    .navbar-collapse {
        padding: 14px 0;
    }

    .navbar-nav .nav-link {
        margin-bottom: 5px;
    }

    .home-hero {
        padding: 30px 26px;
    }

    .hero-title {
        font-size: clamp(2.55rem, 7vw, 3.6rem);
    }

    .hero-logo-panel {
        min-height: 190px;
        padding: 18px;
    }

    .hero-logo {
        max-width: 235px;
        max-height: 140px;
    }
}

/* =========================
   MOBİL
   ========================= */

@media (max-width: 767.98px) {
    .home-page {
        padding-top: 8px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .home-hero {
        padding: 14px;
        border-radius: 14px;
    }

        .home-hero .row {
            --bs-gutter-y: 12px;
        }

    .hero-label {
        margin-bottom: 4px;
        font-size: 0.58rem;
        letter-spacing: 0.1em;
    }

    .hero-title {
        margin-bottom: 6px;
        font-size: 1.8rem;
        line-height: 1;
    }

    .hero-description {
        margin-bottom: 10px;
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

        .hero-actions .btn {
            width: auto;
            min-height: 34px;
            padding: 7px 10px;
            font-size: 0.72rem;
            border-radius: 8px;
        }

    .hero-features {
        display: grid;
        gap: 2px;
        margin-top: 9px;
        font-size: 0.66rem;
    }

    .hero-logo-panel {
        width: 104px;
        height: 104px;
        min-height: 0;
        margin: 0 auto;
        padding: 10px;
        aspect-ratio: 1 / 1;
        border-radius: 14px;
        box-shadow: 0 7px 16px rgba(25, 25, 25, 0.05);
    }

    .hero-logo {
        width: 100%;
        max-width: 84px;
        height: auto;
        max-height: 62px;
        object-fit: contain;
    }

    .home-section {
        margin-top: 28px;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading h2 {
        font-size: 1.7rem;
    }

    .category-card {
        max-width: none;
    }

    /* Kompakt mobil ürün kartı */

    .product-card {
        height: auto;
        border-radius: 14px;
    }

    .product-card-image,
    .product-image {
        height: 120px;
        padding: 6px;
        object-fit: contain;
    }

    .featured-badge {
        top: 7px;
        left: 7px;
        padding: 4px 7px;
        font-size: 0.58rem;
    }

    .product-card-body {
        min-height: 0;
        padding: 10px;
    }

    .product-category {
        margin-bottom: 3px;
        font-size: 0.62rem;
    }

    .product-title {
        margin-bottom: 4px;
        font-size: 0.9rem;
        line-height: 1.2;
        -webkit-line-clamp: 2;
    }

    .product-desc,
    .product-description {
        display: none;
    }

    .product-price {
        margin: 7px 0 9px;
        font-size: 0.95rem;
    }

    .product-actions {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

        .product-actions > .btn {
            display: flex !important;
            width: 100% !important;
            min-width: 0;
            min-height: 36px;
            flex: none !important;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            padding: 7px 2px;
            overflow: hidden;
            font-size: 0.68rem;
            line-height: 1;
            text-align: center;
            white-space: nowrap;
            border-radius: 8px;
        }

        .product-actions > .btn-trendyol {
            display: flex !important;
            width: 100% !important;
        }
}
