/*
Theme Name: Glozin Child
Theme URI: https://wpglozin.com/
Author: UIXThemes
Author URI: https://uix.store
Description: Multipurpose WooCommerce WordPress Theme
Version: 1.0.0
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 7.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glozin
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: glozin
*/

/* Custom Header Logo Size */
.header-logo>a img,
.header-logo>a svg {
    width: 200px;
    height: auto;
}

/* Mobilde logo boyutu */
@media (max-width: 767px) {

    .header-logo>a img,
    .header-logo>a svg {
        width: 150px;
    }
}

/* Hide Mobile Navigation Bottom Bar */
.glozin-mobile-navigation-bar {
    display: none !important;
}

/* Adjust Fixed Elements Position */
#gotop {
    bottom: 75px;
    right: 30px;
}

/* PhotoSwipe lightbox: WhatsApp/fixed butonların altında kalmaması için z-index; overlay hafifletildi */
.pswp {
    z-index: 999999 !important;
}

.pswp__bg {
    opacity: 0.82 !important;
}

/* WhatsApp Click to Chat widget — her zaman gorunur olsun */
div#ht-ctc-chat {
    z-index: 99999999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

div#ht-ctc-chat .ctc_s_7_icon_padding,
div#ht-ctc-chat .ctc_s_7_icon_padding svg {
    opacity: 1 !important;
    filter: none !important;
}

/* Mağaza sol sidebar (filtre paneli) — içerikten ayrılsın */
#filter-sidebar-panel .sidebar__container {
    background: rgba(0, 0, 0, 0.02);
    padding: 2rem !important;
}

@media (max-width: 1199px) {
    #filter-sidebar-panel .sidebar__container {
        padding-right: 0;
    }
}

/* Mobilde filtre paneli arka planı transparan + daha dar padding */
@media (max-width: 767px) {
    #filter-sidebar-panel .sidebar__container {
        background: white !important;
        padding: 1rem !important;
    }
}

.products-filter-widget .products-filter--counts .products-filter--list .filter-list-item {
    line-height: 22px !important;
}

/* WooCommerce sonsuz kaydırma sayaç metni gizle */
.gz-posts-found__inner.gz-progress__inner {
    display: none !important;
}

/* Header altı genel breadcrumb barı */
.header-breadcrumb-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.header-breadcrumb-inner {
    max-width: 1410px;
    margin: 0 auto;
    padding: 10px 0;
}

.header-breadcrumb-inner .site-breadcrumb {
    margin: 0;
    justify-content: flex-start;
}

/* Page header içindeki breadcrumb'ı gizle */
.page-header .site-breadcrumb {
    display: none !important;
}

/* Single product: Marka rozeti (başlık üstü) */
.single-product .m304-brand-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-bottom: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #e5edf6;
}

.single-product .m304-brand-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #475569;
}

.single-product .m304-brand-name {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.22);
    transition: background-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.single-product .m304-brand-name:hover {
    background: #020617;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.32);
}

@media (max-width: 575px) {
    .single-product .m304-brand-badge {
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .single-product .m304-brand-name {
        font-size: 11px;
        padding: 3px 10px;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
    }
}

/* Ürün liste/grid kartları: fiyat + sepete ekle satırı */
ul.products li.product .m304-loop-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding: 8px 0;
}

ul.products li.product .m304-loop-price-row .price {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
}

ul.products li.product .m304-loop-price-row .add_to_cart_button {
    font-size: 13px;
    padding: 11px 24px;
    border-radius: 999px;
    background-color: #11294F;
    border-color: #11294F;
    color: #ffffff;
    white-space: nowrap;
}

ul.products li.product .m304-loop-price-row .add_to_cart_button:hover {
    background-color: #0d1f3c;
    border-color: #0d1f3c;
}

/* Ürün liste/grid kartları: alt aksiyon alanı */
ul.products li.product .m304-loop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

