﻿html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

.mp-page {
    min-height: 100vh;
    background: #f5f5f5;
}

.mp-container {
    width: 1180px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
}

.top-campaign {
    background: linear-gradient(90deg, #ff7a00, #ffb100, #f4f779, #70d46b);
    height: 52px;
    display: flex;
    align-items: center;
}

.top-campaign-inner {
    width: 1180px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #2c2c2c;
}

.top-campaign strong {
    font-size: 25px;
    color: #c02000;
    text-shadow: 0 2px 0 rgba(255,255,255,.65);
}

.top-campaign span {
    font-size: 18px;
    font-weight: 700;
}

.top-campaign a {
    margin-left: auto;
    background: #fff;
    color: #f27a1a;
    padding: 9px 16px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
}

.mp-header {
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-row {
    height: 96px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    width: 190px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f27a1a;
    color: #fff;
    border-radius: 16px;
    font-size: 34px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(242,122,26,.35);
}

.brand-text {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -2px;
    color: #222;
}

.search-box {
    flex: 1;
    height: 50px;
    background: #f3f3f3;
    border-radius: 10px;
    display: flex;
    align-items: center;
    border: 2px solid transparent;
    transition: .2s;
}

.search-box:focus-within {
    background: #fff;
    border-color: #f27a1a;
    box-shadow: 0 0 0 4px rgba(242,122,26,.10);
}

.search-icon {
    color: #f27a1a;
    font-size: 36px;
    line-height: 1;
    margin-left: 18px;
    margin-right: 8px;
}

.search-box input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    height: 46px;
    font-size: 16px;
    color: #555;
}

.search-box button {
    margin-right: 6px;
    height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #f27a1a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 700;
}

.ha-item span {
    font-size: 25px;
    vertical-align: middle;
    margin-right: 5px;
}

.ha-item:hover {
    color: #f27a1a;
}

.category-menu {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.category-row {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.category-row a {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.category-row a:hover {
    color: #f27a1a;
}

.cat-all {
    font-size: 18px !important;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    margin: 30px 0 26px;
}

.quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #333;
    text-align: center;
}

.quick-card:hover b {
    color: #f27a1a;
}

.quick-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 3px solid #f27a1a;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    font-size: 34px;
    font-weight: 900;
}

.q1 { color: #f27a1a; border-color: #f27a1a; }
.q2 { color: #fff; background: #ff7a00; border-color: #ff7a00; }
.q3 { color: #7b3ff2; border-color: #dd9bff; }
.q4 { color: #ff7a00; border-color: #ffc2a0; }
.q5 { color: #e3006d; border-color: #ffcce4; }
.q6 { color: #2aa84a; border-color: #b5edc4; }

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 178px 178px;
    gap: 18px;
}

.hero-main {
    grid-row: span 2;
    border-radius: 14px;
    overflow: hidden;
    min-height: 374px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.30), transparent 24%),
        linear-gradient(135deg, #ff7a00 0%, #ffb000 42%, #8a2be2 100%);
    position: relative;
}

.hero-main:after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 50px;
    max-width: 520px;
    color: #fff;
}

.hero-content small {
    display: inline-block;
    background: rgba(255,255,255,.2);
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
}

.hero-content h1 {
    margin: 20px 0 12px;
    font-size: 44px;
    line-height: 1.05;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.5;
    opacity: .95;
}

.hero-content a {
    display: inline-block;
    margin-top: 18px;
    background: #fff;
    color: #f27a1a;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 800;
}

.hero-side {
    border-radius: 14px;
    padding: 28px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.hero-side b {
    font-size: 28px;
    margin-bottom: 8px;
}

.hero-side span {
    font-size: 15px;
    opacity: .92;
}

.s1 { background: linear-gradient(135deg, #1e88e5, #43cea2); }
.s2 { background: linear-gradient(135deg, #6a11cb, #f27a1a); }

.market-section {
    margin-top: 28px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 0 rgba(0,0,0,.05);
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

.section-title h2 {
    margin: 0;
    font-size: 28px;
}

.section-title a {
    margin-left: auto;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.product-card {
    position: relative;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    transition: .2s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0,0,0,.10);
    border-color: #ffd2ad;
}

.fav {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    background: #fff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 16px rgba(0,0,0,.12);
}

.product-image {
    height: 190px;
    border-radius: 12px;
    margin-bottom: 12px;
    background-size: cover;
    background-position: center;
}

.p1 { background: linear-gradient(135deg, #eaf6ff, #ffc371); }
.p2 { background: linear-gradient(135deg, #f3f7ff, #5c7cfa); }
.p3 { background: linear-gradient(135deg, #ffe1ec, #fff); }
.p4 { background: linear-gradient(135deg, #f0f0f0, #252525); }
.p5 { background: linear-gradient(135deg, #e0fff4, #ffdd99); }

.badge {
    display: inline-block;
    background: #ff7a00;
    color: #fff;
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
}

.badge.orange { background: #f27a1a; }
.badge.purple { background: #7b3ff2; }

.product-card h3 {
    margin: 12px 0 6px;
    font-size: 17px;
}

.product-card p {
    min-height: 38px;
    margin: 0 0 10px;
    color: #777;
    font-size: 13px;
    line-height: 1.4;
}

.price {
    color: #f27a1a;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 12px;
}

.product-btn {
    display: block;
    text-align: center;
    background: #f27a1a;
    color: #fff;
    padding: 11px;
    border-radius: 8px;
    font-weight: 800;
}

.brand-strip {
    margin: 24px 0 50px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.brand-strip a {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    font-weight: 800;
    color: #333;
    border: 1px solid #eee;
}

.brand-strip a:hover {
    border-color: #f27a1a;
    color: #f27a1a;
}

.admin-shortcut {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #222;
    color: #fff;
    padding: 13px 18px;
    border-radius: 24px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    z-index: 50;
}

@media (max-width: 980px) {
    .header-row {
        height: auto;
        padding: 16px 0;
        flex-wrap: wrap;
    }

    .brand {
        width: auto;
    }

    .search-box {
        order: 3;
        flex-basis: 100%;
    }

    .quick-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .hero-main {
        min-height: 300px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .top-campaign {
        height: auto;
        padding: 10px 0;
    }

    .top-campaign-inner {
        flex-wrap: wrap;
        gap: 8px;
    }

    .top-campaign strong {
        font-size: 20px;
    }

    .top-campaign span {
        font-size: 14px;
    }

    .brand-text {
        font-size: 32px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        font-size: 13px;
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        padding: 28px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* PAKET 4/3-30.7 — gerçek ürün resmi düzeltmeleri */
.product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
}

.product-image-real {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.mc-product-card__image {
    display: block;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 768px) {
    .product-image-link {
        height: 180px;
    }
}


/* Paket 4/3-31.0 mobil mağaza görseli */
.top-campaign-inner{
    display:grid;
    grid-template-columns:auto auto 1fr auto;
    align-items:center;
    gap:18px;
}
.mobile-store-badges{
    display:block;
    width:150px;
    max-height:64px;
    object-fit:contain;
    border-radius:8px;
    background:#fff;
}
@media(max-width:900px){
    .top-campaign-inner{grid-template-columns:auto 1fr auto;gap:10px}
    .mobile-store-badges{width:105px;max-height:48px}
}
@media(max-width:650px){
    .top-campaign-inner{display:flex;flex-wrap:wrap;justify-content:center;text-align:center}
    .mobile-store-badges{width:120px}
}

