/*
Theme Name: Gama Hidrolik
Theme URI: https://gamahidrolik.com
Author: Gama Hidrolik
Author URI: https://gamahidrolik.com
Description: Endüstriyel hidrolik ve hortum sistemleri için profesyonel WordPress teması. Yerli üretim gücü ve global iş ortaklıklarıyla sektörde öncü.
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gama-hidrolik
Tags: industrial, hydraulic, corporate, responsive, custom-menu, custom-logo, featured-images

Gama Hidrolik - Yerli İmalat ve Global Çözümler
*/

/* CSS dosyaları functions.php üzerinden yüklenir */
/* Mobile archive layout fix: show product list before sidebar */
@media (max-width: 1024px) {
    .products-archive-modern .archive-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .products-archive-modern .archive-main {
        order: 1 !important;
    }

    .products-archive-modern .archive-sidebar {
        order: 2 !important;
    }
}

@media (max-width: 768px) {
    .post-type-archive-gama_product .page-hero.page-hero-compact,
    .tax-product_category .page-hero.page-hero-compact {
        padding-top: 1.25rem !important;
        padding-bottom: 1.5rem !important;
    }

    .post-type-archive-gama_product .page-hero .breadcrumb,
    .tax-product_category .page-hero .breadcrumb {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 0.35rem !important;
        margin-bottom: 0.75rem !important;
    }

    .post-type-archive-gama_product .page-hero .breadcrumb i,
    .tax-product_category .page-hero .breadcrumb i,
    .post-type-archive-gama_product .page-hero .breadcrumb [aria-hidden="true"],
    .tax-product_category .page-hero .breadcrumb [aria-hidden="true"] {
        display: inline-block !important;
    }

    .post-type-archive-gama_product .page-hero .breadcrumb > *,
    .tax-product_category .page-hero .breadcrumb > * {
        width: auto !important;
    }

    .post-type-archive-gama_product .page-hero .breadcrumb > span:last-child,
    .tax-product_category .page-hero .breadcrumb > span:last-child {
        flex-basis: auto !important;
        margin-top: 0 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .post-type-archive-gama_product .page-hero .page-subtitle,
    .tax-product_category .page-hero .page-subtitle {
        font-size: 1rem !important;
        line-height: 1.45 !important;
    }

    .post-type-archive-gama_product .archive-topbar,
    .tax-product_category .archive-topbar {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 0.5rem !important;
        padding: 0.75rem 0.875rem !important;
    }

    .post-type-archive-gama_product .archive-topbar .results-info,
    .tax-product_category .archive-topbar .results-info {
        font-size: 0.9rem !important;
        white-space: nowrap !important;
    }

    .post-type-archive-gama_product .archive-topbar .sort-options,
    .tax-product_category .archive-topbar .sort-options {
        gap: 0.35rem !important;
        flex-shrink: 0;
    }

    .post-type-archive-gama_product .archive-topbar .sort-options label,
    .tax-product_category .archive-topbar .sort-options label {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }

    .post-type-archive-gama_product .archive-topbar .sort-options select,
    .tax-product_category .archive-topbar .sort-options select {
        font-size: 0.85rem !important;
        padding: 0.35rem 1.6rem 0.35rem 0.5rem !important;
        min-height: 32px;
    }
}

@media (max-width: 420px) {
    .post-type-archive-gama_product .archive-topbar .sort-options label,
    .tax-product_category .archive-topbar .sort-options label {
        display: none !important;
    }
}
