/**
 * Frontend Styles
 */

 .harke-product-search-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.harke-search-header {
    margin-bottom: 40px;
}

.harke-search-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a4480;
    margin-bottom: 20px;
}

.harke-search-bar {
    display: flex;
    margin-bottom: 20px;
    max-width: 100%;
}

.harke-search-input {
    flex: 1;
    padding: 12px 20px;
    border: 0px solid #ddd;
    border-radius: 0;
    font-size: 16px;
    outline: none;
}
.harke-search-input:focus {
    border-color: #1a4480;
}
.harke-search-input::placeholder {
    color: #003463;
    font-style: italic;
}
.harke-search-bar {
    position: relative;
}
.harke-search-button {
    background-color: transparent !important;
    border: 0 !important;
    padding: 0 0 !important;
    position: absolute;
    color: #000 !important;
    right: 20px;
    top: 16px;
}

.harke-search-button:hover {
    background: #153a6b;
}

.harke-sector-tabs {
    margin-top: 20px;
}

.harke-browse-text {
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    color:var( --e-global-color-primary );
    font-size: 20px;
}

.harke-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
	    border-bottom: 2px solid #003463;
}

.harke-tab {
    padding: 16px 20px !important;
    background-color: #ffffff !important;
    border: 0px solid #ddd;
    border-radius: 0 !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--e-global-color-primary) !important;
    box-shadow: none ! IMPORTANT;
    flex: 1;
    line-height: 1.2;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.harke-tab:hover {
    background: #e8e8e8;
}

.harke-tab.active {
    background-color:var(--e-global-color-primary) !important;
    color: white !important;
}

.harke-search-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 30px;
}

.harke-filters-sidebar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 0;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.harke-filters-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var( --e-global-color-primary );
}

.harke-filter-group {
    margin-bottom: 30px;
}

.harke-filter-group-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a4480;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.harke-filter-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.2s;
}

.harke-filter-toggle:hover {
    color: #0d2d5a;
}

.harke-filter-title-text {
    flex: 1;
}

.harke-filter-chevron {
    font-size: 16px;
    color: #1a4480;
    transition: transform 0.2s;
}

.harke-filter-content {
    margin-top: 10px;
}

.harke-filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.harke-filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0;
    border-radius: 0;
    transition: background 0.2s;
    background-color: transparent !important;
    margin-bottom: 0;
}

.harke-filter-checkbox:hover {
    background: #f0f0f0;
}

.harke-filter-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.harke-products-main {
    min-height: 500px;
}

.harke-products-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.harke-alphabet-nav {
        display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;;
}

.harke-alphabet-link {
    padding: 2px 5px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s;
}

.harke-alphabet-link:hover {
    background: #f0f0f0;
    color: #1a4480;
}

.harke-alphabet-link.active {
    background: #1a4480;
    color: white;
}

.harke-products-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.harke-product-item {
    display: flex;
    justify-content: space-between;
    padding: 0;
    background: white;
    border: 0px solid #e0e0e0;
    border-radius: 0;
    transition: all 0.3s;
}

.harke-product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #1a4480;
}

.harke-product-content {
    flex: 1;
	padding:20px;
}

.harke-product-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.harke-product-name a {
    color: #1a4480;
    text-decoration: none;
}

.harke-product-name a:hover {
    text-decoration: underline;
}

.harke-product-inci {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.harke-product-description {
    color: #777;
    line-height: 1.6;
    margin: 0;
}

.harke-product-arrow {
    margin-left: 0px;
}

.harke-product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;
    background: #1a4480;
    color: white;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.3s;
}

.harke-product-link:hover {
    background: #153a6b;
}

.harke-no-products {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 18px;
}

.harke-loading {
    text-align: center;
    padding: 40px;
    color: #1a4480;
    font-size: 18px;
}

.harke-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.harke-pagination a,
.harke-pagination span {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #555;
}

.harke-pagination a:hover {
    background: #1a4480;
    color: white;
    border-color: #1a4480;
}

.harke-pagination .current {
    background: #1a4480;
    color: white;
    border-color: #1a4480;
}

/* Product Detail Page */
.harke-product-detail-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.harke-product-detail-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.harke-back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #1a4480;
    text-decoration: none;
    font-weight: 500;
}

.harke-back-link:hover {
    text-decoration: underline;
}

.harke-product-detail-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a4480;
    margin-bottom: 30px;
}

.harke-product-detail-info {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.harke-product-detail-info p {
    margin: 10px 0;
    font-size: 16px;
}

.harke-product-detail-content {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.harke-product-applications {
    margin-bottom: 40px;
}

.harke-product-applications h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.harke-applications-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.harke-applications-list li {
    padding: 8px 16px;
    background: #1a4480;
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

.harke-product-certifications {
    margin-bottom: 40px;
}

.harke-product-certifications h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.harke-certifications-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.harke-certifications-list li {
    padding: 8px 16px;
    background: #1a4480;
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

.harke-product-enquiry-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.harke-product-enquiry-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.harke-form-row {
    margin-bottom: 20px;
}

.harke-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.harke-form-row input[type="text"],
.harke-form-row input[type="email"],
.harke-form-row input[type="tel"],
.harke-form-row textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

.harke-form-row input:focus,
.harke-form-row textarea:focus {
    outline: none;
    border-color: #1a4480;
}

.harke-form-row textarea {
    resize: vertical;
}

.harke-form-row input[type="checkbox"] {
    margin-right: 8px;
}

.harke-submit-button {
    padding: 14px 40px;
    background: #1a4480;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.harke-submit-button:hover {
    background: #153a6b;
}

.harke-product-key-attributes,
.harke-product-keywords,
.harke-product-brochure {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.harke-product-key-attributes h3,
.harke-product-keywords h3,
.harke-product-brochure h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.harke-product-key-attributes p,
.harke-product-keywords p,
.harke-product-brochure p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.harke-product-feature,
.harke-product-feature p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .harke-search-content {
        grid-template-columns: 1fr;
    }
    
    .harke-filters-sidebar {
        position: static;
    }
    
    .harke-product-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .harke-product-arrow {
        margin-left: 0;
        margin-top: 0;
        align-self: flex-end;
        width: 100%;
    }
	.harke-product-link {
		width: 100%;
		height: 45px;
	}
	.harke-tab {
		flex:auto;
	}
	.harke-alphabet-nav{margin-bottom:20px;}
}

/* Hide page title and breadcrumb on search results page */
/* These styles are applied via JavaScript when .harke-product-search-wrapper is present */
.harke-hide-title-breadcrumb .entry-title,
.harke-hide-title-breadcrumb .page-title,
.harke-hide-title-breadcrumb h1.entry-title,
.harke-hide-title-breadcrumb h1.page-title,
.harke-hide-title-breadcrumb .page-header h1,
.harke-hide-title-breadcrumb .entry-header h1,
.harke-hide-title-breadcrumb .post-title,
.harke-hide-title-breadcrumb .single-title,
.harke-hide-title-breadcrumb .archive-title,
.harke-hide-title-breadcrumb .breadcrumb,
.harke-hide-title-breadcrumb .breadcrumbs,
.harke-hide-title-breadcrumb nav.breadcrumb,
.harke-hide-title-breadcrumb .woocommerce-breadcrumb,
.harke-hide-title-breadcrumb .breadcrumb-trail,
.harke-hide-title-breadcrumb .yoast-breadcrumb {
	display: none !important;
}

