/* ==========================================
   RENOS OPTİK V7 | STYLE.CSS
   SAYFA 1/2
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{scroll-behavior:smooth;}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#0b0b0b;
    color:#fff;
    line-height:1.5;
}

/* HEADER */

header{
    position:sticky;
    top:0;
    z-index:999;
    background:#111;
    border-bottom:1px solid #222;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 6%;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:inherit;
    cursor:pointer;
}

.logo img{width:52px;}

.logo h2{
    color:#F18700;
    font-size:22px;
}

.logo small{color:#9ca3af;}

nav{
    display:flex;
    gap:28px;
}

nav a{
    color:#ddd;
    text-decoration:none;
    transition:.25s;
}

nav a:hover{color:#F18700;}

/* HERO */

.hero{
    height:380px;
    display:flex;
    align-items:center;
    padding:0 7%;
    background:
    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.55)),
    url("assets/kampanya1.jpg") center/cover no-repeat;
}

.heroContent{max-width:560px;}

.hero h1{
    font-size:48px;
    line-height:1.1;
    margin-bottom:18px;
}

.hero p{
    color:#ddd;
    font-size:16px;
    margin-bottom:28px;
}

.badge{
    display:inline-block;
    background:rgba(241,135,0,.18);
    color:#F18700;
    border:1px solid rgba(241,135,0,.35);
    padding:8px 14px;
    border-radius:30px;
    font-size:12px;
    margin-bottom:16px;
}

/* BAŞLIKLAR */

.title{
    text-align:center;
    font-size:34px;
    margin-bottom:10px;
}

.subtitle{
    text-align:center;
    color:#888;
    margin-bottom:35px;
}

/* BUTON */

.btn{
    display:inline-block;
    padding:12px 22px;
    background:#F18700;
    color:#111;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
    transition:.25s;
}

.btn:hover{
    transform:translateY(-2px);
}

/* ==========================================
   ÜRÜNLER (8'Lİ ORİJİNAL)
========================================== */

.products{
    width:100%;
    max-width:1280px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
    padding:0 6% 60px;
}

.pcard{
    background:#151515;
    border:1px solid #252525;
    border-radius:16px;
    overflow:hidden;
    transition:.25s;
}

.pcard:hover{
    transform:translateY(-5px);
    border-color:#F18700;
}

.image{
    position:relative;
    width:100%;
    aspect-ratio:1/1;
    background:#fff;
    overflow:hidden;
}

.image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.35s;
}

.pcard:hover img{
    transform:scale(1.05);
}

.newTag{
    position:absolute;
    top:10px;
    left:10px;
    background:#F18700;
    color:#111;
    padding:6px 10px;
    border-radius:20px;
    font-size:11px;
    font-weight:bold;
}

.fav{
    position:absolute;
    top:10px;
    right:10px;
    width:36px;
    height:36px;
    border-radius:50%;
    background:rgba(0,0,0,.65);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:20px;
    cursor:pointer;
}

.price{
    position:absolute;
    left:10px;
    bottom:10px;
    background:#111;
    color:#F18700;
    padding:8px 12px;
    border-radius:8px;
    font-size:15px;
    font-weight:bold;
}

.info{
    padding:16px;
}

.brand{
    color:#F18700;
    font-size:12px;
    font-weight:bold;
    letter-spacing:1px;
}

.model{
    font-size:17px;
    font-weight:bold;
    margin:6px 0;
    min-height:42px;
}

.status{
    display:inline-block;
    padding:8px 14px;
    border-radius:30px;
    font-size:11px;
    font-weight:bold;
    margin-top:8px;
}

.ready{
    background:#143d24;
    color:#86efac;
    border:1px solid #22c55e;
}

.order{
    background:#4a3208;
    color:#fcd34d;
    border:1px solid #f59e0b;
}

/* MARKALAR devamı SAYFA 2'de */
/* ==========================================
   RENOS OPTİK V7 | STYLE.CSS
   SAYFA 2/2
========================================== */

/* MARKALAR */

.brandsSection{
    padding:55px 0;
}

.brandGrid{
    width:100%;
    max-width:980px;
    margin:0 auto 50px;
    padding:0 6%;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}

.brandCard{
    position:relative;
    display:block;
    height:120px;
    overflow:hidden;
    border-radius:10px;
    border:1px solid #2a2a2a;
    background:#151515;
    text-decoration:none;
    transition:.25s;
}

