/*
Theme Name: Kett Theme - Hello Elementor
Theme URI: https://www.kett.com
Template: hello-elementor
Author: Kett US
Author URI: https://www.kett.com
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.5.1767187584
Updated: 2025-12-31 08:26:24

*/

/* =========================================================
   1. GLOBAL B2B STYLING & SHOP FIXES 1/4/2026 - Claude jb
   ========================================================= */

/* Ensure Product Images are uniform on the Grid */
img.attachment-medium.size-medium,
.product-category img,
.woocommerce-loop-product__link img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover;
}

/* Shop Sidebar Width for Technical Specs */
@media (min-width: 992px) { 
    .sidebar.shop-sidebar.sidebar-fixed {
        min-width: 33% !important;
    }
}

/* Truncate long Product Descriptions in Grid to 2 lines */
ul.products.elementor-grid p.woocommerce-loop-category__desc {
    overflow: hidden;            
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* =========================================================
   2. HEADER & LOGO LOGIC (NEW FLEXBOX)
   ========================================================= */

/* Shrink Logo when Header becomes Sticky */
.elementor-sticky--effects .site-logo img {
    width: 80px !important;
    transition: all 0.3s ease-in-out;
}

.site-logo img {
    transition: all 0.3s ease-in-out;
}

/* Social Icon Hover State (Action Orange) */
a.social-icon i:hover {
    color: #FD7800; /* Action Orange */
}

/* =========================================================
   3. MOBILE ADD TO CART & CHECKOUT (Dec 2025 Fixes)
   ========================================================= */
@media only screen and (max-width: 768px) {
    
    /* Force Add to Cart container to stay visible on mobile */
    .woocommerce div.product form.cart {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
    }

    /* Set Quantity Box width to 35% on mobile */
    .woocommerce div.product form.cart .quantity {
        width: 35% !important;
        display: inline-block !important;
        float: left !important;
    }
    
    /* Expand Add to Cart Button to 100% width on mobile */
    .woocommerce div.product .single_add_to_cart_button {
        width: 100% !important;
        display: block !important;
        clear: both !important;
        margin-top: 10px !important;
        background-color: #24215a !important; /* Corporate Blue */
    }
}

/* Allow Checkout Button to wrap text for long payment labels */
#place_order {
    white-space: normal !important;
    height: auto !important;
    padding: 12px !important;
    line-height: 1.4 !important;
}

/* Hide PayPal "What is this?" link for cleaner UI */
.about_paypal, .payment_box.payment_method_paypal {
    display: none !important;
}

/* =========================================================
   4. KETT CUSTOM TABLE STYLES - 1/4/26 - Claude & JB
   ========================================================= */

/* Table Container */
.kett-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

/* Base Table Styling */
.kett-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

/* Table Header */
.kett-table thead th {
    background: linear-gradient(180deg, #f8f9fc 0%, #eef0f5 100%);
    color: #14185d; /* Kett Blue for text */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 3px solid #fd7800; /* Kett Orange accent */
}

/* Table Body Cells */
.kett-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #e8eaef;
    color: #333333;
    vertical-align: top;
}

/* Alternating Row Colors (Zebra Stripes) */
.kett-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.kett-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Row Hover Effect */
.kett-table tbody tr:hover {
    background-color: #fff8f0; /* Light orange tint on hover */
}

/* First Column Styling (Industry names) */
.kett-table tbody td:first-child {
    font-weight: 600 !important;
    color: #14185d !important; /* Kett Blue */
    white-space: nowrap;
}

/* Force Industry Column Color (Override for Tabs widget) */
.elementor-widget-tabs .kett-table tbody td:first-child,
.elementor-tab-content .kett-table tbody td:first-child {
    color: #14185d !important;
}

/* Remove bottom border on last row */
.kett-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive Table Design for Mobile */
@media screen and (max-width: 768px) {
    .kett-table {
        font-size: 14px;
    }
    
    .kett-table thead th,
    .kett-table tbody td {
        padding: 12px 14px;
    }
    
    .kett-table thead th {
        font-size: 12px;
    }
    
    .kett-table-wrapper {
        border: 1px solid #e8eaef;
        border-radius: 8px;
    }
}

@media screen and (max-width: 480px) {
    .kett-table thead th,
    .kett-table tbody td {
        padding: 10px 12px;
    }
}
/* =========================================================
   5. FEATURED PRODUCTS TAB STYLING - 1/4/26 - Claude & JB
   ========================================================= */

/* NEW FORMAT: Product wrapper with divider */
.kett-product {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e8eaef;
    overflow: hidden;
    clear: both;
}

.kett-product:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.kett-product img.alignleft {
    margin-top: 0;
}

/* OLD FORMAT: Divider using strong tags (for pages not yet updated) */
.elementor-tab-content strong {
    display: block;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e8eaef;
}

.elementor-tab-content p:first-of-type strong {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Prevent double dividers on updated pages */
.kett-product strong {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
/* Flexbox layout for Featured Products */
.kett-product {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e8eaef;
}

.kett-product:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.kett-product-image {
    flex-shrink: 0;
}

.kett-product-content {
    flex: 1;
}
/* Standardize Featured Product image display size */
.kett-product img.alignleft,
.kett-product-image img {
    max-width: 220px;
    height: auto;
}
/* =========================================================
   6. EMQA Styling 1/18/26 - Claude & JB
   ========================================================= */

/* Category dropdown width fix */
#emqa-filter-by-category {
    min-width: 320px !important;
    width: auto !important;
}

div.filter-by-category.select {
    min-width: 320px !important;
}

#emqa-filter-by-category li,
#emqa-filter-by-category li a {
    white-space: nowrap !important;
}

/* Submit button - Kett Orange */
input.emqa-btn.emqa-btn-primary,
.emqa-btn-primary {
    background-color: #fd7800 !important;
    border-color: #fd7800 !important;
    color: #fff !important;
}

input.emqa-btn.emqa-btn-primary:hover,
.emqa-btn-primary:hover {
    background-color: #e56a00 !important;
    border-color: #e56a00 !important;
}

/* Form field borders - consistent styling */
.emqa-form input[type="text"],
.emqa-form textarea,
.emqa-form select {
    border: 1px solid #ccc !important;
    border-radius: 4px;
}

/* Focus state - Kett Blue */
.emqa-form input[type="text"]:focus,
.emqa-form textarea:focus,
.emqa-form select:focus {
    border-color: #14185d !important;
    outline: none;
}
/* Hide Tag field on question submission form */
.emqa-question-tag {
    display: none !important;
}