/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - Updated */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo h2 {
    color: #E91E63;
    font-weight: 600;
    font-size: 1.5rem;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #E91E63;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    border-bottom: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-box {
    display: flex;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    align-items: center;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    padding: 0.25rem;
    width: 200px;
}

.search-box button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Contact Info - Sepet yerine */
.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info .phone-number {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: 500;
    pointer-events: auto !important;
    cursor: pointer;
}

.contact-info:hover {
    background: #E91E63;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.phone-icon {
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Button Styles */
.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #E91E63;
    color: white;
    border-color: #E91E63;
}

.btn-primary:hover {
    background: #C2185B;
    border-color: #C2185B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn-secondary:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: #E91E63;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-description {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-category {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price,
.product-prices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.original-price {
    color: #999;
    text-decoration: line-through;
}

.current-price {
    color: #E91E63;
    font-weight: 600;
    font-size: 1.1rem;
}

.buy-now-btn {
    background: #E91E63;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.buy-now-btn:hover {
    background: #C2185B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* Instagram Section */
.instagram-section {
    padding: 80px 0;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 3rem;
}

.instagram-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.instagram-item:hover {
    transform: scale(1.05);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #E91E63;
}

.footer .social-links {
    display: flex;
    gap: 1rem;
}

.footer .social-link {
    width: 40px;
    height: 40px;
    background: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.2rem;
}

.footer .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer .social-link.facebook:hover {
    background: #1877F2;
}

.footer .social-link.instagram:hover {
    background: linear-gradient(45deg, #E4405F, #C13584, #833AB4);
}

.footer .social-link.whatsapp:hover {
    background: #25D366;
}

.footer .social-link.phone:hover {
    background: #FF6B6B;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Product Detail Page Styles */
.product-detail {
    padding: 120px 0 80px;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #E91E63;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #E91E63;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.product-detail-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 1.2rem;
}

.new-price {
    color: #E91E63;
    font-size: 1.8rem;
    font-weight: 700;
}

.product-description {
    color: #666;
    line-height: 1.8;
    margin: 2rem 0;
}

.stock-info {
    color: #4CAF50;
    margin-bottom: 2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.btn-buy-now {
    background: #E91E63;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-buy-now:hover {
    background: #C2185B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp {
    text-decoration: none !important;
}

.btn-whatsapp:hover {
    text-decoration: none !important;
    color: white !important;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp::before {
    content: "💬";
    font-size: 1.1rem;
}

.product-actions {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.product-actions a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Admin Panel Styles */
.admin-header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
}

.admin-nav {
    display: flex;
    gap: 2rem;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: #34495e;
}

.admin-content {
    padding: 2rem 0;
}

.admin-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.admin-table img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

/* Login Form */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* Contact Page */
.contact-section {
    padding: 120px 0 80px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

/* Hizmet kutuları (masaüstü) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

/* SSS ızgarası (masaüstü) */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
}

/* Genel: yatay kaymayı kes */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/***** PRODUCT DETAIL POLISH – NON-BREAKING OVERRIDES *****/

/* Header: dar ekranlarda taşmaları ve kaymaları düzelt, sepeti gizle (istersen 2 satır aşağıyı sil) */
.header .nav-wrapper {
    gap: 1rem;
    flex-wrap: wrap;
}

.header .main-nav {
    flex: 1 1 auto;
}

.header .header-actions {
    margin-left: auto;
}

.header .cart {
    display: none;
}

/* sepet alanı gereksiz ise gizle */

/* Breadcrumb */
.product-detail .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .92rem;
    color: #6b7280;
}

.product-detail .breadcrumb a {
    color: inherit;
}

.product-detail .breadcrumb a:hover {
    color: #E91E63;
}

/* Ürün detay ızgarası ve görsel alan */
.product-detail {
    padding: 120px 0 80px;
}

/* header fixed olduğu için */
.product-detail .product-detail-content {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 110px;
}

.product-gallery .main-image {
    width: 100%;
    height: clamp(320px, 50vw, 520px);
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    background: #f3f4f6;
}

.product-gallery .discount-badge {
    top: 16px;
    left: 16px;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
}

/* Başlık, fiyat ve açıklama blokları */
.product-detail-info h1 {
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: .75rem;
    color: #1f2937;
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin: 1rem 0 1.25rem;
}

.price-section .old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 1.05rem;
}

.price-section .new-price {
    color: #E91E63;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 800;
}

.product-description {
    color: #4b5563;
    line-height: 1.8;
    margin: 1.25rem 0 1.5rem;
}

.stock-info {
    font-weight: 600;
    color: #10B981;
}

/* Satın al/Whatsapp butonları: hizalı, mobilde tam genişlik */
.action-buttons {
    display: flex;
    gap: .75rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.action-buttons .btn-buy-now,
.action-buttons .btn-whatsapp {
    flex: 1 1 220px;
}

/* Alt aksiyon linkleri (favori / paylaş) */
.product-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.product-actions a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
}

.product-actions a:hover {
    color: #111827;
}

/* Meta + sosyal paylaşım butonları */
.product-meta {
    margin-top: 1rem;
}

.product-meta .social-share {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .25rem;
}

.product-meta .social-share .social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 50%;
    text-decoration: none;
    transition: .2s;
}

.product-meta .social-share .social-link:hover {
    transform: translateY(-2px);
    background: #e5e7eb;
}

/* Sekmeler */
.product-tabs {
    margin-top: 2.5rem;
}

.product-tabs .tab-headers {
    display: flex;
    gap: .5rem;
    border-bottom: 1px solid #eee;
    overflow: auto;
    padding-bottom: .25rem;
}

.product-tabs .tab-header {
    appearance: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px 16px;
    font-weight: 700;
    color: #6b7280;
    border-bottom: 3px solid transparent;
}

.product-tabs .tab-header.active {
    color: #E91E63;
    border-color: #E91E63;
}

.product-tabs .tab-content {
    display: none;
    padding: 1.25rem 0;
}

.product-tabs .tab-content.active {
    display: block;
}

/* Özellik kutuları */
.product-specs .spec-section {
    background: #f9fafb;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 12px;
}

.product-specs h3 {
    font-size: 1rem;
    letter-spacing: .3px;
    color: #111827;
    margin-bottom: .5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #E91E63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 968px) {

    /* Sadece yazıyı gizle, link görünür ve tıklanabilir kalsın */
    .contact-info .phone-number {
        display: none !important;
    }

    /* İkonu biraz büyütelim, kapsayıcı link olduğu için tamamı tıklanır */
    .contact-info .phone-icon {
        font-size: 1.3rem;
    }
}

.contact-info {
    text-decoration: none !important;
    /* alt çizgiyi kaldırır */
}

.contact-info:hover {
    text-decoration: none !important;
    /* hover’da da görünmesin */
}


/* ================== MOBİL RESPONSIVE ================== */
@media (max-width: 968px) {

    /* MOBİL MENÜ DÜZELTME */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        margin: 0;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }



    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-menu li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 8px;
        margin: 0 1rem;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: #f8f9fa;
        color: #E91E63;
    }

    /* DROPDOWN MOBİL - KATEGORİLER BUTONU DİREKT LİNK */
    .dropdown {
        width: 100%;
    }

    /* Mobilde dropdown menüyü gizle */
    .dropdown-menu {
        display: none !important;
    }

    /* Mobilde dropdown toggle'ı normal link gibi göster */
    .dropdown-toggle {
        pointer-events: auto;
    }

    .dropdown-toggle .arrow {
        display: none;
        /* Oku gizle */
    }

    .header-actions {
        gap: 1rem;
    }

    .search-box {
        display: none;
    }

    .contact-info .phone-number {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
        padding: 0 12px;
    }

    .service-card {
        width: 100%;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
        padding: 0 12px;
    }

    .faq-item {
        padding: 1.25rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        position: static;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .action-buttons .btn-buy-now,
    .action-buttons .btn-whatsapp {
        flex-basis: 100%;
    }
}

@media (max-width: 576px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .logo h2 {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 30px;
        height: 30px;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .dropdown-menu a {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Body scroll kilidi */
body.menu-open {
    overflow: hidden;
}

/* iletisim.html için özel düzenlemeler */
@media (max-width: 820px) {
    .contact-section .header-actions {
        display: none;
    }

    .contact-section .mobile-menu-toggle {
        display: flex;
    }

    .contact-section .main-nav {
        display: none;
        width: 100%;
    }

    .contact-section .main-nav.active {
        display: block;
    }

    .contact-section .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
        position: static;
        background: transparent;
        box-shadow: none;
        height: auto;
        padding: 1rem 0;
    }
}

/* Z-index hierarchy */
.header {
    z-index: 1000;
}

.mobile-menu-toggle {
    z-index: 1001;
}

.nav-menu {
    z-index: 999;
}

/* === Ürün detay: mobil hizalama & butonlar (final) === */
@media (max-width: 992px) {

    /* Görsel üstte, içerik altta; metinleri ortala */
    .product-detail-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .product-detail-info h1,
    .product-description,
    .stock-info {
        text-align: center !important;
    }

    /* Fiyat şeridini ortala */
    .price-section {
        justify-content: center !important;
        text-align: center !important;
    }

    /* Butonları yan yana ve küçük */
    .action-buttons {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: .75rem !important;
    }

    .action-buttons .btn-buy-now,
    .action-buttons .btn-whatsapp,
    .action-buttons a.btn,
    .action-buttons a {
        flex: 0 0 48% !important;
        /* 2’li diz */
        max-width: 48% !important;
        padding: 12px 14px !important;
        border-radius: 18px !important;
    }

    /* Favoriler/Paylaş ortalı */
    .product-actions {
        justify-content: center !important;
        text-align: center !important;
        gap: 1.25rem !important;
    }

    /* Görsel yüksekliği mobilde daha esnek olsun */
    .product-gallery .main-image {
        height: auto !important;
        max-height: 60vh !important;
    }
}