ul.products li.product .m304-loop-actions .button {
    flex: 1 1 0;
    text-align: center;
    font-size: 12px;
    padding: 8px 10px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

ul.products li.product .m304-loop-actions .m304-loop-whatsapp-button {
    background-color: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

ul.products li.product .m304-loop-actions .m304-loop-whatsapp-button:hover {
    background-color: #16a34a;
    border-color: #16a34a;
}

ul.products li.product .m304-loop-actions .m304-loop-whatsapp-icon svg {
    display: block;
}

ul.products li.product .m304-loop-actions .m304-loop-details-button {
    background-color: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

ul.products li.product .m304-loop-actions .m304-loop-details-button:hover {
    background-color: #020617;
    border-color: #020617;
}

ul.products li.product .m304-loop-actions .m304-loop-details-icon svg {
    display: block;
}

/* Ürün kartı dış çerçeve ve hover efekti */
ul.products li.product .product-inner {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 12px 12px 14px;
    background-color: #ffffff;
    transition: box-shadow 0.18s ease, transform 0.12s ease, border-color 0.18s ease;
}

ul.products li.product .product-inner:hover {
    border-color: #cbd5e1;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

/* Grid kartlarında görsel üzerindeki eski hover sepete ekle butonlarını gizle */
ul.products li.product .product-thumbnail .product-featured-icons--primary .product-loop-button-atc,
ul.products li.product .product-thumbnail .product-featured-icons--second .product-loop-button-atc {
    display: none !important;
}

@media (max-width: 767px) {
    ul.products li.product .m304-loop-price-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    ul.products li.product .m304-loop-price-row .add_to_cart_button {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    ul.products li.product .m304-loop-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 3px;
    }

    ul.products li.product .m304-loop-actions .button {
        width: 100%;
        margin: 0;
    }
}

/* Ürün sayfası: ana ürün görseli alanı — border-radius + hafif gri çerçeve */
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img.wp-post-image,
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image {
    border-radius: 12px;
    overflow: hidden;
}

/* Mağaza / kategori sayfaları: ürün kartı görselleri — border-radius + hafif gri çerçeve */
ul.products li.product .product-thumbnail img {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
}

ul.products li.product .product-thumbnail {
    border-radius: 12px;
    overflow: hidden;
}

/* Mağaza / kategori: ürün başlığı en fazla 3 satır olsun */
ul.products li.product .woocommerce-loop-product__title {
    --gz-line-clamp-count: 3;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
}

/* 3 kolon: 33.33% sub-pixel kesiyor, 33% ile sağ çizgi görünsün (sadece masaüstü) */
@media (min-width: 992px) {
    ul.products.columns-3 li.product {
        width: 33% !important;
    }
}

/* Ürün kısa açıklaması: her zaman tam metin, Show More kaldırıldı (mobil / tablet / masaüstü) */
.single-product div.product .short-description .short-description__content {
    line-clamp: unset !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    display: block !important;
}

.single-product div.product .short-description .short-description__more {
    display: none !important;
}

/* ============================================
   Teknik Özellikler & Ürün PDF (WooCommerce)
   ============================================ */

/* PDF butonu - WhatsApp/Mail teklif butonlarının altında, aynı yapı, renk #11294F */
.glozin-quote-button-wrapper .glozin-pdf-button--quote-area:hover {
    color: #fff !important;
    background-color: #0d1f3c !important;
    border-color: #0d1f3c !important;
    opacity: 1;
}

.glozin-pdf-button--quote-area svg {
    flex-shrink: 0;
}

/* Ürün Hakkında + Teknik Özellikler sekmelerindeki başlıklar (sadece bu alanlar, site geri kalanı etkilenmez) */
.single-product #tab-description h1,
.single-product #tab-teknik_ozellikler h1 {
    font-size: 1.375rem;
}

.single-product #tab-description h2,
.single-product #tab-teknik_ozellikler h2 {
    font-size: 1.25rem;
}

.single-product #tab-description h3,
.single-product #tab-teknik_ozellikler h3 {
    font-size: 1.125rem;
}

.single-product #tab-description h4,
.single-product #tab-teknik_ozellikler h4 {
    font-size: 1rem;
}

.single-product #tab-description h5,
.single-product #tab-teknik_ozellikler h5 {
    font-size: 0.9375rem;
}

