/*
 Theme Name:   Kadence Child
 Theme URI:    https://example.com/
 Description:  Child theme for the Kadence theme
 Author:       Your Name
 Author URI:   https://example.com/
 Template:     kadence
 Version:      1.0.0
 License:      General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  kadence-child
*/

/* Place custom CSS below */

/* Filter Labels */
.search-filter-base {
    margin-bottom: 16px;
}

.search-filter-label {
    font-weight: 600;
    color: #2c3040;
    margin-top: 0px;
    margin-bottom: 8px;
    display: block;
}

/* AKA sf-tall-container */
.sf-border {
    border: 1px solid #e1e4eb;
    border-radius: 8px;
    padding: 12px;
    background-color: #ffffff;
    height: 250px;
    margin: 6px;
    min-width: 160px;
    flex-grow: 1;
}

.sf-short-container {
    border: 1px solid #e1e4eb;
    border-radius: 8px;
    padding: 8px;
    background-color: #ffffff;
    margin: 6px;
    min-width: 300px;
    flex-grow: 1;
}

.sf-custom-checkbox {
    max-width: 600px;
    overflow-x: auto;
}


.sf-custom-checkbox > .search-filter-input-group {
    max-height: 200px;
    overflow-y: scroll;
    scrollbar-color: rgba(0,0,0,0.25) transparent;
    scrollbar-width: thin;
}

.sf-custom-control-reset {
    margin: 6px;
}

.sf-custom-radio {}

.sf-custom-range-number {}

.sf-custom-range-select {}

.sf-custom-range-slider {}

.sf-custom-control-sort {
    flex-direction: row;
    align-items: center;
}

.sf-custom-control-sort > .search-filter-label {
    max-width: 120px;
    margin: 6px;
}

.series-archive-content {
    background-color: white;
}

/* White Card Layout for Taxonomy Pages */
.taxonomy-white-card-wrapper {
    background-color: #f5f7fa; /* Light gray background like in the image */
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

.taxonomy-white-card {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

/* Series Hero Section */
.series-hero {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e4eb;
}

.series-hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3040;
    margin: 0 0 12px 0;
}

.series-desc {
    color: #5a5e6d;
    font-size: 16px;
    line-height: 1.6;
}

.series-desc p {
    margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .taxonomy-white-card-wrapper {
        padding: 20px 12px;
    }
    
    .taxonomy-white-card {
        padding: 24px 16px;
        border-radius: 8px;
    }
    
    .series-hero h1 {
        font-size: 24px;
    }
    
    .series-desc {
        font-size: 14px;
    }
}

.wpc-custom-selected-terms > ul {
    display: none;
}

/* Country Flag Icon Styles */
.flag {
  display: inline-block;
  vertical-align: middle;
  font-size: 24px;
  margin-right: 0.4rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); /* dark halo */
  border-radius: 2px;
}

/* Home Page Styles */
.is-style-hero-slider .kb-advanced-slide-inner-wrap {
    padding: 0 !important;
}

.is-style-hero-slider .kb-advanced-slide {
    height: 100%;
}

.is-style-hero-slider .kb-advanced-slide-inner-wrap {
    height: 100%;
}

.is-style-hero-slider .kb-row-layout-wrap {
    height: 100%;
}

/* Product Card Section Style */
.is-style-card-section .wp-block-kadence-column {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    padding: 16px;
    background: white;
}

.is-style-card-section .kt-inside-inner-col {
    display: flex;
}

.is-style-card-section .wp-block-kadence-advancedbtn {
    margin-top: auto;
}

/* Logo Ribbon Style */
.is-style-logo-ribbon {
    background: var(--global-palette8);
}

.is-style-logo-ribbon .kb-gal-image-radius {
    margin: 20px auto !important;
    padding: 4px;
    background: white;
}

/* Why QR Style */
.is-style-info-box-section .kt-blocks-info-box-link-wrap {
    background-color: var(--global-palette8) !important;
    border: none !important;
}

/* Manufacturer page styles */
.is-style-manufacturer-grid > .wp-block-kadence-column {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 16px;
    background: white;
}

.is-style-manufacturer-grid .kt-btn-inner-text {
    font-size: var(--wp--preset--font-size--small);
}

.is-style-manufacturer-product-categories .wp-block-kadence-singlebtn {
    border-radius: 10px;
    background: var(--global-palette6) !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.is-style-manufacturer-product-categories .kt-btn-inner-text {
    color: white !important;
}

.is-style-manufacturer-section > .kt-inside-inner-col {
    height: 100%;
    display: flex;
}

.is-style-manufacturer-section p {
    margin: 4px 0 !important;
    font-weight: 600;
}

.is-style-manufacturer-visit-partner {
    padding-top: 16px;
    margin-top: auto !important;
}

/* Contact Us Page Styles */
.is-style-contact-address-section > .kt-inside-inner-col {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    background: white;
    height: 100%;
}

.is-style-contact-address-section .kb-button {
    padding: 2px 6px !important;

}

/* Product Page Styles */
.is-style-product-specifications-section table {
    margin: 0;
}

.is-style-product-specifications-section p {
    margin: 4px 0;
}

.is-style-product-specifications-section .kb-table-data {
    padding: 4px 0 !important;
}

.is-style-product-specifications-section .kb-table-row .kb-table-data:first-child {
    text-align: left;
    max-width: 40px;
    color: var(--global-palette6)
}

.is-style-product-specifications-section .wp-block-kadence-column:first-child {
    padding: 16px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    height: 100%;
}

.is-style-product-specifications-section .wp-block-kadence-column:first-child .kt-inside-inner-col {
    height: 100%;
}

.is-style-product-specifications-section button {
    display: none;
}

/* Styles for specifications unique to product */
.is-style-unique-product-specifications-section {
    background: white;
}

.is-style-product-category-spacer {
    margin-bottom: 16px !important;
}

.is-style-component-specifications-spacer {
    margin-top: 32px !important;
}

.is-style-component-specifications-spacer .kt-divider {
    border-top: solid 1px #e5e7eb;
}

.is-style-request-for-quote-modal .kt-blocks-modal-link {
    width: 100%;
    background: var(--global-palette1) !important;
    border-color: var(--global-palette1) !important;
    color: var(--global-palette7) !important;
    min-height: 42px;
}

/* Styles for basic switch wizard */
.fluent_form_4 {
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 16px;
    background: white;
}

.fluent_form_4 .wp-block-kadence-rowlayout {
    min-height: 70vw;
}