﻿/*=========================================================
  MST TEKNİK V2
  Author  : OpenAI + Aykut
  Version : 1.0
=========================================================*/

/*==============================
    GOOGLE FONT
==============================*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

/*==============================
    ROOT VARIABLES
==============================*/
:root {
    --primary: #f58220;
    --primary-dark: #d86c12;
    --secondary: #1d1d1f;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #eef1f4;
    --gray-300: #d9dde2;
    --gray-400: #b8bec7;
    --gray-500: #9198a1;
    --gray-700: #555;
    --gray-900: #222;
    --text: #444;
    --title: #181818;
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 5px 15px rgba(0,0,0,.06);
    --shadow: 0 15px 40px rgba(0,0,0,.12);
    --shadow-lg: 0 30px 80px rgba(0,0,0,.18);
    --transition: .35s ease;
    --header-height: 92px;
    --container: 1320px;
}


/*==============================
        RESET
==============================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope',sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 16px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition);
}

input,
textarea,
select {
    outline: none;
    box-shadow: none;
}

section {
    position: relative;
    padding: 110px 0;
}

.container {
    max-width: var(--container);
}

/*=========================================================
    TYPOGRAPHY
=========================================================*/

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--title);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0;
}

h1 {
    font-size: clamp(42px,5vw,74px);
}

h2 {
    font-size: clamp(32px,3vw,52px);
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

p {
    margin-bottom: 0;
}


/*=========================================================
    SECTION
=========================================================*/

.mst-section {
    padding: 20px 0;
}

.mst-section-sm {
    padding: 80px 0;
}

.mst-title {
    margin-bottom: 18px;
    color: var(--title);
}

.mst-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 50px;
    background: #fff3e8;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.mst-description {
    max-width: 680px;
    color: #666;
    font-size: 18px;
    line-height: 1.9;
}


/*=========================================================
    BUTTONS
=========================================================*/

.mst-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 34px;
    border-radius: 60px;
    font-weight: 700;
    transition: .4s;
    position: relative;
    overflow: hidden;
}

.mst-btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 15px 35px rgba(245,130,32,.35);
}

    .mst-btn-primary:hover {
        transform: translateY(-4px);
        background: var(--primary-dark);
        color: #fff;
    }

.mst-btn-outline {
    border: 2px solid rgba(255,255,255,.35);
    color: #fff;
}

    .mst-btn-outline:hover {
        background: #fff;
        color: var(--primary);
    }

.mst-btn-dark {
    background: var(--secondary);
    color: #fff;
}

    .mst-btn-dark:hover {
        transform: translateY(-4px);
    }


/*=========================================================
    BACK TO TOP
    Not: Bu buton _Layout.cshtml içinde HAZIR duruyordu ama hiç
    CSS/JS'i yoktu; bu yüzden görünmüyor ve tıklanınca hiçbir şey
    yapmıyordu. Layout'ta olduğu için tüm sayfalarda (Ürünler dahil)
    otomatik olarak çalışır hale geldi.
=========================================================*/

#backToTop {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(245,130,32,.35);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .3s ease;
}

    #backToTop.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #backToTop:hover {
        background: var(--primary-dark);
        transform: translateY(-4px);
    }

@media(max-width:576px) {

    #backToTop {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--primary);
    z-index: 9999;
    transition: width .1s linear;
}


.dropdown-menu {
    border: none;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
    margin-top: 15px;
}

.dropdown-item {
    border-radius: 10px;
    padding: 10px 16px;
    transition: .25s;
    font-weight: 500;
}

    .dropdown-item:hover {
        background: #f58220;
        color: #fff;
    }

.dropdown-toggle::after {
    display: none;
}

.menu-arrow {
    font-size: 12px;
    margin-left: 6px;
    transition: .30s;
}
.nav-item.dropdown:hover .menu-arrow {
    transform: rotate(180deg);
}

@media (min-width:992px) {

    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: all .25s ease;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
.navbar .dropdown:hover > .nav-link {
    color: #f58220;
}

    .navbar .dropdown:hover > .nav-link::after {
        width: 100%;
    }

.dropdown-menu {
    min-width: 240px;
    padding: 12px;
    border: none;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.dropdown-item {
    border-radius: 12px;
    padding: 12px 18px;
    transition: .25s;
}

    .dropdown-item:hover {
        background: #f58220;
        color: #fff;
        transform: translateX(6px);
    }











.mst-wholesale-page {
    padding: 50px 0 80px;
}

.mst-wholesale-header {
    max-width: 850px;
    margin: 0 auto 55px;
}

.mst-wholesale-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: #fff3e8;
    color: #ff7a00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
}

.mst-wholesale-header h1 {
    margin: 20px 0 18px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 800;
    color: #171717;
}

    .mst-wholesale-header h1 span {
        color: #ff7a00;
    }

.mst-wholesale-header p {
    max-width: 700px;
    margin: auto;
    color: #666;
    font-size: 17px;
    line-height: 1.7;
}


/* Kategoriler */

.mst-wholesale-categories h2 {
    margin-bottom: 8px;
    font-size: 30px;
    font-weight: 800;
}

.category-intro {
    color: #777;
    margin-bottom: 25px;
}


.wholesale-category-card {
    height: 100%;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,.04);
    transition: .2s ease;
}

    .wholesale-category-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0,0,0,.08);
    }


.wholesale-category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

    .wholesale-category-title h3 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
    }

        .wholesale-category-title h3 a {
            color: #171717;
            text-decoration: none;
        }

            .wholesale-category-title h3 a:hover {
                color: #ff7a00;
            }

    .wholesale-category-title > span {
        white-space: nowrap;
        font-size: 12px;
        color: #888;
    }


/* Alt kategoriler */

.wholesale-subcategories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
}

    .wholesale-subcategories a {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 9px 5px;
        color: #555;
        text-decoration: none;
        font-size: 14px;
        transition: .2s ease;
    }

        .wholesale-subcategories a:hover {
            color: #ff7a00;
        }

    .wholesale-subcategories i {
        font-size: 11px;
        color: #ff7a00;
    }

    .wholesale-subcategories span {
        flex: 1;
    }

    .wholesale-subcategories small {
        color: #aaa;
        font-size: 11px;
    }


/* Alt kategorisi olmayan */

.category-all-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: #ff7a00;
    font-weight: 600;
    text-decoration: none;
}

    .category-all-link:hover {
        color: #e96b00;
    }


/* Bilgi alanı */

.mst-wholesale-info {
    margin-top: 60px;
    padding: 40px;
    border-radius: 20px;
    background: #f7f7f7;
}

    .mst-wholesale-info h2 {
        margin-bottom: 15px;
        font-size: 28px;
        font-weight: 800;
    }

    .mst-wholesale-info p {
        color: #666;
        line-height: 1.7;
    }

    .mst-wholesale-info .btn {
        padding: 13px 22px;
        font-weight: 600;
    }


/* Mobil */

@media (max-width: 767.98px) {

    .mst-wholesale-page {
        padding: 30px 0 50px;
    }

    .mst-wholesale-header {
        margin-bottom: 35px;
    }

        .mst-wholesale-header h1 {
            font-size: 32px;
        }

        .mst-wholesale-header p {
            font-size: 15px;
        }

    .wholesale-category-card {
        padding: 20px;
    }

    .wholesale-category-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .wholesale-subcategories {
        grid-template-columns: 1fr;
    }

    .mst-wholesale-info {
        padding: 25px 20px;
        margin-top: 40px;
    }

        .mst-wholesale-info .btn {
            margin-top: 15px;
            width: 100%;
        }
}