.single-product #tab-description h6,
.single-product #tab-teknik_ozellikler h6 {
    font-size: 0.875rem;
}

/* Ürün açıklaması listeleri — satır arası daha sıkı */
.single-product #tab-description ul li,
.single-product #tab-teknik_ozellikler ul li {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

.single-product #tab-description ul,
.single-product #tab-teknik_ozellikler ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Teknik Özellikler sekmesi - tablo wrapper (responsive yatay kaydırma) */
.teknik-ozellikler-content {
    padding: 0;
    font-size: 1em;
    line-height: 1.5;
}

.teknik-ozellikler-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1px 1em 0;
}

.teknik-ozellikler-table-wrapper table {
    width: 100%;
    min-width: 320px;
    border-collapse: collapse;
    border: 1px solid var(--gz-border-color, #e5e5e5);
    background: #fff;
    font-size: inherit;
}

.teknik-ozellikler-table-wrapper th,
.teknik-ozellikler-table-wrapper td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--gz-border-color, #e5e5e5);
}

.teknik-ozellikler-table-wrapper th {
    background: var(--gz-color-dark, #333) !important;
    color: #fff !important;
    font-weight: 600;
    white-space: nowrap;
}

.single-product .teknik-ozellikler-content .teknik-ozellikler-table-wrapper th,
.single-product #tab-teknik_ozellikler table th {
    color: #fff !important;
}

/* Teknik Özellikler sekmesi: sade <table> (wrapper olmadan) için stiller */
.single-product #tab-teknik_ozellikler table {
    width: 100%;
    min-width: 320px;
    border-collapse: collapse;
    border: 1px solid var(--gz-border-color, #e5e5e5);
    background: #fff;
    margin: 1em 0;
}

.single-product #tab-teknik_ozellikler table th,
.single-product #tab-teknik_ozellikler table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--gz-border-color, #e5e5e5);
}

.single-product #tab-teknik_ozellikler table th {
    background: var(--gz-color-dark, #333) !important;
    color: #fff !important;
    font-weight: 600;
    white-space: nowrap;
}

.single-product #tab-teknik_ozellikler table tbody tr:nth-child(even) td {
    background: rgba(0, 0, 0, 0.03);
}

.single-product #tab-teknik_ozellikler table tbody tr:hover td {
    background: rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
    .single-product #tab-teknik_ozellikler {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .single-product #tab-teknik_ozellikler table th,
    .single-product #tab-teknik_ozellikler table td {
        padding: 10px 12px;
        font-size: 0.9375rem;
    }

    .single-product #tab-teknik_ozellikler table th {
        white-space: normal;
        min-width: 120px;
    }
}

.teknik-ozellikler-table-wrapper tr:nth-child(even) td {
    background: rgba(0, 0, 0, 0.03);
}

.teknik-ozellikler-table-wrapper tr:hover td {
    background: rgba(0, 0, 0, 0.02);
}

/* Tablo dışındaki içerik (liste vb.) */
.teknik-ozellikler-content>.teknik-ozellikler-table-wrapper+*,
.teknik-ozellikler-content>p,
.teknik-ozellikler-content>ul,
.teknik-ozellikler-content>ol {
    margin-top: 1em;
}

.teknik-ozellikler-content ul,
.teknik-ozellikler-content ol {
    padding-left: 1.5em;
}

/* Mobil: tablo hücrelerinde minimum genişlik, rahat okunur */
@media (max-width: 768px) {
    .teknik-ozellikler-table-wrapper {
        margin-left: 0;
        margin-right: 0;
        -webkit-overflow-scrolling: touch;
    }

    .teknik-ozellikler-table-wrapper th,
    .teknik-ozellikler-table-wrapper td {
        padding: 10px 12px;
        font-size: 0.9375rem;
    }

    .teknik-ozellikler-table-wrapper th {
        white-space: normal;
        min-width: 120px;
    }

    .glozin-pdf-button {
        width: 100%;
        justify-content: center;
    }
}