.brandCard:hover{
    transform:translateY(-3px);
    border-color:#F18700;
}

.brandCard img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:10px;
    background:linear-gradient(to top,rgba(0,0,0,.88),transparent);
}

.overlay h3{
    margin:0;
    color:#fff;
    font-size:14px;
    font-weight:700;
}

/* PRODUCT DETAIL */

.productDetail{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    padding:50px 6%;
    align-items:start;
}

.bigImage{
    width:100%;
    border-radius:18px;
    overflow:hidden;
    background:#fff;
}

.bigImage img{
    width:100%;
    display:block;
}

.gallery{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    margin-top:15px;
}

.gallery img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:10px;
    border:2px solid transparent;
    cursor:pointer;
    transition:.25s;
}

.gallery img:hover,
.gallery img.active{
    border-color:#F18700;
}

.detailBrand{
    color:#F18700;
    font-size:13px;
    font-weight:bold;
    margin-bottom:8px;
}

.detailTitle{
    font-size:36px;
    margin-bottom:12px;
}

.detailPrice{
    font-size:34px;
    color:#F18700;
    font-weight:bold;
    margin:18px 0;
}

.detailText{
    color:#bdbdbd;
    margin-bottom:22px;
}

.specs{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin:20px 0;
}

.spec{
    background:#161616;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:12px;
}

.spec span{
    display:block;
    color:#888;
    font-size:12px;
    margin-bottom:5px;
}

/* SEARCH */

.searchArea{
    padding:30px 6% 20px;
}

.searchBox{
    display:flex;
    gap:12px;
    margin-bottom:16px;
}

#search{
    flex:1;
    padding:14px 16px;
    background:#111;
    border:1px solid #333;
    color:#fff;
    border-radius:10px;
}

#sort{
    width:180px;
    padding:14px;
    background:#111;
    border:1px solid #333;
    color:#fff;
    border-radius:10px;
}

.filters{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.filterBtn{
    padding:9px 18px;
    border:1px solid #333;
    background:#111;
    color:#fff;
    border-radius:30px;
    cursor:pointer;
    transition:.25s;
}

.filterBtn:hover,
.filterBtn.active{
    background:#F18700;
    color:#111;
}

/* FOOTER */

footer{
    padding:30px 6%;
    border-top:1px solid #222;
    text-align:center;
    color:#777;
}

/* UTILITIES */

.hide{
    display:none!important;
}

section{
    width:100%;
}

/* TABLET */

@media(max-width:992px){

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

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

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

    .hero h1{
        font-size:42px;
    }

}

/* MOBILE */

@media(max-width:768px){

    header{
        flex-direction:column;
        gap:15px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
        gap:16px;
    }

    .hero{
        min-height:420px;
        text-align:center;
        justify-content:center;
    }

    .hero h1{
        font-size:34px;
    }

    .searchBox{
        flex-direction:column;
    }

    #sort{
        width:100%;
    }

    .products{
        grid-template-columns:repeat(2,1fr);
        gap:14px;
    }

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

    .brandCard{
        height:150px;
    }

    .gallery{
        grid-template-columns:repeat(4,1fr);
    }

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

}

@media(max-width:480px){

    .title{
        font-size:26px;
    }

    .hero h1{
        font-size:28px;
    }

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

    .btn{
        width:100%;
        text-align:center;
    }

}
/* =========================================================
   RENOS OPTİK - MARKALAR SAYFASI (PC + TABLET + MOBİL)
   brands.php için özel görünüm
========================================================= */

.brands-page{
    background:#f7f8fa;
    color:#161b22;
}

.brands-page header{
    background:#111820;
    border-bottom:1px solid rgba(255,255,255,.08);
    padding:14px 5%;
}

.brands-page .logo{
    color:#fff;
    text-decoration:none;
}

.brands-page .logo img{
    width:58px;
    height:58px;
    object-fit:contain;
    border-radius:50%;
}

.brands-page .logo h2{
    color:#fff;
    font-size:25px;
    line-height:1.05;
    letter-spacing:.2px;
}

.brands-page .logo small{
    color:#d6d9dd;
}

.brands-page nav a{
    color:#f4f4f4;
    font-weight:600;
    padding:10px 3px;
    position:relative;
}

