/* ======================
   RESET & GENEL
====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}


body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ======================
   NAVBAR
====================== */
.navbar {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.badge {
    background: #ffb703;
    color: #000;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 14px;
    margin-left: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links a {
    font-weight: 500;
    color: #333;
}

.nav-links a:hover {
    color: #ff5a8a;
}

.admin-icon {
    font-size: 18px;
}

/* HAMBURGER */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    padding: 70px 30px;
    transition: 0.3s ease;
    z-index: 999;
}

.mobile-menu a {
    display: block;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

.mobile-menu.active {
    left: 0;
}

/* ======================
   HERO
====================== */
.hero {
    padding: 90px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fff0f5, #ffffff);
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero p {
    color: #666;
    font-size: 16px;
}

.hero-badge {
    display: inline-block;
    margin-top: 20px;
    background: #111;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
}

/* ======================
   SECTIONS
====================== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.section-title p {
    color: #888;
}

/* ======================
   PRODUCTS
====================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e63946;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
}

.product-content {
    padding: 18px;
}

.product-title {
    font-size: 17px;
    margin-bottom: 8px;
}

.product-price {
    margin-bottom: 14px;
}

.current-price {
    font-weight: 600;
    font-size: 18px;
    color: #2a9d8f;
}

.old-price {
    text-decoration: line-through;
    color: #aaa;
    margin-left: 8px;
    font-size: 14px;
}

/* WHATSAPP */
.whatsapp-btn {
    display: block;
    text-align: center;
    background: #25d366;
    color: #fff;
    padding: 11px;
    border-radius: 30px;
    font-weight: 500;
}

.whatsapp-btn:hover {
    background: #1ebe5b;
}

/* ======================
   REVIEWS
====================== */
.reviews-section {
    background: #fff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.review-card {
    background: #fafafa;
    padding: 22px;
    border-radius: 18px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    margin-right: 12px;
}

.review-info h4 {
    font-size: 15px;
    font-weight: 600;
}

.review-product {
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
}

.review-text {
    font-size: 14px;
    color: #555;
    margin-top: 8px;
}

/* ======================
   FOOTER
====================== */
footer {
    background: #111;
    color: #bbb;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 30px;
    }
}
/* ======================
   PRODUCT CARD FIX (COMPACT)
====================== */

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    height: 180px !important; /* 🔥 RESİM KISALDI */
}

.product-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 6px;

    /* 🔥 2 SATIRDA KES */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    margin-bottom: 10px;
}

.whatsapp-btn {
    margin-top: auto; /* 🔥 BUTONU AŞAĞI SABİTLE */
    padding: 9px;
    font-size: 14px;
}
/* ======================
   PRODUCT IMAGE FRAME STYLE
====================== */

.product-image {
    height: 170px;
    width: 100%;
    object-fit: contain;       /* 🔥 KAPLAMAZ */
    background: #f7f7f7;       /* ÇERÇEVE ETKİSİ */
    padding: 12px;
    border-radius: 14px;
}

/* Kart içinden taşmasın */
.product-card img {
    max-width: 100%;
}
.product-card:hover .product-image-wrap img {
    transform: scale(1.05);
    transition: .3s ease;
}
/* ======================
   PRODUCT IMAGE FIX
====================== */

.product-image-wrap {
    width: 100%;
    height: 180px;
    background: #f6f6f6;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-wrap img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
/* ======================
   PRODUCT DETAIL
====================== */

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    background: #f7f7f7;
    border-radius: 20px;
    padding: 25px;
    position: relative;
}

.product-main-image img {
    width: 100%;
    height: 420px;
    object-fit: contain;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.product-thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid transparent;
    background: #f6f6f6;
    cursor: pointer;
}

.product-thumbnails img.active {
    border-color: #25d366;
}

.product-info-box {
    background: #fff;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.product-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-price-large {
    margin-bottom: 20px;
}

.product-price-large .current-price {
    font-size: 26px;
    font-weight: 700;
    color: #2a9d8f;
}

.product-price-large .old-price {
    margin-left: 10px;
    color: #aaa;
    text-decoration: line-through;
}

.product-description {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.product-whatsapp {
    font-size: 16px;
    padding: 14px;
    margin-bottom: 25px;
}

.product-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
}

.product-features i {
    color: #25d366;
    margin-right: 6px;
}

/* MOBILE */
@media (max-width: 768px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .product-main-image img {
        height: 300px;
    }
}
/* === PRODUCT CARD (FINAL) === */

.product-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: .3s ease;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-image-wrap {
    width: 100%;
    height: 220px;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrap img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.product-content {
    padding: 18px;
    text-align: center;
}

.product-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    min-height: 44px;
}

.product-price {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #2a9d8f;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #e63946;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
}
:root {
}

body {
    padding-top: var(--nav-height);
}

.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.mobile-menu {
    top: var(--nav-height);
}

/* HERO MOBİL FIX */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .hero {
        padding: 50px 16px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 14px;
    }
}
/* ======================
 /* ======================
   BANNER SLIDER (FINAL)
====================== */

.banner-slider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 18px;
}


.banner-track {
    display: flex;
    transition: transform 0.6s ease;
}

.banner-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.banner-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* MOBİL */
@media (max-width: 768px) {
    .banner-slide img {
        height: 200px;
    }
}