/* Header altı ürün kategori menüsü */
.header-product-cats-nav {
    border-top: 1px solid var(--gz-border-color, #ececec);
    border-bottom: 1px solid var(--gz-border-color, #ececec);
    background-color: #ffffff;
}

.header-product-cats-inner {
    margin: 0 auto;
    padding: 8px 16px;
}

.header-product-cats-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    list-style: none;
    padding: 4px 0;
    max-width: 1410px;
    margin: auto;
}

.header-product-cats-menu>li>a {
    font-size: 0.8rem;
    font-weight: 600;
    color: #11294F;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-product-cats-menu>li>a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #11294F;
    transition: width 0.25s ease;
}

.header-product-cats-menu>li>a:hover::after,
.header-product-cats-menu>li.current-menu-item>a::after {
    width: 100%;
}

.header-product-cats-menu>li>a:hover {
    color: #0d1f3c;
}

/* Menü ikonları (baş harfli rozetler) */
.header-cat-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: transparent;
    box-shadow: none;
    color: #11294F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.header-product-cats-menu>li>a:hover .header-cat-icon {
    box-shadow: none;
}

.header-cat-icon--bulasik {
    background-image: url('../../uploads/endustriyel-bulasik-makinesi.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 22px 22px;
}

.header-cat-icon--bulasik::before {
    content: "";
}

.header-cat-icon--fritoz {
    background-image: url('../../uploads/endustriyel-frutoz.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 22px 22px;
}

.header-cat-icon--fritoz::before {
    content: "";
}

.header-cat-icon--hamur {
    background-image: url('../../uploads/hamur-makinesi.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 22px 22px;
}

.header-cat-icon--hamur::before {
    content: "";
}

.header-cat-icon--hazirlik {
    background-image: url('../../uploads/hazirlik-ekipmanlari.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 22px 22px;
}

.header-cat-icon--hazirlik::before {
    content: "";
}

.header-cat-icon--ocak {
    background-image: url('../../uploads/endustriyel-ocak.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 22px 22px;
}

.header-cat-icon--ocak::before {
    content: "";
}

.header-cat-icon--vakum {
    background-image: url('../../uploads/vakum-makinesi.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 22px 22px;
}

.header-cat-icon--vakum::before {
    content: "";
}

@media (max-width: 768px) {
    .header-product-cats-inner {
        padding-inline: 12px;
    }

    .header-product-cats-menu {
        gap: 12px;
    }
}

/* 1220px altındaki ekranlarda header kategori menüsünü gizle */
@media (max-width: 1219px) {
    .header-product-cats-nav {
        display: none;
    }
}

/* Global primary color override */
:root {
    --gz-color-primary: #11294F;
}

/* Header sağ taraf: Arama alanından önce "Proje Teklifi Alın" butonu */
.header-right-items .header-project-quote-button {
    --gz-button-font-size: 13px;
    --gz-button-padding-top: 11px;
    --gz-button-padding-right: 16px;
    --gz-button-padding-bottom: 11px;
    --gz-button-padding-left: 16px;
    --gz-button-rounded: 100px;
    --gz-button-color: #ffffff;
    --gz-button-color-hover: #ffffff;
    --gz-button-bg-color: #11294F;
    --gz-button-bg-color-hover: #0d1f3c;
    --gz-button-border-color: #11294F;
    --gz-button-border-color-hover: #0d1f3c;
    white-space: nowrap;
}

.header-right-items>a.header-project-quote-button,
.header-right-items>a.header-project-quote-button:not(:hover),
.header-right-items>a.header-project-quote-button:visited {
    color: #ffffff;
}

.header-right-items .header-project-quote-button:hover,
.header-right-items .header-project-quote-button:focus {
    text-decoration: none;
}

/* Küçük ekranlarda header sıkışmaması için gizle */
@media (max-width: 1199px) {
    .header-right-items .header-project-quote-button {
        display: none;
    }
}

/* Single product: Gereklilik maddeleri (Tüm Özellikleri Görüntüle altı) */
.single-product .glozin-product-requirements {
    margin: -4px 0 20px;
}

.single-product .glozin-product-requirements__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-product .glozin-product-requirements__item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gz-color-dark, #111111);
    font-size: 0.9375rem;
    line-height: 1.4;
}

.single-product .glozin-product-requirements__icon {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background-color: rgba(17, 41, 79, 0.08);
    color: var(--gz-color-primary, #11294F);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.single-product .glozin-product-requirements__icon svg {
    width: 30px;
    height: 30px;
}

.single-product .glozin-product-requirements__icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Single product: Breadcrumb kaldırıldıktan sonra üst boşluk */
.single-product div.product .product-gallery-summary {
    margin-top: 50px;
}

/* Tum page header alanlari: acik gri zemin + ust/alt esit padding */
.page-header {
    --gz-page-header-padding-top: clamp(44px, 5vw, 56px) !important;
    --gz-page-header-padding-bottom: clamp(44px, 5vw, 56px) !important;
    padding-top: var(--gz-page-header-padding-top) !important;
    padding-bottom: var(--gz-page-header-padding-bottom) !important;
    background-color: #f1f3f7;
    background-image: none !important;
    isolation: isolate;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/background-img-2.jpg') !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent !important;
    opacity: 0.1;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.page-header .page-header__content {
    position: relative;
    z-index: 1;
}

/* Baslikta mt-8 kalmasin: dikey denge bozulmasin */
.page-header .page-header__title.mt-8 {
    margin-top: 0 !important;
}

/* Sidebar: Canli Destek karti shortcode (tema ile uyumlu) */
.glozin-live-support-card {
    --live-support-accent: var(--gz-color-primary, #11294F);
    --live-support-accent-dark: #0d1f3c;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid rgba(17, 41, 79, 0.2);
    border-radius: 14px;
    background: linear-gradient(180deg, #f7f9fd 0%, #edf2fb 100%);
    box-shadow: 0 8px 24px rgba(17, 41, 79, 0.08);
}

.glozin-live-support-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.glozin-live-support-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(17, 41, 79, 0.25);
    color: var(--live-support-accent);
    background-color: rgba(17, 41, 79, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.glozin-live-support-card__icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.glozin-live-support-card__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.glozin-live-support-card__title {
    display: block;
    color: var(--gz-color-dark, #111111);
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.2;
}

.glozin-live-support-card__subtitle {
    display: block;
    margin-top: 2px;
    color: var(--gz-color-dark, #111111);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    word-break: break-word;
}

.glozin-live-support-card__button {
    --gz-button-color: #ffffff;
    --gz-button-color-hover: #ffffff;
    --gz-button-bg-color: var(--live-support-accent);
    --gz-button-border-color: var(--live-support-accent);
    --gz-button-bg-color-hover: var(--live-support-accent-dark);
    --gz-button-border-color-hover: var(--live-support-accent-dark);
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    text-decoration: none !important;
}

@media (max-width: 767px) {
    .glozin-live-support-card {
        padding: 12px;
    }

    .glozin-live-support-card__icon {
        width: 40px;
        height: 40px;
    }

    .glozin-live-support-card__icon svg {
        width: 16px;
        height: 16px;
    }
}


/* ============================================
   WooCommerce Checkout Login Form Fixes
   ============================================ */
.woocommerce-form-login {
    position: relative;
    z-index: 9999;
    pointer-events: auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.woocommerce-form-login p {
    margin-bottom: 20px;
}

.woocommerce-form-login .form-row {
    margin-bottom: 15px;
    display: block;
    clear: both;
}

.woocommerce-form-login .form-row-first,
.woocommerce-form-login .form-row-last {
    width: 100% !important;
    float: none !important;
}

.woocommerce-form-login input.input-text {
    pointer-events: auto;
    z-index: 9999;
    position: relative;
    background-color: #fff;
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0;
    height: auto !important;
    padding: 12px 16px !important;
}

.woocommerce-form-login label.woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    pointer-events: auto;
    z-index: 9999;
    width: 100% !important;
    margin-top: 10px !important;
    margin-bottom: 15px !important;
    font-weight: 500 !important;
}

.woocommerce-form-login label.woocommerce-form-login__rememberme input[type="checkbox"] {
    pointer-events: auto;
    margin: 0;
    width: 18px !important;
    height: 18px !important;
}

.woocommerce-form-login .button {
    width: 100% !important;
    border-radius: 50px !important;
    padding: 15px !important;
}

/* ============================================
   WooCommerce Edit Account Fixes
   ============================================ */

/* Form row container flex override */
.woocommerce-EditAccountForm .form-row {
    display: block !important;
    width: 100%;
    margin-bottom: 20px;
}

.woocommerce-EditAccountForm .form-row-first,
.woocommerce-EditAccountForm .form-row-last {
    width: 48%;
    float: left;
}

.woocommerce-EditAccountForm .form-row-last {
    float: right;
}

.woocommerce-EditAccountForm .form-row-wide {
    clear: both;
    width: 100%;
}

.woocommerce-EditAccountForm .form-row::after {
    content: "";
    display: table;
    clear: both;
}

/* Labels explicitly block */
.woocommerce-EditAccountForm .form-row label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600;
    font-size: 14px;
}

/* Input formatting */
.woocommerce-EditAccountForm .form-row input.input-text,
.woocommerce-EditAccountForm .form-row input.password {
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    height: auto !important;
    padding: 12px 16px !important;
}

/* Password wrap and description formatting */
.woocommerce-EditAccountForm .woocommerce-password-wrap {
    display: block !important;
    width: 100% !important;
}

.woocommerce-EditAccountForm .form-row span.description {
    display: block !important;
    margin-top: 8px !important;
    font-size: 13px !important;
    color: #64748b !important;
    font-style: italic !important;
    line-height: 1.5 !important;
}

/* Button formatting */
.woocommerce-EditAccountForm button[name="save_account_details"] {
    height: auto !important;
    min-height: 50px !important;
    padding: 15px 30px !important;
    line-height: 1.5 !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    max-height: none !important;
    display: inline-block !important;
}

/* Fieldset and legend formatting */
.woocommerce-EditAccountForm fieldset {
    border: 1px solid #e2e8f0;
    padding: 24px;
    border-radius: 12px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.woocommerce-EditAccountForm fieldset legend {
    font-weight: 600;
    font-size: 18px;
    padding: 0 10px;
}

@media (max-width: 768px) {

    .woocommerce-EditAccountForm .form-row-first,
    .woocommerce-EditAccountForm .form-row-last {
        width: 100%;
        float: none;
    }
}

.login-modal .woocommerce-button {
    width: 100%;
}

/* ============================================
Sipariş Notu Alanı   ============================================ */



.woocommerce-cart .cart_totals .cart_totals_summary .woocommerce-form-row {
    width: 100%;
}

/* ============================================
   WooCommerce Checkout Fixes
   ============================================ */

/* 1. Form row container flex override */
.woocommerce-checkout .form-row {
    display: block !important;
    width: 100%;
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 48%;
    float: left;
}

.woocommerce-checkout .form-row-last {
    float: right;
}

.woocommerce-checkout .form-row-wide {
    clear: both;
    width: 100%;
}

.woocommerce-checkout .form-row::after {
    content: "";
    display: table;
    clear: both;
}

/* 2. Labels explicitly block */
.woocommerce-checkout .form-row label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600;
    font-size: 14px;
}

/* 3. Input formatting */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0;
    height: auto !important;
    padding: 12px 16px !important;
}

.woocommerce-checkout .form-row textarea {
    min-height: 120px;
}

/* 4. Select2 dropdowns (Country, State) */
.woocommerce-checkout .select2-container {
    width: 100% !important;
}

.woocommerce-checkout .select2.select2-container .select2-selection--single {
    height: 46px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
}

.woocommerce-checkout .select2.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
    padding-right: 30px !important;
    line-height: normal !important;
    width: 100%;
}

.woocommerce-checkout .select2.select2-container .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    width: 30px !important;
    right: 5px !important;
    top: 0 !important;
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    mask: none !important;
    /* Remove parent theme SVG mask */
    background: transparent !important;
}

.woocommerce-checkout .select2.select2-container .select2-selection--single .select2-selection__arrow b {
    display: block !important;
    /* Override parent theme display: none */
    border-color: #888 transparent transparent transparent !important;
    border-style: solid !important;
    border-width: 6px 5px 0 5px !important;
    margin: 0 !important;
    position: static !important;
}

/* 5. Place Order Button */
#payment #place_order {
    height: auto !important;
    min-height: 50px !important;
    padding: 15px 30px !important;
    line-height: 1.5 !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    max-height: none !important;
    width: 100% !important;
    display: block !important;
}

/* ============================================
   Price Styles
   ============================================ */
.gz-price,
.price {
    color: #11294f !important;
    font-weight: 800 !important;
}

/* ============================================
   Button Global Styles -> Restricted to WooCommerce
   ============================================ */
.woocommerce-form-login .button,
.woocommerce-form-register .button,
.woocommerce-EditAccountForm .button,
#payment #place_order {
    background-color: #11294f !important;
    border: 1px solid #11294f !important;
    color: #fff !important;
}

.woocommerce-form-login .button:hover,
.woocommerce-form-register .button:hover,
.woocommerce-EditAccountForm .button:hover,
#payment #place_order:hover {
    background-color: #0d1f3c !important;
    border: 1px solid #0d1f3c !important;
}

/* ============================================
   WooCommerce Account General Form Fixes
   ============================================ */
.woocommerce-account .woocommerce-form .woocommerce-form-row .password-input {
    width: 100% !important;
}

/* ============================================
   WooCommerce Checkout Login Form Padding Reset
   ============================================ */
.woocommerce-checkout .checkout-form-cols .checkout-login .login {
    padding: 20px !important;
}

/* ============================================
   WooCommerce Single Product Specific Buttons
   ============================================ */
.single_add_to_cart_button {
    background-color: #11294f !important;
    border: 1px solid #11294f !important;
    color: #fff !important;
}

.single_add_to_cart_button:hover {
    background-color: #0d1f3c !important;
    border: 1px solid #0d1f3c !important;
    color: #fff !important;
}

.glozin-buy-now-button,
.gz-buy-now-button,
.buy_now_button,
button.buy_now,
#buy_now_button,
.woocommerce-buy-now,
.wcppec-checkout-buttons {
    display: none !important;
}

/* ============================================
   WooCommerce Placeholder Visibility Force
   ============================================ */
.woocommerce-form-login input::-webkit-input-placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.woocommerce-form-login input::-moz-placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.woocommerce-form-login input:-ms-input-placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.woocommerce-form-login input:-moz-placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}
/* Sidebar filtre (kategori/checkbox) okunabilirlik iyilestirme */
#filter-sidebar-panel .products-filter-widget .filter-name,
#filter-sidebar-panel .products-filter-widget .products-filter__filter-name {
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
}

#filter-sidebar-panel .products-filter-widget .products-filter--checkboxes .filter-checkboxes-item {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 8px;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    position: relative;
}

#filter-sidebar-panel .products-filter-widget .products-filter--checkboxes .filter-checkboxes-item:last-child {
    border-bottom: 0;
}

#filter-sidebar-panel .products-filter-widget .products-filter--checkboxes .products-filter__option-name {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding-inline-start: 30px;
    padding-inline-end: 8px;
    line-height: 1.35;
    font-size: 15px;
    color: #1f2937;
    word-break: normal;
    overflow-wrap: break-word;
}

