/*
Theme Name: Meto Theme V2
Theme URI: http://metoprint.com
Author: Stuart Mason & Matthew Morgan
Developer: Stuart Mason & Matthew Morgan
Version: 1.51.0 (Restored + Patched)
*/

/* =========================================
   1. GLOBAL AYARLAR & RESET (ORİJİNAL)
   ========================================= */
html { height: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
    min-height: 100vh; height: auto !important; margin: 0; padding: 0; overflow-x: hidden;
    background-color: #f4f7f9; color: #111111;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased;
    display: flex; flex-direction: column;
}

#content.site-content { 
    flex: 1 0 auto; width: 100%; 
    padding-top: 0 !important; 
    margin-top: 0 !important;
    padding-bottom: 60px; overflow: visible !important; 
}

/* Gereksiz Alanları Gizle */
.woocommerce-breadcrumb, 
#breadcrumbs, 
.page-title-section,
.meto-page-title,
.header-wrapper + div,
.vc_separator.vc_separator_align_center { 
    display: none !important; height: 0 !important; margin: 0 !important; padding: 0 !important; border: none !important; 
}

/* =========================================
   2. RENK PALETİ
   ========================================= */
:root { --magenta: #e4005e; --navy: #005DA6; --border-color: #e0e6ed; --white: #ffffff; }
:root { --text-dark: #111111; }


/* =========================================
   3. HEADER & MENU
   ========================================= */
.header-top-bar { background-color: var(--navy) !important; color: #ffffff !important; padding: 10px 0; font-size: 16px; width: 100%; display: block; position: relative; z-index: 2000; }
.header-top-bar .container { display: flex !important; justify-content: space-between !important; align-items: center !important; max-width: 1250px; margin: 0 auto; padding: 0 15px; }
.header-top-bar a { color: #ffffff !important; text-decoration: none !important; margin-left: 20px; font-weight: 400; opacity: 0.9; }
.header-top-bar a:hover { color: var(--magenta) !important; opacity: 1; }

.main-header { background: #fff; position: relative; z-index: 1000; padding: 15px 0; }
.main-header .container { display: flex; align-items: center; justify-content: space-between; max-width: 1250px; margin: 0 auto; padding: 0 15px; }
.logo-area img, .custom-logo { max-height: 110px !important; width: auto !important; height: auto !important; object-fit: contain; }
.search-area { flex: 1; margin: 0 40px; }
.search-area .input-group { border: 1.5px solid var(--border-color); border-radius: 6px; overflow: hidden; background: #ffffff; display: flex; }
.search-area input { border: none; padding: 10px 15px; width: 100%; outline: none; }
.search-area .btn-primary, .search-area button[type="submit"] { background-color: var(--magenta) !important; border: none !important; color: #fff !important; padding: 0 20px; cursor: pointer; }
.icons-area { display: flex; gap: 15px; }
.icons-area a { color: var(--text-dark) !important; font-weight: 600; font-size: 14px; text-decoration: none; display: flex; align-items: center; }
.icons-area .badge { background-color: var(--magenta) !important; color: #fff !important; }

/* NAV MENU */
.header-nav { background-color: #ffffff; border-bottom: 1px solid #eee; border-top: 1px solid #f9f9f9; width: 100%; position: relative; z-index: 900; }
.standard-nav { display: flex !important; flex-direction: row !important; flex-wrap: wrap; list-style: none; margin: 0 auto; padding: 0; max-width: 1250px; }
.standard-nav > li { position: relative; display: inline-block !important; }
.standard-nav > li > a { display: block; padding: 18px 25px; color: #222; font-family: 'Segoe UI', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.3px; text-decoration: none; transition: all 0.2s; border: none !important; }
.standard-nav > li:hover > a { color: var(--magenta); background-color: #fcfcfc; border: none !important; }

/* SUB MENU */
.standard-nav .sub-menu { position: absolute; top: 100%; left: 0; width: 260px; background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid #eee !important; display: none; padding: 0; z-index: 10001; }
.standard-nav li:hover > .sub-menu { display: block !important; }
.standard-nav .sub-menu li { position: static !important; display: block; border-bottom: 1px solid #f9f9f9; }
.standard-nav .sub-menu li a { padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; color: #555; font-weight: 500; font-size: 14px; border: none !important; position: relative; }
.standard-nav .sub-menu li:hover > a { background-color: #f4f7f9; color: var(--magenta); padding-left: 25px; }
.standard-nav .sub-menu li .sub-menu { top: 0 !important; left: 100% !important; min-height: 100%; border-left: 1px solid #eee !important; margin-left: -1px; box-shadow: 5px 0 15px rgba(0,0,0,0.05); }

/* =========================================
   4. HERO & SLIDER (GÜNCELLENMİŞ VERSİYON AŞAĞIDA EKLENDİ)
   ========================================= */
.meto-full-width-breakout { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; background-color: var(--navy); overflow: hidden; margin-top: 0 !important; z-index: 1; }
.meto-hero-slider { position: relative; width: 100%; height: 450px; overflow: hidden; }
.meto-trust-bar { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; background-color: #ffffff; border-bottom: 1px solid #eee; padding: 20px 0; z-index: 2; }
.meto-trust-container { max-width: 1250px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 15px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: #444; font-weight: 500; font-size: 13px; }
.trust-item i { font-size: 20px; color: var(--navy); }

/* =========================================
   5. SHOP CARD DESIGN
   ========================================= */
.woocommerce ul.products li.product {
    background-color: #ffffff !important; border: 1px solid #e0e6ed !important; border-radius: 8px !important; padding: 20px !important; text-align: center !important; transition: all 0.3s ease !important; box-shadow: 0 4px 6px rgba(0,0,0,0.02) !important; margin-bottom: 30px !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important;
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px) !important; box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important; border-color: var(--magenta) !important; }
.woocommerce ul.products li.product a img { border-radius: 6px !important; margin-bottom: 15px !important; width: 100% !important; height: auto !important; object-fit: cover !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px !important; font-weight: 700 !important; color: var(--navy) !important; margin-bottom: 10px !important; padding: 0 !important; line-height: 1.3 !important; }
.woocommerce ul.products li.product .price { color: var(--magenta) !important; font-weight: 700 !important; font-size: 15px !important; margin-bottom: 15px !important; display: block !important; }
.woocommerce ul.products li.product .button { background-color: #f4f7f9 !important; color: #333 !important; font-weight: 600 !important; padding: 10px 20px !important; border-radius: 4px !important; width: 100% !important; display: block !important; margin-top: auto !important; transition: 0.2s !important; }
.woocommerce ul.products li.product .button:hover { background-color: var(--navy) !important; color: #fff !important; }

/* =========================================
   6. SINGLE PRODUCT & CART SETTINGS
   ========================================= */
.single-product .summary > p.price { display: none !important; }
.single_variation_wrap .woocommerce-variation-price { display: block !important; }
.wc-pao-subtotal-line { display: none !important; }
#product-addons-total, .product-addon-totals, div[id^="product-addons-total"] { display: block !important; visibility: visible !important; opacity: 1 !important; height: auto !important; font-size: 32px !important; font-weight: 800 !important; text-align: right !important; margin-top: 30px !important; padding-top: 15px !important; border-top: 2px dashed #eee !important; color: #111 !important; }
.wc-pao-addon-label, .wc-pao-addon-name, legend.wc-pao-addon-name { display: none !important; }
.wc-pao-addon-heading { font-size: 18px !important; font-weight: 800 !important; color: var(--navy) !important; margin-bottom: 12px !important; padding-bottom: 5px; border-bottom: 1px solid #eee; display: block !important; width: 100%; }
.wc-pao-addon-container { background: #fff; border: 1px solid #e5e5e5; padding: 20px; margin-bottom: 25px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.wc-pao-addon-wrap { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important; gap: 15px !important; width: 100% !important; }
.wc-pao-addon-wrap > label, .wc-pao-addon-radio, .wc-pao-addon-checkbox { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; border: 2px solid #f0f0f0 !important; border-radius: 8px !important; padding: 15px 10px !important; background: #fff !important; cursor: pointer !important; height: 100% !important; min-height: 140px !important; }
.wc-pao-addon-wrap > label:has(input:checked), .wc-pao-addon-radio.checked { border-color: var(--magenta) !important; background-color: #fff5f9 !important; box-shadow: 0 5px 15px rgba(228, 0, 94, 0.15) !important; }
.wc-pao-addon-image { width: 50px !important; height: 50px !important; object-fit: contain !important; margin-bottom: 10px !important; }
.wc-pao-addon-wrap span { font-weight: 600 !important; font-size: 13px !important; color: #444 !important; }
.wc-pao-addon-wrap input { margin-top: 8px; accent-color: var(--magenta); }
.wc-pao-addon select { width: 100% !important; padding: 12px !important; border: 1px solid #ccc !important; border-radius: 6px !important; height: 45px !important; }
.single_add_to_cart_button { width: 100%; background-color: var(--magenta) !important; color: #fff !important; font-size: 18px !important; padding: 18px !important; border-radius: 6px !important; text-transform: uppercase; font-weight: 800 !important; margin-top: 10px; }
/* Sayfa içeriğine üstten boşluk verir */
.single-product .product {
    margin-top: 50px !important;
}
/* "Options amount" başlığını ve hemen yanındaki fiyatı gizle */
.rnTotalBox > label:first-of-type,
.rnTotalBox > span.rn-price:first-of-type {
    display: none !important;
}

/* Kalan "Final Total" kısmını biraz yukarı alıp güzelleştirelim */
.rnTotalBox {
    margin-top: 10px !important;
}

/* Eğer "Final Total" yazısını da büyütmek isterseniz opsiyonel: */
.rnTotalBox > span.rn-price:last-of-type {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #000 !important;
}

/* CART & MY ACCOUNT */
.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1250px; margin: 40px auto; padding: 0 20px; }
.woocommerce-MyAccount-navigation { flex: 0 0 280px; background: #ffffff; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); padding: 20px 0; }
.woocommerce-MyAccount-navigation li a { display: flex; align-items: center; padding: 15px 25px; color: #555; font-weight: 500; font-size: 15px; border-left: 4px solid transparent; transition: all 0.2s ease; }
.woocommerce-MyAccount-navigation li a:hover { background-color: #f9f9f9; color: var(--magenta); padding-left: 30px; }
.woocommerce-MyAccount-navigation li.is-active a { background-color: #fff0f5; color: var(--magenta); border-left-color: var(--magenta); }
.woocommerce-MyAccount-content { flex: 1; background: #ffffff; padding: 40px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); min-width: 300px; }
.woocommerce-cart-form table.shop_table.cart { border-collapse: separate; border-spacing: 0 20px; border: none !important; width: 100%; }
.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item { background-color: #ffffff; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border-radius: 8px; border: 1px solid #e0e0e0; }
.woocommerce-cart-form table.shop_table.cart td { border: none !important; padding: 25px !important; vertical-align: top; }
.product-thumbnail img { width: 120px !important; height: auto !important; max-width: 100% !important; object-fit: contain !important; aspect-ratio: auto !important; border-radius: 6px; border: 1px solid #f0f0f0; }
.product-name dl.variation { display: grid !important; grid-template-columns: 150px 1fr !important; align-items: center !important; margin: 0 !important; padding: 10px !important; background-color: #fcfcfc; border-radius: 6px; border: 1px solid #f0f0f0; gap: 10px !important; }
.product-name dl.variation dt { grid-column: 1 !important; float: none !important; font-weight: 700; color: var(--navy); font-size: 13px; text-align: left !important; width: 100% !important; }
.product-name dl.variation dd { grid-column: 2 !important; float: none !important; margin: 0 !important; padding: 5px 0 !important; display: flex !important; align-items: center !important; font-size: 13px; color: #333; }
.product-name dl.variation dd img, .wc-item-meta li img, .wc-pao-addon-image { width: 30px !important; height: 30px !important; object-fit: contain; border-radius: 3px; border: 1px solid #ddd; margin-right: 8px !important; display: inline-block !important; }
.meto-forced-billing-section { background: #ffffff; padding: 30px; margin-bottom: 30px; border: 1px solid #e0e6ed; border-top: 4px solid #e4005e; border-radius: 6px; box-shadow: 0 5px 20px rgba(0,0,0,0.02); }
.meto-forced-billing-section h3 { margin-top: 0; font-size: 20px; color: var(--navy); border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; }
.meto-billing-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.meto-billing-grid .form-row-first, .meto-billing-grid .form-row-last { flex: 1 0 45%; min-width: 200px; }
.meto-billing-grid .form-row-wide { flex: 1 0 100%; }
.meto-billing-grid input.input-text { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; background-color: #fcfcfc; height: 48px; font-size: 15px; }
@media (max-width: 768px) {
    .wc-pao-addon-wrap { grid-template-columns: repeat(2, 1fr) !important; }
    .meto-billing-grid .form-row-first, .meto-billing-grid .form-row-last { flex: 1 0 100%; }
    .product-name dl.variation { grid-template-columns: 1fr !important; }
    .woocommerce-MyAccount-navigation { flex: 0 0 100%; }
    .main-header .container { flex-direction: column; gap: 15px; }
    .search-area { margin: 10px 0; width: 100%; }
    .standard-nav { flex-direction: column; }
    .standard-nav > li > a { border-bottom: 1px solid #f0f0f0; }
    .standard-nav .sub-menu { position: relative; width: 100%; box-shadow: none; border: none; background: #f9f9f9; }
}

/* --- AJAX SEARCH STYLES --- */
.search-area { position: relative; }
.meto-search-results { position: absolute; top: 100%; left: 0; width: 100%; background: #ffffff; border: 1px solid #e0e0e0; border-top: none; box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 9999; display: none; list-style: none !important; padding: 0 !important; margin: 0 !important; border-radius: 0 0 6px 6px; }
.meto-search-results li { border-bottom: 1px solid #f5f5f5; margin: 0 !important; }
.meto-search-results li:last-child { border-bottom: none; }
.meto-search-results li a { display: flex; align-items: center; padding: 10px 15px; text-decoration: none; transition: background 0.2s; }
.meto-search-results li a:hover { background-color: #f9f9f9; }
.search-thumb img { width: 40px !important; height: 40px !important; object-fit: cover; border-radius: 4px; margin-right: 15px; border: 1px solid #eee; }
.search-info { display: flex; flex-direction: column; justify-content: center; line-height: 1.3; text-align: left; }
.search-title { font-weight: 600; color: #333; font-size: 14px; }
.search-price, .search-price .amount, .search-price bdi { font-size: 13px; color: #e4005e !important; font-weight: 700; }
.no-results { padding: 15px; color: #666; font-size: 13px; font-style: italic; text-align: center; }
.view-all-results a { display: block; text-align: center; background-color: #f4f7f9; color: var(--navy) !important; font-weight: 700; font-size: 13px; padding: 12px !important; }
.view-all-results a:hover { background-color: #e4005e; color: #fff !important; }

/* --- CATALOGUE SHOWCASE --- */
.price-catalogues-title { text-align: center; margin-bottom: 40px; }
.price-catalogues-title h2, .price-catalogues-title h3 { font-size: 32px; color: var(--navy); font-weight: 700; position: relative; display: inline-block; padding-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.price-catalogues-title h2::after, .price-catalogues-title h3::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background-color: var(--magenta); }
.price-catalogues-row .wpb_column { background-color: transparent !important; padding: 0 15px !important; margin-bottom: 30px; }
.price-catalogues-row .wpb_wrapper { background: #ffffff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; transition: all 0.3s ease; text-align: center; padding: 25px; height: 100%; border: 1px solid #f0f0f0; }
.price-catalogues-row .wpb_wrapper:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); border-color: var(--magenta); }
.price-catalogues-row .wpb_single_image img { width: 100% !important; height: auto !important; display: block; border-radius: 8px; transition: transform 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.price-catalogues-row .wpb_wrapper:hover .wpb_single_image img { transform: scale(1.03); }

/* =========================================
   8. FOOTER "ROUTE 1" DARK STYLE
   ========================================= */
footer { width: 100%; margin-top: 60px; flex-shrink: 0; }

/* 1. Ana Footer (Premium Koyu Lacivert/Siyah) */
.site-footer {
    background-color: #111820 !important; /* KOYU ROUTE 1 ZEMİN */
    color: #b0b8c1; /* Hafif gri metin */
    padding-top: 70px;
    padding-bottom: 50px;
    border-top: 5px solid var(--magenta); /* Marka vurgusu */
    font-size: 14px;
    line-height: 1.8;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Başlıklar */
.footer-widget h2, .footer-widget h3, .footer-widget h4, .widget-title {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 3. Linkler */
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 12px; padding: 0; border: none; }
.site-footer a {
    color: #cfd4d9 !important; /* Parlak gri */
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}
.site-footer a:hover {
    color: var(--magenta) !important;
    padding-left: 5px;
}

/* 4. Alt Telif Barı (Simsiyah & Okunabilir) */
.site-info {
    background-color: #0b1016 !important; /* Ana footer'dan bir ton daha koyu */
    color: #999;
    text-align: center;
    padding: 25px 0;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.site-info a { 
    color: #ffffff !important;
    font-weight: 600; 
    text-decoration: none;
    background-color: transparent !important;
}

/* =========================================
   9. HELP WIDGET STYLES
   ========================================= */
#meto-help-wrapper {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99999;
    font-family: 'Segoe UI', sans-serif;
}

#meto-help-trigger {
    width: 60px;
    height: 60px;
    background-color: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

#meto-help-trigger:hover {
    background-color: var(--magenta);
    transform: scale(1.1);
}

#meto-help-box {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: none;
    overflow: hidden;
    border: 1px solid #eee;
    animation: metoSlideUp 0.3s ease forwards;
}

#meto-help-wrapper.active #meto-help-box {
    display: block;
}

.meto-help-header {
    background-color: var(--navy);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

#meto-help-close {
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.meto-help-body {
    padding: 20px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.meto-help-body p { margin-bottom: 12px; }

.meto-refresh-keys {
    list-style: none;
    margin: 15px 0;
    padding: 0;
    background: #f9f9f9;
    border-radius: 6px;
    padding: 10px;
    border: 1px solid #eee;
}

.meto-refresh-keys li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.meto-refresh-keys li:last-child { margin-bottom: 0; }

.key-badge {
    font-weight: 700;
    color: var(--navy);
}

.meto-help-body code {
    background: #eef2f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #333;
    border: 1px solid #ddd;
}

.meto-help-small {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

@keyframes metoSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   10. STANDARD PAGE LAYOUT (FIXED: EXCLUDES HOMEPAGE)
   ========================================= */
/* Home sayfası hariç diğer sayfalarda içeriği ortala ve kutu içine al */
body.page:not(.woocommerce-page):not(.home) #content,
body.page:not(.woocommerce-page):not(.home) .entry-content {
    max-width: 1200px !important;
    margin: 40px auto !important;
    background: #ffffff !important;
    padding: 50px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    border: 1px solid #e0e6ed !important;
}

/* Başlıkları Güzelleştir (Yine Home Hariç) */
body.page:not(.woocommerce-page):not(.home) h1,
body.page:not(.woocommerce-page):not(.home) h2,
body.page:not(.woocommerce-page):not(.home) h3 {
    color: var(--navy) !important;
    margin-bottom: 20px !important;
}

/* =========================================================================
   ★ BURADAN AŞAĞISI YENİ EKLENTİLERDİR (YAN MENÜ + SLIDER FIX + KARTLAR) ★
   ========================================================================= */

/* 1. MASAÜSTÜ MENÜ BUTONUNU GİZLEME (GARANTİ) */
@media (min-width: 992px) {
    #meto-burger-btn, 
    .meto-nav-toggle, 
    #meto-side-menu, 
    #meto-mobile-overlay {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important; height: 0 !important;
        opacity: 0 !important; pointer-events: none !important;
    }
}

/* 2. MOBİLDE BURGER BUTONU GÖSTER */
@media (max-width: 991px) {
    .header-nav, .header-top-bar { display: none !important; }
    #meto-burger-btn { display: flex !important; margin: 0; }
    .main-header .container { padding: 10px 15px; }
    .logo-area { order: 2; flex: 1; text-align: center; } 
    .icons-area { order: 3; } 
    #meto-burger-btn { order: 1; }
}

/* 3. YAN MENÜ TASARIMI (ROUTE 1) */
#meto-burger-btn { display: none; cursor: pointer; flex-direction: column; gap: 4px; border: 1px solid #eee; padding: 8px 10px; border-radius: 4px; }
#meto-burger-btn .bar { width: 20px; height: 2px; background: var(--dark); display: block; }
#meto-burger-btn .text { display: none; font-size: 10px; text-transform: uppercase; font-weight: 700; margin-top: 3px; }

#meto-mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9998; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(2px); }
#meto-mobile-overlay.active { opacity: 1; visibility: visible; }

#meto-side-menu { position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background: #ffffff; z-index: 9999; transition: 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0); box-shadow: 5px 0 15px rgba(0,0,0,0.1); display: flex; flex-direction: column; }
#meto-side-menu.active { left: 0; }

.meto-side-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: #fcfcfc; }
.meto-side-logo img { max-height: 40px; width: auto; }
.meto-side-close { font-size: 30px; line-height: 1; cursor: pointer; color: #999; }
.meto-side-content { flex: 1; overflow-y: auto; }

.meto-mobile-links { list-style: none; margin: 0; padding: 0; }
.meto-mobile-links li { border-bottom: 1px solid #f5f5f5; position: relative; }
.meto-mobile-links li a { display: block; padding: 16px 20px; color: var(--dark); font-size: 16px; font-weight: 600; text-decoration: none; }
.meto-mobile-links li a:hover { background: #f9f9f9; color: var(--magenta); }

.meto-mobile-links .sub-menu { display: none; background: #f8f9fa; list-style: none; padding: 0; box-shadow: inset 0 3px 8px rgba(0,0,0,0.03); }
.meto-mobile-links .sub-menu a { padding-left: 35px; font-size: 14px; color: #555; }
.meto-side-toggle { position: absolute; right: 0; top: 0; width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #bbb; border-left: 1px solid #f5f5f5; }
.meto-side-toggle.open { color: var(--magenta); transform: rotate(180deg); background: #fff; }

/* 4. HERO SLIDER FIX (11 RESİM İÇİN) */
.meto-hero-slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; animation: metoBannerFade11 44s infinite ease-in-out; }
.meto-hero-slider a:nth-child(1) img { animation-delay: 0s; }
.meto-hero-slider a:nth-child(2) img { animation-delay: 4s; }
.meto-hero-slider a:nth-child(3) img { animation-delay: 8s; }
.meto-hero-slider a:nth-child(4) img { animation-delay: 12s; }
.meto-hero-slider a:nth-child(5) img { animation-delay: 16s; }
.meto-hero-slider a:nth-child(6) img { animation-delay: 20s; }
.meto-hero-slider a:nth-child(7) img { animation-delay: 24s; }
.meto-hero-slider a:nth-child(8) img { animation-delay: 28s; }
.meto-hero-slider a:nth-child(9) img { animation-delay: 32s; }
.meto-hero-slider a:nth-child(10) img { animation-delay: 36s; }
.meto-hero-slider a:nth-child(11) img { animation-delay: 40s; }
@keyframes metoBannerFade11 { 0% { opacity: 0; z-index: 1; } 2% { opacity: 1; z-index: 2; } 9% { opacity: 1; z-index: 2; } 11% { opacity: 0; z-index: 1; } 100% { opacity: 0; z-index: 0; } }



/* --- ACİL DÜZELTME: MOBİL MENÜ BUTONU GÖRÜNÜRLÜĞÜ --- */
@media (max-width: 991px) {
    /* 1. Menü Butonunu Belirginleştir */
    #meto-burger-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 45px;          /* Genişlik */
        height: 40px;         /* Yükseklik */
        padding: 8px;         /* İç boşluk */
        background-color: #ffffff; /* Beyaz zemin */
        border: 2px solid #005DA6; /* Lacivert Çerçeve - GÖRÜNSÜN DİYE */
        border-radius: 6px;   /* Köşeleri yuvarla */
        cursor: pointer;
        position: relative;
        z-index: 10005;
        margin-right: 15px;   /* Logodan biraz uzaklaşsın */
    }

    /* 2. İçindeki 3 Çizgiyi (Hamburger) Boya */
    #meto-burger-btn span.bar {
        display: block;
        width: 100%;
        height: 3px;          /* Çizgi kalınlığı */
        background-color: #005DA6 !important; /* Lacivert Çizgiler */
        border-radius: 2px;
    }
    
    /* "Menu" Yazısını Kaldır veya Düzenle (Kutu içine sığmazsa gizle) */
    #meto-burger-btn .text {
        display: none !important; 
    }

    /* 3. Header Düzeni (Buton - Logo - Sepet Hizalaması) */
    .main-header .container {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
    }
    
    /* Logoyu Ortala */
    .logo-area {
        flex: 1;
        text-align: center;
    }
    .logo-area img {
        max-height: 50px !important; /* Mobilde logo boyutu */
        width: auto;
    }
}

/* --- ACİL DÜZELTME: HERO BANNER (MOBİLDE TAM GÖRÜNSÜN) --- */
@media (max-width: 768px) {
    .meto-hero-slider {
        width: 100% !important;
        height: auto !important;       /* Sabit yükseklik yerine otomatiğe al */
        aspect-ratio: 16/9 !important; /* Geniş ekran formatını mobilde koru */
        min-height: 0 !important;
        overflow: hidden;
    }

    .meto-hero-slider img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;  /* Resmi kutuya tam doldur */
        position: absolute !important;
        top: 0; left: 0;
    }
    
    /* Slider'ın altındaki boşluğu/taşmayı engelle */
    .meto-full-width-breakout {
        height: auto !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* --- ACİL FIX: MOBİL HERO BANNER (RESMİ SIĞDIR) --- */
@media (max-width: 768px) {
    /* 1. Dış Çerçeveyi Düzenle */
    .meto-full-width-breakout, 
    .meto-hero-slider {
        height: auto !important;       /* Yüksekliği serbest bırak */
        min-height: 0 !important;
        aspect-ratio: auto !important; /* Sabit oranı kaldır */
        width: 100% !important;        /* Genişlik %100 olsun */
        margin: 0 !important;          /* Taşan kenar boşluklarını sıfırla */
        left: 0 !important;
        right: 0 !important;
        padding: 0 !important;
    }

    /* 2. Resmi Kutuya Tam Oturt (Kesilme Olmaz) */
    .meto-hero-slider img {
        position: relative !important; /* Absolute yerine Relative yap */
        width: 100% !important;
        height: auto !important;       /* Orantılı küçülsün */
        object-fit: contain !important; /* Resmi KESME, olduğu gibi sığdır */
        top: auto !important;
        left: auto !important;
        opacity: 1 !important;         /* Mobilde yanıp sönmeyi engelle */
    }
    
    /* Mobilde sadece ilk resmi göster (Kayma/titreme olmaması için) */
    .meto-hero-slider a:not(:first-child) {
        display: none !important;
    }
}

/* --- METO: CANLI ARAMA SONUÇ KUTUSU --- */
.search-area {
    position: relative; /* Sonuç kutusunu buna göre hizala */
}

.meto-live-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e0e6ed;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 99999;
    display: none; /* JS ile açılacak */
    overflow: hidden;
}

.meto-search-results {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.meto-search-results li {
    border-bottom: 1px solid #f5f5f5;
    margin: 0 !important;
}

.meto-search-results li a {
    display: flex !important;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.meto-search-results li a:hover {
    background-color: #f9f9f9;
}

.search-thumb {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    margin-right: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
    text-align: left;
}

.search-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.search-price {
    font-size: 13px;
    color: #e4005e;
    font-weight: 700;
}

.search-price .amount {
    color: #e4005e !important;
}

.no-results {
    padding: 15px;
    color: #666;
    font-size: 13px;
    text-align: center;
    font-style: italic;
}

.view-all {
    background-color: #f4f7f9;
    text-align: center;
}

.view-all a {
    display: block;
    padding: 12px !important;
    color: #005DA6 !important;
    font-weight: 700;
    font-size: 13px;
    justify-content: center !important;
}

.view-all a:hover {
    background-color: #e4005e;
    color: #fff !important;
}

/* --- METO: LIVE SEARCH FIX (Z-INDEX & AUTOFILL) --- */

/* 1. Sonuç Kutusunu En Üste Taşı */
.meto-live-results {
    z-index: 999999 !important; /* Banner'ın üzerine çık */
    background: #ffffff !important;
    border: 1px solid #e0e6ed;
    border-top: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2); /* Daha belirgin gölge */
    border-radius: 0 0 8px 8px;
    max-height: 400px;
    overflow-y: auto;
}

/* 2. Arama Alanını (Container) Öne Getir */
.search-area {
    position: relative !important; 
    z-index: 10001 !important; /* Header içindeki diğer öğelerden üstte */
    overflow: visible !important; /* Taşan içeriği (sonuçları) gizleme */
}

/* 3. Tarayıcı Otomatik Tamamlamayı (Siyah Kutu) Özelleştir */
/* (Tamamen kapatmak için HTML'de autocomplete="off" ekleyeceğiz) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #333 !important;
}
/* --- METO: LIVE SEARCH Z-INDEX FIX (KESİN ÇÖZÜM) --- */

/* 1. Header ve Arama Alanını En Üste Taşı */
.main-header, 
.search-area {
    position: relative !important;
    z-index: 10000 !important; /* Diğer her şeyin üstünde olsun */
    overflow: visible !important; /* Taşan içeriği (sonuçları) asla gizleme */
}

/* 2. Sonuç Kutusunu Sayfadan Bağımsız Hale Getir */
.meto-live-results {
    display: none; /* JS ile açılacak */
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    z-index: 999999 !important; /* Banner'ın ve her şeyin üstünde */
    box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
    border: 1px solid #e0e6ed !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    max-height: 400px !important;
    overflow-y: auto !important; /* İçerik uzunsa kaydırma çubuğu çıksın */
}

/* 3. Banner'ın (Slider) Arama Kutusunu Ezmesini Engelle */
.meto-full-width-breakout,
.meto-hero-slider {
    z-index: 1 !important; /* Banner'ı geriye at */
    position: relative !important;
}

/* 4. Sonuçlar İçindeki Linkleri Düzenle */
.meto-search-results li a {
    display: flex !important;
    align-items: center !important;
    padding: 12px 15px !important;
    text-decoration: none !important;
    color: #333 !important;
    border-bottom: 1px solid #f5f5f5 !important;
    background: #fff !important;
}

.meto-search-results li a:hover {
    background-color: #f9f9f9 !important;
}