.brands-page nav a.active,
.brands-page nav a:hover{
    color:#fff;
}

.brands-page nav a.active::after{
    content:"";
    position:absolute;
    height:2px;
    left:0;
    right:0;
    bottom:2px;
    background:#F18700;
}

/* Büyük görsel artık tam ekranı kaplamaz: sadece ince banner */
.brandsBanner{
    width:100%;
    height:190px;
    background:#eee;
    overflow:hidden;
}

.brandsBanner img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
}

.brandsMain{
    width:min(1420px, 92%);
    margin:0 auto;
    padding:30px 0 70px;
}

.brandsHeading h1{
    margin:0;
    font-size:36px;
    line-height:1.15;
    color:#171e27;
    font-weight:800;
}

.brandsHeading span{
    display:block;
    width:145px;
    height:5px;
    margin-top:13px;
    border-radius:10px;
    background:#F18700;
}

.brandTools{
    display:grid;
    grid-template-columns:minmax(280px, 1fr) minmax(430px, 1.25fr);
    gap:38px;
    align-items:center;
    margin:26px 0 28px;
}

.brandSearchWrap{
    height:52px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 17px;
    background:#fff;
    border:1px solid #dfe3e8;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,.025);
}

.brandSearchWrap svg{
    width:22px;
    height:22px;
    fill:none;
    stroke:#29313a;
    stroke-width:1.8;
    stroke-linecap:round;
}

.brandSearchWrap input{
    width:100%;
    height:100%;
    border:0;
    outline:0;
    background:transparent;
    color:#1c232b;
    font-size:15px;
}

.brandSearchWrap input::placeholder{
    color:#9ca3ad;
}

.brands-page .letters{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:flex-end;
}

.brands-page .letters button{
    min-width:38px;
    height:38px;
    border:1px solid #dfe3e8;
    border-radius:8px;
    background:#fff;
    color:#222a33;
    cursor:pointer;
    font-size:14px;
    transition:.18s ease;
}

.brands-page .letters button:hover{
    border-color:#F18700;
    color:#F18700;
}

.brands-page .letters button.active{
    min-width:66px;
    border-color:#F18700;
    background:#F18700;
    color:#fff;
    font-weight:700;
    box-shadow:0 5px 12px rgba(241,135,0,.24);
}

/* PC: 4 eşit sütun */
.brands-page .brandGrid{
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:16px;
}

.brands-page .brandCard{
    height:auto;
    min-height:166px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:16px 14px 13px;
    background:#fff;
    border:1px solid #e0e4e9;
    border-radius:12px;
    overflow:hidden;
    text-decoration:none;
    box-shadow:0 2px 10px rgba(16,24,40,.025);
    transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.brands-page .brandCard:hover{
    transform:translateY(-4px);
    border-color:#F18700;
    box-shadow:0 9px 24px rgba(16,24,40,.08);
}

.brands-page .brandImageBox{
    width:100%;
    height:105px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:#fff;
}

/* Kritik kısım: marka görseli asla kartı büyütmez */
.brands-page .brandCard .brandImageBox img{
    width:auto !important;
    height:auto !important;
    max-width:88% !important;
    max-height:88px !important;
    object-fit:contain !important;
    object-position:center !important;
    display:block;
    transform:none !important;
}

.brands-page .brandCard h3{
    margin:0;
    color:#202832;
    font-size:15px;
    line-height:1.25;
    font-weight:500;
    text-align:center;
}

.brands-page .brandCard .overlay{
    display:none !important;
}

.brands-page .brandCard[hidden]{
    display:none !important;
}

.noBrands{
    margin:35px auto;
    padding:20px;
    text-align:center;
    color:#6b7280;
    background:#fff;
    border:1px solid #e3e7eb;
    border-radius:12px;
}

@media(max-width:1050px){
    .brandTools{
        grid-template-columns:1fr;
        gap:18px;
    }

    .brands-page .letters{
        justify-content:flex-start;
    }

    .brands-page .brandGrid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}

@media(max-width:768px){
    .brands-page header{
        padding:12px 5%;
    }

    .brands-page .logo h2{
        font-size:21px;
    }

    .brands-page .logo img{
        width:50px;
        height:50px;
    }

    .brandsBanner{
        height:140px;
    }

    .brandsMain{
        width:92%;
        padding-top:24px;
    }

    .brandsHeading h1{
        font-size:29px;
    }

    .brands-page .brandGrid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:12px;
    }

    .brands-page .brandCard{
        min-height:145px;
        padding:12px 9px;
    }

    .brands-page .brandImageBox{
        height:88px;
    }

    .brands-page .brandCard .brandImageBox img{
        max-height:72px !important;
    }
}