#filter-sidebar-panel .products-filter-widget .products-filter--checkboxes .filter-checkboxes-item.has-children {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    row-gap: 8px;
    align-items: start !important;
}

#filter-sidebar-panel .products-filter-widget .products-filter--checkboxes .filter-checkboxes-item.has-children>.products-filter__option-name {
    grid-column: 1;
    width: auto;
    padding-inline-end: 0;
}

#filter-sidebar-panel .products-filter-widget .products-filter--checkboxes .products-filter__option-name::before {
    width: 18px;
    height: 18px;
    top: 1px;
    border: 1.5px solid #94a3b8;
    border-radius: 4px;
    background-color: #ffffff;
}

#filter-sidebar-panel .products-filter-widget .products-filter--checkboxes .selected > .products-filter__option-name {
    color: #0f172a;
    font-weight: 600;
}

#filter-sidebar-panel .products-filter-widget .products-filter--checkboxes .selected > .products-filter__option-name::before {
    border-color: #111827;
    background-color: #111827;
}

#filter-sidebar-panel .products-filter-widget .products-filter--checkboxes .selected > .products-filter__option-name::after {
    top: 6px;
    inset-inline-start: 5px;
}

#filter-sidebar-panel .products-filter-widget .products-filter--collapsible .products-filter__option-toggler {
    position: static;
    top: auto;
    right: auto;
    margin-left: auto;
    padding: 0 0 0 4px;
    flex: 0 0 auto;
    align-self: center;
    line-height: 1;
}

