/* Product Sidebar 414c8465 */

/* Wrapper - pushes into single product layout */
.ps-sidebar-414c8465 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 30px;
}

.ps-sidebar-inner-414c8465 {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Mobile Toggle */
.ps-mobile-toggle-414c8465 {
    display: none;
    width: 100%;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 18px;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    transition: background 0.2s ease;
}

.ps-mobile-toggle-414c8465:hover {
    background: #f3f4f6;
}

.ps-toggle-icon-414c8465 {
    transition: transform 0.3s ease;
    color: #6b7280;
}

.ps-mobile-toggle-414c8465[aria-expanded="true"] .ps-toggle-icon-414c8465 {
    transform: rotate(180deg);
}

/* Search */
.ps-search-wrap-414c8465 {
    margin-bottom: 24px;
    position: relative;
}

.ps-search-field-414c8465 {
    position: relative;
    display: flex;
    align-items: center;
}

.ps-search-icon-414c8465 {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    pointer-events: none;
    flex-shrink: 0;
}

.ps-search-input-414c8465 {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    font-size: 14px;
    color: #374151;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.ps-search-input-414c8465:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #ffffff;
}

.ps-search-input-414c8465::placeholder {
    color: #9ca3af;
}

/* Search Results Dropdown */
.ps-search-results-414c8465 {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.ps-search-results-414c8465.ps-active-414c8465 {
    display: block;
}

.ps-search-result-item-414c8465 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: #374151;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.ps-search-result-item-414c8465:last-child {
    border-bottom: none;
}

.ps-search-result-item-414c8465:hover {
    background: #f9fafb;
}

.ps-result-image-414c8465 {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f3f4f6;
}

.ps-result-info-414c8465 {
    flex: 1;
    min-width: 0;
}

.ps-result-title-414c8465 {
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ps-result-price-414c8465 {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.ps-search-no-results-414c8465 {
    padding: 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
}

.ps-search-loading-414c8465 {
    padding: 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
}

/* Categories */
.ps-categories-wrap-414c8465 {
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

.ps-categories-title-414c8465 {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 14px 0;
    padding: 0;
}

.ps-categories-list-414c8465 {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ps-category-item-414c8465 {
    margin: 0;
    padding: 0;
}

.ps-category-link-414c8465 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.ps-category-link-414c8465:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.ps-category-name-414c8465 {
    font-weight: 500;
}

.ps-category-count-414c8465 {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 24px;
    text-align: center;
}

.ps-category-link-414c8465:hover .ps-category-count-414c8465 {
    background: #e5e7eb;
    color: #374151;
}

/* Desktop: sidebar layout via WooCommerce hook */
@media (min-width: 1025px) {
    .ps-sidebar-inner-414c8465 {
        position: sticky;
        top: 100px;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .ps-sidebar-414c8465 {
        margin-top: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ps-mobile-toggle-414c8465 {
        display: flex;
    }

    .ps-sidebar-content-414c8465 {
        display: none;
        margin-top: 16px;
    }

    .ps-sidebar-content-414c8465.ps-expanded-414c8465 {
        display: block;
    }

    .ps-sidebar-inner-414c8465 {
        padding: 16px;
    }
}

/* Single product page layout override for desktop sidebar */
@media (min-width: 1025px) {
    body.single-product .ps-sidebar-414c8465 {
        float: right;
        width: 25%;
        margin-top: -400px;
        position: relative;
        z-index: 10;
    }

    body.single-product .woocommerce-tabs,
    body.single-product .related.products,
    body.single-product .upsells.products {
        width: 72%;
        clear: none;
    }
}