@media(max-width:480px){
    .brandsBanner{
        height:105px;
    }

    .brandsHeading h1{
        font-size:25px;
    }

    .brandSearchWrap{
        height:48px;
    }

    .brands-page .letters button{
        min-width:34px;
        height:34px;
        font-size:12px;
    }

    .brands-page .letters button.active{
        min-width:58px;
    }

    .brands-page .brandCard{
        min-height:130px;
    }

    .brands-page .brandImageBox{
        height:75px;
    }

    .brands-page .brandCard .brandImageBox img{
        max-height:61px !important;
        max-width:90% !important;
    }

    .brands-page .brandCard h3{
        font-size:13px;
    }
}


/* BRAND PAGE COMPACT PRODUCT GRID V5 */
.brand-page{background:#0b0b0b;color:#fff}
.brand-page-hero{width:88%;max-width:1240px;margin:0 auto;padding:38px 0 26px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-bottom:1px solid #242424}
.brand-page-hero h1{margin:0;font-size:34px;line-height:1.15}
.brand-page-hero p{margin:7px 0 0;color:#888;font-size:13px}
.brandBack{color:#F18700;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}
.brand-products{width:88%;max-width:1240px;margin:0 auto;padding:28px 0 65px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:start}
.brand-product-card{min-width:0;overflow:hidden;border:1px solid #272727;border-radius:14px;background:#151515;transition:.25s}
.brand-product-card:hover{transform:translateY(-4px);border-color:#F18700;box-shadow:0 12px 26px rgba(0,0,0,.28)}
.brand-product-image{position:relative;width:100%;height:190px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center}
.brand-product-image img{width:100%;height:100%;display:block;object-fit:contain;padding:8px;transition:.3s}
.brand-product-card:hover .brand-product-image img{transform:scale(1.025)}
.brand-new-tag{position:absolute;z-index:3;top:9px;left:9px;padding:5px 9px;border-radius:20px;background:#F18700;color:#111;font-size:10px;font-weight:700}
.brand-product-price{position:absolute;z-index:3;left:9px;bottom:9px;padding:6px 10px;border-radius:7px;background:rgba(10,10,10,.92);color:#F18700;font-size:13px;font-weight:700}
.brand-product-info{padding:13px}
.brand-product-brand{color:#F18700;font-size:11px;font-weight:700;letter-spacing:.8px;text-transform:uppercase}
.brand-product-model{min-height:38px;margin:5px 0 3px;font-size:15px;line-height:1.25;font-weight:700}
.brand-product-category{margin:3px 0 9px;color:#888;font-size:11px}
.brand-product-status{display:inline-block;margin:0 0 12px;padding:6px 10px;border-radius:20px;font-size:9px;font-weight:700}
.brand-ready{background:#143d24;color:#86efac;border:1px solid #22c55e}
.brand-order{background:#4a3208;color:#fcd34d;border:1px solid #f59e0b}
.brand-product-btn{display:block;width:100%;padding:9px 10px;border-radius:8px;background:#F18700;color:#111;text-align:center;text-decoration:none;font-size:13px;font-weight:700;transition:.2s}
.brand-product-btn:hover{background:#ff9b19}
.brand-empty{grid-column:1/-1;text-align:center;padding:70px 20px;color:#fff}
.brand-empty p{margin-top:8px;color:#888}
@media(max-width:1000px){.brand-products{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-product-image{height:185px}}
@media(max-width:760px){.brand-page-hero{width:92%;padding:28px 0 20px;align-items:flex-start;flex-direction:column}.brand-page-hero h1{font-size:28px}.brand-products{width:92%;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:20px}.brand-product-image{height:155px}.brand-product-info{padding:11px}.brand-product-model{font-size:14px}.brand-product-btn{font-size:12px}}
@media(max-width:430px){.brand-product-image{height:140px}.brand-products{gap:10px}}