#filter-sidebar-panel .products-filter-widget .products-filter--checkboxes .filter-checkboxes-item.has-children>.products-filter__option-toggler {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
    padding-left: 2px;
    align-self: center;
}

#filter-sidebar-panel .products-filter-widget .products-filter__options .children {
    flex: 0 0 100%;
    width: 100%;
    margin-top: 8px;
    margin-left: 0;
    padding-left: 14px;
    border-left: 1px solid #cbd5e1;
}

#filter-sidebar-panel .products-filter-widget .products-filter--checkboxes .filter-checkboxes-item.has-children>ul.children {
    grid-column: 1 / -1;
    margin-top: 0;
}

/* ============================================
   Product Category SEO Bottom Content
   ============================================ */
.glozin-cat-seo-content {
    margin: 28px 0 14px;
    padding: 20px 22px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: #F1F3F7;
}

.glozin-cat-seo-content__inner {
    color: #1f2937;
    font-size: 15px;
    line-height: 1.8;
}

.glozin-cat-seo-content__inner>*:first-child {
    margin-top: 0;
}

.glozin-cat-seo-content__inner>*:last-child {
    margin-bottom: 0;
}

.glozin-cat-seo-content__inner h1,
.glozin-cat-seo-content__inner h2,
.glozin-cat-seo-content__inner h3,
.glozin-cat-seo-content__inner h4,
.glozin-cat-seo-content__inner h5,
.glozin-cat-seo-content__inner h6 {
    color: #0f172a;
    line-height: 1.35 !important;
    letter-spacing: 0;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.glozin-cat-seo-content__inner h1 {
    font-size: 1.4rem !important;
}

.glozin-cat-seo-content__inner h2 {
    font-size: 1.25rem !important;
}

.glozin-cat-seo-content__inner h3 {
    font-size: 1.12rem !important;
}

.glozin-cat-seo-content__inner h4 {
    font-size: 1rem !important;
}

.glozin-cat-seo-content__inner h5 {
    font-size: 0.94rem !important;
}

.glozin-cat-seo-content__inner h6 {
    font-size: 0.88rem !important;
}

.glozin-cat-seo-content__inner p,
.glozin-cat-seo-content__inner li {
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .glozin-cat-seo-content {
        margin: 22px 0 10px;
        padding: 16px;
    }

    .glozin-cat-seo-content__inner {
        font-size: 14px;
        line-height: 1.7;
    }

    .glozin-cat-seo-content__inner h1 {
        font-size: 1.25rem !important;
    }

    .glozin-cat-seo-content__inner h2 {
        font-size: 1.15rem !important;
    }

    .glozin-cat-seo-content__inner h3 {
        font-size: 1.05rem !important;
    }

    .glozin-cat-seo-content__inner h4 {
        font-size: 0.98rem !important;
    }
}

/* Search modal — popup'ta arama input alanını göster (icon-only header layout kullanıldığında) */
.search-type-popup.modal-to-form .modal__header {
    display: block !important;
}

.search-type-popup.modal-to-form .modal__wrapper {
    padding-top: 0;
}

/* Arama sonuçları sayfası — sonuç bulunamadı */
.m304-search-no-results {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
}

.m304-search-no-results h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.m304-search-no-results p {
    color: #666;
    margin-bottom: 25px;
}